Attached is a patch to sysvinit (from which the initscripts binary
package is generated) which appears to fix the immediate problem.

The patch waits for up to 5 seconds for init (upstart) to re-exec. If
after this time init has not re-execed, we continue to unmount as
before. (In testing, init re-spawns in under 1 second).

Tested on lucid, maverick and natty in combination with upstart package
built from lp:~clint-fewbar/ubuntu/natty/upstart/restore-re-exec-code.
This patch also requires the updated eglibc (which creates
/var/run/init.upgraded rather than calling "telinit u"), however for
testing the patches, simply running "sudo touch /var/run/init.upgraded"
will trigger the new code.

As noted by Clint, you may still observe problems if you have certain
other services running (such as sshd; see bug #531912).


** Patch added: 
"lucid-sysvinit_2.87dsf-4ubuntu17_to_sysvinit_2.87dsf-4ubuntu18.diff"
   
https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/672177/+attachment/1824633/+files/lucid-sysvinit_2.87dsf-4ubuntu17_to_sysvinit_2.87dsf-4ubuntu18.diff

** Changed in: sysvinit (Ubuntu Lucid)
     Assignee: (unassigned) => James Hunt (jamesodhunt)

** Changed in: sysvinit (Ubuntu Lucid)
       Status: New => In Progress

** Changed in: sysvinit (Ubuntu Natty)
       Status: New => In Progress

** Changed in: sysvinit (Ubuntu Natty)
     Assignee: (unassigned) => James Hunt (jamesodhunt)

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is a direct subscriber.
https://bugs.launchpad.net/bugs/672177

Title:
  libc6 upgrade causes umount to fail on shutdown because init cannot be
  restarted

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to