Bug 27671 - Beim Konfigurieren von Netzwerk-Geräten wird das Device mehrfach gestartet
Beim Konfigurieren von Netzwerk-Geräten wird das Device mehrfach gestartet
Status: RESOLVED WORKSFORME
Product: UCS
Classification: Unclassified
Component: Network
UCS 3.2
Other Linux
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-20 09:42 CEST by Felix Botner
Modified: 2018-04-14 13:52 CEST (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 3: Simply Wrong: The implementation doesn't match the docu
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 1: Nuisance – not a big deal but noticeable
User Pain: 0.017
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2012-06-20 09:42:47 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
Comment 1 Felix Botner univentionstaff 2012-06-20 09:43:21 CEST
Die Geräte werden über /etc/univention/templates/modules/interfaces.py gestartet.
Comment 2 Philipp Hahn univentionstaff 2017-04-21 14:29:36 CEST
The interface handling was reworked with Bug #28670: Interfaces are stopped/stared once only.