[Bug 399954] Re: Karmic Boot hangs at "Configuring network interfaces"

2009-07-16 Thread Launchpad Bug Tracker
This bug was fixed in the package sysvinit - 2.86.ds1-61ubuntu14 --- sysvinit (2.86.ds1-61ubuntu14) karmic; urgency=low * debian/initscripts/etc/init.d/mountkernfs.sh: mount securityfs if it is available. This allows for easier AppArmor confinement of applications started ea

[Bug 399954] Re: Karmic Boot hangs at "Configuring network interfaces"

2009-07-16 Thread Jamie Strandboge
Adding sysvinit task as mountkernfs.sh needs to also be updated. ** Also affects: sysvinit (Ubuntu) Importance: Undecided Status: New ** Changed in: sysvinit (Ubuntu) Importance: Undecided => Medium ** Changed in: sysvinit (Ubuntu) Status: New => In Progress ** Changed in: s

[Bug 399954] Re: Karmic Boot hangs at "Configuring network interfaces"

2009-07-16 Thread Launchpad Bug Tracker
This bug was fixed in the package dhcp3 - 3.1.2-1ubuntu3 --- dhcp3 (3.1.2-1ubuntu3) karmic; urgency=low * simplify ifupdown logic since we will mount securityfs in mountkern.sh instead of trying to wait around for it here. Thanks to Scott James Remnant for analysis (LP: #399

[Bug 399954] Re: Karmic Boot hangs at "Configuring network interfaces"

2009-07-16 Thread Jamie Strandboge
Per Scott, this worked in Jaunty due to bugs in upstart that no longer exist in Karmic. The proper solution is to mount securityfs in mountkern.sh, which then allows the dhclient ifupdown script to be greatly simplified. ** Changed in: dhcp3 (Ubuntu) Status: Triaged => In Progress -- Karm

[Bug 399954] Re: Karmic Boot hangs at "Configuring network interfaces"

2009-07-16 Thread Jamie Strandboge
> Firstly we call "ifup" from udev for most standard network devices, and this happens very early in the boot sequence. At this point the /var/run/utmp file doesn't exist, so runlevel will output that error and exit because it can't find the file. Yes, and it is because of udev calling dhclient th

[Bug 399954] Re: Karmic Boot hangs at "Configuring network interfaces"

2009-07-16 Thread Jamie Strandboge
** Changed in: dhcp3 (Ubuntu) Assignee: (unassigned) => Jamie Strandboge (jdstrand) -- Karmic Boot hangs at "Configuring network interfaces" https://bugs.launchpad.net/bugs/399954 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dhcp3

[Bug 399954] Re: Karmic Boot hangs at "Configuring network interfaces"

2009-07-16 Thread Scott James Remnant
And from an Upstream POV, there's an even more brittle case. Ubuntu happens to have /var/run on a tmpfs, so /var/run/utmp either doesn't exist, is empty, or contains a runlevel (after rcS.d has finished). But that's fairly unique to Ubuntu; other distros like Debian and Fedora probably don't do t

[Bug 399954] Re: Karmic Boot hangs at "Configuring network interfaces"

2009-07-16 Thread Scott James Remnant
Thanks Tim. The bug is in the dhcp3-client script, specifically this bit: # Wait for apparmor to load while [ ! -e "$AAPROFILES" ]; do # If apparmor is not loaded by the time we leave rcS, we go into S from # another runlevel, or are in a non-S runlevel, just exit runlevel | grep -E -