Univention Bugzilla – Bug 41600
Fix network connection loss during liveboot
Last modified: 2016-11-09 10:35:33 CET
With bug 41599 fixed the dhcp lease is released at the end of the initramfs script. Liveboot then fails, as the nfs mount of the UCC image is not available any more. We have to define another networking behavior for the liveboot.
modified ucc initramfs script: * do not kill dhcp during live boot -> Network Manager is not able to manage the network for eth0 during live boot, this is actually a good thing, because any action on the default network connection ("reload", disable) breaks the nfs mount (and therefor the live system) * added a link from /etc/resolv.conf to /run/resolvconf/resolv.conf for the live system (/run/resolvconf/resolv.conf is created by the dhclient programm and contains proper dns settings), we need this because without Network Manager we don't have dnsmasq and therefor can't use our default resolv.conf * also added special reboot/shutdown services for the live boot, the default reboot/shutdown order failed to proper reboot the system (i guess the default killed the network (the nfs mount) too early), now reboot/shutdown just reboots the host without contacting the init system * also disabled the appamor profile /etc/apparmor.d/lightdm-guest-session (in order to enable the lightdm guest session)
OK: Liveboot with thin- and desktop-image OK: networking works OK: shutdown Verified
UCC 3.0 has been released. If this bug occurs again, please clone this bug.