Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 16376 - poweroff in initscripts.
poweroff in initscripts.
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Depends On:
  Show dependency treegraph
Reported: 2000-08-16 12:49 EDT by Sam Varshavchik
Modified: 2014-03-16 22:15 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-08-16 12:49:27 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 Sam Varshavchik 2000-08-16 12:49:26 EDT
There's some leftover cruft at the tail end of the halt script:

HALTARGS="-i -d"
if [ -f /poweroff -o ! -f /halt ]; then

The halt command does not have the -p option.  This is superceeded by the
poweroff command.

Additionally, there's nothing that creates /poweroff.  This should be an
option to shutdown.
Comment 1 Bill Nottingham 2000-08-16 16:00:40 EDT
The halt command certainly claims to have a -p option.

As for something that creates /poweroff, look at
the SysVinit source. :)

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