Bug 694686 - Boot single-user sets the TTY variables incorrectly
Summary: Boot single-user sets the TTY variables incorrectly
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sysvinit
Version: 6.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Petr Lautrbach
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-08 01:50 UTC by Misty Stanley-Jones
Modified: 2014-06-18 07:03 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-28 22:14:32 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Misty Stanley-Jones 2011-04-08 01:50:31 UTC
Description of problem:
If I boot into single-user mode from Grub, I am unable to do things like run the "passwd" command. A strace reveals "Inappropriate ioctl for this device" messages.

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

How reproducible:
Always

Steps to Reproduce:
1. At GRUB menu, press spacebar
2. Press a to get to "append" mode
3. Enter a space, then "single" at the end of the line, and press <enter>
4. When you are dropped at the root prompt, enter "passwd" command
5. You get dropped back to the prompt
6. To see the error message, run "strace passwd" and view the stack trace.
  
Actual results:
Unable to run the "passwd" command (and probably others)

Expected results:
Normal single-user functionality

Additional info:
Tried this in a KVM virtual machine as well as VirtualBox. No physical hardware to test on.

RHEL6 2.6.32-71.el6.x86_64

Comment 1 Misty Stanley-Jones 2011-04-08 01:52:18 UTC
Probably not the right component, as someone else has a working system that has the same version of the init scripts. The $TERM is "linux" on working and non-working system.

Comment 2 Tristan Scott 2011-04-08 01:55:36 UTC
I have 2 KVM instances of RHEL 6 - one works perfectly in single, the other has the same problem. All environment vars are identical in both instances.

initscripts-9.03.17-1.el6.x86_64
bash-4.1.2-3.el6.x86_64

Package versions identical on both systems.

Please contact me if you require more info from either system.

Comment 4 RHEL Program Management 2011-04-08 06:00:17 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.


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