Bug 20879 - shutdown problem
shutdown problem
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: usermode (Show other bugs)
6.2
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jindrich Novy
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-11-14 16:49 EST by Need Real Name
Modified: 2013-07-02 18:54 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-10-03 07:44:48 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2000-11-14 16:49:39 EST
I just installed usermode-1.37-1.6.  After doing all the upgrades, I used
"shutdown -r +2" to reboot the machine.  According to $PATH,
/usr/bin/shutdown was executed.  The machine did not reboot, it went to
single user mode.  I thought this problem was to have been corrected in
this usermode version.
Comment 1 Need Real Name 2000-11-15 18:03:34 EST
I replicated this problem on another machine that had been similarly upgraded. 
"/usr/bin/shutdown -r +1" still said going to maintenance mode in 1 minute and
then did go to run level 1.  "/sbin/shutdown -r +1" rebooted the machine as
expected.  The /usr/bin/shutdown script does not account for time arguments
other than "now"  and exec'd /sbin/shutdown +1 which defaults to run level 1.
Comment 2 Nalin Dahyabhai 2000-11-20 18:08:30 EST
/sbin/shutdown should not be allowing a regular user to shut the system down to
runlevel 1.  Do you get any messages when running "rpm -yf /sbin/shutdown"? 
Which version of the SysVinit package do you have installed?
Comment 3 Need Real Name 2000-11-20 18:30:38 EST
I was root not a regular user.  As a regular user, I would get the message
shutdown: must be root.

rpm -yf /sbin/shutdown gave:
.M?.....   /sbin/halt
.M?.....   /sbin/init
.M?.....   /sbin/killall5
.M?.....   /sbin/runlevel

SysVinit-2.78-5

/usr/bin/shutdown -r +min still should not be putting me in single user mode.

Comment 4 Jindrich Novy 2004-10-03 07:44:48 EDT
/usr/bin/shutdown was removed by errata update since Red Hat 6.2 (see
#19034). It is no more present in current releases.

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