Bug 19665

Summary: nut: /etc/killpower not created by upsmon
Product: [Retired] Red Hat Linux Reporter: R. Pao <rpao>
Component: ntalkAssignee: Jeff Johnson <jbj>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.0CC: dr
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: 2000-10-24 11:24:28 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 R. Pao 2000-10-24 03:20:08 UTC
The default POWERDOWNFLAG in /etc/ups/upsmon.conf is /etc/killpower.  This file is supposed to be created by upsmon just before 
initiating 
a shutdown.  It never gets created.  I can manually create the file, and then my modified /etc/rc.d/init.d/halt file will call apcsmart with the -k 
option 
correctly.  Upon power up, upsmon is supposed to remove /etc/killpower, but it does not.

rp00

PS: I can't enter Component Text:: nut, so I had to chose what should have been before it.  The correct component is nut from disc 2 of RedHat 
7.0.

Comment 1 R. Pao 2000-10-24 22:02:11 UTC
/etc/killpower is created only after UPS indicates LOW BATTERY condition and upsmon initiates shutdown.  /etc/killpower is not created when status is 
ON BATTERY.