[Merge] lp:~clint-fewbar/ubuntu/natty/upstart/restore-re-exec-code into lp:ubuntu/upstart

Clint Byrum clint at fewbar.com
Wed Jan 19 19:48:58 UTC 2011


FYI, this is insufficient to stop root FS corruption.

I tested this on lucid, and occasionally it still fails the remount of /

This is because the SIGTERM signal is sent by telinit u, but then we don't wait for upstart to re-exec itself before moving on to the umount. This fails about 50% of the time on lucid.

The simple, but incomplete, solution is to add a sleep 1 after telinit u. The more appropriate solution is to have telinit ptrace 1 with PTRACE_O_TRACEEXEC.
-- 
https://code.launchpad.net/~clint-fewbar/ubuntu/natty/upstart/restore-re-exec-code/+merge/45295
Your team Ubuntu Sponsors Team is requested to review the proposed merge of lp:~clint-fewbar/ubuntu/natty/upstart/restore-re-exec-code into lp:ubuntu/upstart.




More information about the Ubuntu-sponsors mailing list