Bug 20879
| Summary: | shutdown problem | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Need Real Name <larson> |
| Component: | usermode | Assignee: | Jindrich Novy <jnovy> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | David Lawrence <dkl> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.2 | CC: | dr, pknirsch |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2004-10-03 11:44:48 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Need Real Name
2000-11-14 21:49:39 UTC
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. /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? 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. /usr/bin/shutdown was removed by errata update since Red Hat 6.2 (see #19034). It is no more present in current releases. |