Red Hat Bugzilla – Bug 57067
single user mode does not stop all the processes that it should
Last modified: 2014-03-16 22:24:36 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5) Gecko/20011014
Description of problem:
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Login as root
2. Run the command "init 1"
Actual Results: Several processes that should have been killed were not.
Examples are lpd, smbd, nmbd. The processes that are not killed seems to
vary however, every time two shells seem to be running attached to the same
tty. When entering commands the first character of the command seems to be
passed to one shell and the remainder to the other shell.
Expected Results: All K* scripts in /etc/rc.d/rc1.d should have been run
and all coresponding processes should have been stopped. The user should
be dropped to a shell prompt. Only one shell should be running.
Created attachment 40007 [details]
This patch fixes the problem of the parent shell not being killed (cut from halt) should be applied to /etc/init.d/single
This problem only appears after applying the latest errata for 7.2.
I was wrong about services not being stopped - The only problem is that a shell
is left running and is attached to the same tty as the single user shell. Some
characters go to one shell and some go to the other.
This should be fixed with the 2.11f-17 util-linux errata.
*** This bug has been marked as a duplicate of 54741 ***