Ok, I have confirmed what is happening here.

 - runlevel = 2, prevlevel=N
 - Control-Alt-Delete is pressed
 - ctrlaltdel event is emitted
 - control-alt-delete job is started
 - runs shutdown -r now
 - init receives SHUTDOWN request with "reboot" event
 - shutdown event is emitted
 - tty jobs are stopped
 - no jobs running, system is idle
 - reboot event is emitted
 - rc6 job is started
 - runlevel = 6, prevlevel=2
 - runs /etc/init.d/rc 6
 - begins iterating scripts

 - Control-Alt-Delete is pressed again
 - ctrlaltdel event is emitted
 - control-alt-delete job is started
 - runs shutdown -r now
 - init receives SHUTDOWN request with "reboot" event
 - shutdown event is emitted
 - running rc6 job is stopped
 - no jobs running, system is idle
 - reboot event is emitted
 - rc6 job is started
 - runlevel = 6, prevlevel = 6
 - runs /etc/init.d/rc 6
 - doesn't run K scripts because there was a K script in the "previous 
runlevel" and no S script
 - doesn't run S scripts because there was an S script in the "previous 
runlevel" and no K script in this
 - rc6 job exits normally

 - no jobs running, system has stalled
 - stalled event is emitted
 - sulogin job is started
 - runs /sbin/sulogin

-- 
Ctl+Alt+Del twice at tty console login gives root access
https://launchpad.net/bugs/63852

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to