Bug 52271 - Command "init 1" brings strange shell.
Command "init 1" brings strange shell.
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2001-08-22 05:09 EDT by Shinya Narahara
Modified: 2014-03-16 22:22 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-08-22 20:13:14 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Shinya Narahara 2001-08-22 05:09:37 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.75 [ja] (WinNT; U)

Description of problem:
The command "init 1" meens to be single user mode, but on
RH7.2beta, this causes a strange key input.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.install RH7.2beta.
2.login as root.
3.init 1

Actual Results:  sh-2.05# ps
sh: s: command not found

Expected Results:  sh-2.05# ps
  PID TTY             TIME CMD
 6426 pts/0       00:00:00 su
 6428 pts/0       00:00:00 bash
 6474 pts/0       00:00:00 sh
 6475 pts/0       00:00:00 ps

Additional info:

If you input "exit" immediately after "init 1", you can input any command normaly.
I guess this is caused by multiple shell on runlevel 1.
But runlevel 1 is very useful and needed for many administrator, hence this
SHOULD be fixed.
Comment 1 Bill Nottingham 2001-08-22 15:12:10 EDT
What version of util-linux do you have installed?
Comment 2 Shinya Narahara 2001-08-22 20:13:10 EDT
util-linux is 2.11f-5.
SysVinit is 2.78-18.
initscripts is 6.10-1.
Comment 3 Bill Nottingham 2001-08-22 22:28:49 EDT
This is fixed in util-linux-2.11f-8.

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