Bug 30608

Summary: DHCP for eth0 can't be disabled
Product: UCS Reporter: Ingo Steuwer <steuwer>
Component: UMC - Basic settingsAssignee: Florian Best <best>
Status: CLOSED DUPLICATE QA Contact: Alexander Kläser <klaeser>
Severity: minor    
Priority: P4 CC: gohmann, klaeser
Version: UCS 3.1   
Target Milestone: UCS 3.1-1   
Hardware: Other   
OS: Linux   
What kind of report is it?: --- What type of bug is this?: ---
Who will be affected by this bug?: --- How will those affected feel about the bug?: ---
User Pain: 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:

Description Ingo Steuwer univentionstaff 2013-02-27 21:20:46 CET
UCS 3.1 errata57

The only network interface eth0 is configured to use DHCP. If I disable that in the drop down, a warning is shown. But if I try to safe the settings, UMC tells me that nothing has changed.
Comment 1 Alexander Kläser univentionstaff 2013-03-04 12:17:02 CET
I could also reproduce it. The other way round (static → DHCP) was detected correctly.
Comment 2 Alexander Kläser univentionstaff 2013-03-11 15:50:17 CET
Should be fixed together with Bug 28389.

*** This bug has been marked as a duplicate of bug 28389 ***
Comment 3 Alexander Kläser univentionstaff 2013-03-18 17:43:49 CET
It works correctly now in version 6.0.76-8. Nevertheless, the script for changing the IPv4 network properties took 3min:

=== net/10interfaces (2013-03-18 12:34:55) ===
__NAME__:net/10interfaces Einrichten der IPv4-Netzwerkgeräte
Stopping NTP server: ntpd.
Restarting NSCD:.
Restarting bind9 daemon: .
done.
Stopping univention-s4-connector daemon.
done.
Starting univention-s4-connector daemon.
done.
File: /etc/resolv.conf
Restarting univention-directory-notifier daemon: .
ok: run: univention-directory-notifier: (pid 12897) 0s, normally down
done.
Restarting univention-directory-listener daemon.
ok: run: univention-directory-listener: (pid 12910) 0s, normally down
done.
Restarting univention-directory-listener daemon.
timeout: finish: univention-directory-listener: (pid 12924) 7s, normally down
done.
Restarting univention-directory-notifier daemon: .
ok: run: univention-directory-notifier: (pid 12953) 0s, normally down
done.
Stopping univention-s4-connector daemon.
done.
Starting univention-s4-connector daemon.
done.
File: /etc/dhcp/dhclient.conf
File: /etc/resolv.conf
Restarting bind9 daemon: .
done.
File: /etc/resolv.conf
File: /etc/resolv.conf
Starting NTP server: ntpd.
Restarting NSCD:.
Restarting bind9 daemon: .
done.
Setting interfaces/eth0/fallback/address
Multifile: /etc/network/interfaces
Multifile: /etc/hosts
File: /etc/default/ifplugd
File: /etc/motd.setup
File: /etc/dhcp/dhclient.conf
Setting nameserver1
File: /etc/resolv.conf
Create pgsql/pkgdb/network
Setting pgsql/pkgdb/network
Network Interface Plugging Daemon...stop eth0...done.
Stopping NTP server: ntpd.
Restarting NSCD:.
Restarting bind9 daemon: .
done.
Stopping univention-s4-connector daemon.
done.
Starting univention-s4-connector daemon.
done.
File: /etc/resolv.conf
Restarting univention-directory-notifier daemon: .
ok: run: univention-directory-notifier: (pid 13602) 0s, normally down
done.
Restarting univention-directory-listener daemon.
ok: run: univention-directory-listener: (pid 13619) 0s, normally down
done.
Restarting univention-directory-listener daemon.
ok: run: univention-directory-listener: (pid 13691) 0s, normally down
done.
Restarting univention-directory-notifier daemon: .
ok: run: univention-directory-notifier: (pid 13714) 0s, normally down
done.
Stopping univention-s4-connector daemon.
done.
Starting univention-s4-connector daemon.
done.
File: /etc/dhcp/dhclient.conf
Starting NTP server: ntpd.
Restarting NSCD:.
Restarting bind9 daemon: .
done.
Unsetting interfaces/eth0/type
Unsetting interfaces/eth0/fallback/address
Unsetting interfaces/eth0/fallback/netmask
Unsetting interfaces/eth0/fallback/network
Unsetting interfaces/eth0/fallback/broadcast
Multifile: /etc/network/interfaces
Multifile: /etc/hosts
File: /etc/default/ifplugd
File: /etc/motd.setup
File: /etc/dhcp/dhclient.conf
Stopping NTP server: ntpd.
Restarting NSCD:.
Restarting bind9 daemon: .
done.
Stopping univention-s4-connector daemon.master.jazznjam.foo.qa [172.16.224.128] 6670 (?) : Connection timed out
ifup: interface eth0 already configured
/usr/sbin/apache2ctl: 173: /usr/sbin/apache2: Permission denied
/usr/sbin/apache2ctl: 173: /usr/sbin/apache2: Permission denied
W: The config registry variable 'proxy/http' does not exist

done.
Starting univention-s4-connector daemon.
done.
Restarting univention-directory-notifier daemon: .
ok: run: univention-directory-notifier: (pid 14197) 0s, normally down
done.
Restarting univention-directory-listener daemon.
ok: run: univention-directory-listener: (pid 14219) 0s, normally down
done.
Restarting univention-directory-listener daemon.
ok: run: univention-directory-listener: (pid 14236) 0s, normally down
done.
Restarting univention-directory-notifier daemon: .
ok: run: univention-directory-notifier: (pid 14253) 0s, normally down
done.
Stopping univention-s4-connector daemon.
done.
Starting univention-s4-connector daemon.
done.
File: /etc/dhcp/dhclient.conf
Starting NTP server: ntpd.
Restarting NSCD:.
Restarting bind9 daemon: .
done.
Setting interfaces/eth0/address
Setting interfaces/eth0/broadcast
Setting interfaces/eth0/network
Multifile: /etc/network/interfaces
Multifile: /etc/hosts
File: /etc/default/ifplugd
File: /etc/motd.setup
File: /etc/dhcp/dhclient.conf
File: /etc/resolv.conf
Action 'stop' failed.
The Apache error log may have more information.
Action 'start' failed.
The Apache error log may have more information.
Starting NSCD: (already running).
Stopping bind9 daemon: .
done.
Stopping bind9 daemon: .
done.
Stopping univention-dhcp daemon.
done.
Stopping Heimdal KDC: heimdal-kdc.
Stopping univention-directory-listener daemon.
done.
Stopping Samba 4 daemon: samba.
Starting bind9 daemon:.
done.
Starting bind9 daemon:.
done.
Starting univention-dhcp daemon.
done.
kdc-kpasswdd disabled by ucr var kerberos/autostart=no
Starting univention-directory-listener daemon.
done.
Starting Samba 4 daemon: samba.
Restarting bind9 daemon: .
done.
=== net/11ipv6interfaces (2013-03-18 12:37:59) ===
__NAME__:net/11ipv6interfaces Einrichten der IPv6-Netzwerkgeräte
Comment 4 Stefan Gohmann univentionstaff 2013-03-25 19:57:06 CET
UCS 3.1-1 has been released: 
 http://download.univention.de/doc/release-notes-3.1-1_en.pdf
 http://download.univention.de/doc/release-notes-3.1-1.pdf

If this error occurs again, please use "Clone This Bug".