Bug 47060 - shutdown command incorrect in nut config file
Summary: shutdown command incorrect in nut config file
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: nut (Show other bugs)
(Show other bugs)
Version: 7.1
Hardware: All Linux
low
medium
Target Milestone: ---
Assignee: Ngo Than
QA Contact: Brian Brock
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-07-02 20:49 UTC by wendell
Modified: 2007-03-27 03:46 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2001-07-02 20:49:11 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

Description wendell 2001-07-02 20:49:08 UTC
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:
very

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 20:58:47 UTC
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.