Bug 57067 - single user mode does not stop all the processes that it should
Summary: single user mode does not stop all the processes that it should
Keywords:
Status: CLOSED DUPLICATE of bug 54741
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: SysVinit
Version: 7.2
Hardware: i386
OS: Linux
medium
high
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-12-04 04:30 UTC by Need Real Name
Modified: 2014-03-17 02:24 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-12-07 15:44:41 UTC
Embargoed:


Attachments (Terms of Use)
This patch fixes the problem of the parent shell not being killed (cut from halt) should be applied to /etc/init.d/single (548 bytes, patch)
2001-12-07 05:31 UTC, Need Real Name
no flags Details | Diff

Description Need Real Name 2001-12-04 04:30:23 UTC
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):


How reproducible:
Always

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.

Additional info:

Comment 1 Need Real Name 2001-12-07 05:31:40 UTC
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

Comment 2 Need Real Name 2001-12-07 15:44:36 UTC
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.

Comment 3 Bill Nottingham 2001-12-13 17:32:46 UTC
This should be fixed with the 2.11f-17 util-linux errata.

*** This bug has been marked as a duplicate of 54741 ***


Note You need to log in before you can comment on or make changes to this bug.