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 47060 - shutdown command incorrect in nut config file
shutdown command incorrect in nut config file
Product: Red Hat Linux
Classification: Retired
Component: nut (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Ngo Than
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2001-07-02 16:49 EDT by wendell
Modified: 2007-03-26 23:46 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-07-02 16:49:11 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 wendell 2001-07-02 16:49:08 EDT
Description of Problem:
The latest nut distribution requires " around the shutdown
command, but the config file is incorrect
(does not have ").  That is, in /etc/ups/upsmon.conf, the nut
distribution has the *incorrect* shutdown command of
SHUTDOWNCMD /sbin/shutdown -h +0
however, the command should be
SHUTDOWNCMD "/sbin/shutdown -h +0"

How Reproducible:

Steps to Reproduce
1.install nut (ups) package
2.have system on ups 
3.remove wall power
4.System will eventually receive "battery level critical" notice
from ups
Actual Results:
system prints
   Beginning shutdown
but nothing happens

Expected Results:
system shutdowns properly

Additional Information:
The original nut distribution may be incorrect.
Comment 1 Ngo Than 2001-07-02 16:58:47 EDT
It's fixed in nut-0.45.0-1. You find it in the rawhide.

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