Red Hat Bugzilla – Bug 441339
Runlevel 1 -> 3 fails to kill bash
Last modified: 2014-06-18 04:46:18 EDT
upstart-0.3.9-15.fc9.x86_64 1) Boot into runlevel 1 (Use single or 1 in your grub command line) 2) init 3 3) You see a login screen, but typing is screwed up because both the previous shell and mingetty are running and fighting for stdin/stdout.
How is the sulogin shell run?
/etc/rc.d/rc1.d/S99single: #!/bin/bash # # # rc.single This file is executed by init when it goes into runlevel # 1, which is the administrative state. It kills all # deamons and then puts the system into single user mode. # Note that the file systems are kept mounted. # # Author: Miquel van Smoorenburg, <miquels@drinkel.nl.mugnet.org> # Modified for RHS Linux by Damien Neil # . /etc/init.d/functions if [ "$1" != "start" ]; then exit 0 fi # this looks nicer [ -x /usr/bin/clear ] && /usr/bin/clear # Now go to the single user level. echo $"Telling INIT to go to single user mode." exec init -t1 S
Please try: http://git.fedorahosted.org/git/?p=initscripts.git;a=commit;h=d61552366c960cae6f5a52d493185ec8d8e716cd
Changing version to '9' as part of upcoming Fedora 9 GA. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
I can't reproduce this in released F9. Just did this exact thing for another bug.