Description of problem: If you enter 'ctrl-alt-delete' just before udev starts, you get lots of AVCs, lots of red FAILED, some green SUCCEED messages, and a hang. If you wait for the file systems to be mounted, appears to work as expected. Version-Release number of selected component (if applicable): upstart-0.3.9-5.fc9.i386 How reproducible: Every time Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
*** Bug 435831 has been marked as a duplicate of this bug. ***
OK, so what's happening here: - control-alt-del is handled - it calls shutdown - shutdown switches it to runlevel 6 - as part of that, rcS is killed - as a result of rcS being stopped, rc-default is *started* - this switches to runlevel 3/5, cancelling the prior shutdown - weirdness then happens
Makes sense. We could solve with a lockfile.
Actually, we can't. Root is read-only at the time when we'd have to create the lock.
I think the simplest way to solve this may be to move rc-default into rcS (much like it's in rcS-sulogin)
Created attachment 297806 [details] patch This patch moves the body of rc-default into rcS.
Not in this patch, but the default (in this and rcS-sulogin) should probably be '3', not '2'.
Fixed in event-compat-sysv-0.3.9-10