Univention Bugzilla – Bug 27671
Beim Konfigurieren von Netzwerk-Geräten wird das Device mehrfach gestartet
Last modified: 2018-04-14 13:52:57 CEST
-> ucr set interfaces/eth0_1/address="10.200.7.80" \ interfaces/eth0_1/broadcast="10.200.7.255" \ interfaces/eth0_1/netmask="255.255.255.0" \ interfaces/eth0_1/network="10.200.7.0" Create interfaces/eth0_1/address Create interfaces/eth0_1/broadcast Create interfaces/eth0_1/netmask Create interfaces/eth0_1/network File: /etc/network/interfaces File: /etc/dhcp/dhclient.conf Restarting NSCD:. -> ifup: interface eth0:1 already configured -> ifup: interface eth0:1 already configured -> ifup: interface eth0:1 already configured Multifile: /etc/hosts Hier nochmal mit debug (anscheinend wird das Device für jede UCR Konfiguration, also address, broadcast etc. einmal gestartet) -> ucr set interfaces/eth0_2/address="10.200.7.81" interfaces/eth0_2/broadcast="10.200.7.255" interfaces/eth0_2/netmask="255.255.255.0" interfaces/eth0_2/network="10.200.7.0" Setting interfaces/eth0_2/address Setting interfaces/eth0_2/broadcast Setting interfaces/eth0_2/netmask Setting interfaces/eth0_2/network File: /etc/network/interfaces {'interfaces/eth0_2/network': ('10.200.7.0', '10.200.7.0'), 'interfaces/eth0_2/netmask': ('255.255.255.0', '255.255.255.0'), 'interfaces/eth0_2/broadcast': ('10.200.7.255', '10.200.7.255'), 'interfaces/eth0_2/address': ('10.200.7.81', '10.200.7.81')} interfaces/eth0_2/network ifup eth0:2 interfaces/eth0_2/netmask ifup eth0:2 interfaces/eth0_2/broadcast ifup eth0:2 interfaces/eth0_2/address ifup eth0:2 Multifile: /etc/hosts File: /etc/apache2/mods-available/ssl.conf File: /etc/default/ifplugd Multifile: /etc/postfix/master.cf File: /etc/issue
Die Geräte werden über /etc/univention/templates/modules/interfaces.py gestartet.
The interface handling was reworked with Bug #28670: Interfaces are stopped/stared once only.