Red Hat Bugzilla – Bug 252973
halt script incompatible with the new nut-2.2.0
Last modified: 2014-03-16 23:08:03 EDT
the new version of NUT (network ups tools) brings some changes that affect the
* the $MODEL variable is not set in /etc/sysconfig/ups
* the powerdown flag file is configurable via $POWERDOWNFLAG variable
* the particular drivers should not be called directly and /sbin/upsdrvctl
should be used instead to invoke drivers' shutdown sequence
I'm attaching a patch that shows the required changes. Please update the halt
script to be compatible with the new NUT package.
Created attachment 161648 [details]
Does this mean I'll need to conflict with older nut packages? (I assume so.)
Yes. This change should not appear in earlier versions (F-7 and older).
Fixed in 8.56-1.