Red Hat Bugzilla – Bug 441339
Runlevel 1 -> 3 fails to kill bash
Last modified: 2014-06-18 04:46:18 EDT
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?
# 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, <email@example.com>
# Modified for RHS Linux by Damien Neil
if [ "$1" != "start" ]; then
# 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
Changing version to '9' as part of upcoming Fedora 9 GA.
More information and reason for this action is here:
I can't reproduce this in released F9. Just did this exact thing for another bug.