Bug 41600 - Fix network connection loss during liveboot
Fix network connection loss during liveboot
Status: CLOSED FIXED
Product: Z_Univention Corporate Client (UCC)
Classification: Unclassified
Component: Client management
UCC 3.0
Other Linux
: P5 normal
: UCC 3.0
Assigned To: Felix Botner
Erik Damrose
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-06-17 12:06 CEST by Erik Damrose
Modified: 2016-11-09 10:35 CET (History)
1 user (show)

See Also:
What kind of report is it?: Bug Report
What type of bug is this?: 4: Minor Usability: Impairs usability in secondary scenarios
Who will be affected by this bug?: 1: Will affect a very few installed domains
How will those affected feel about the bug?: 2: A Pain – users won’t like this once they notice it
User Pain: 0.046
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 Erik Damrose univentionstaff 2016-06-17 12:06:22 CEST
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.
Comment 1 Felix Botner univentionstaff 2016-08-01 09:49:45 CEST
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)
Comment 2 Erik Damrose univentionstaff 2016-08-08 12:55:09 CEST
OK: Liveboot with thin- and desktop-image
OK: networking works
OK: shutdown
Verified
Comment 3 Erik Damrose univentionstaff 2016-08-16 17:13:05 CEST
UCC 3.0 has been released. If this bug occurs again, please clone this bug.