Description of problem: I'm running the latest apcupsd package apcupsd-3.14.14-2.fc25.x86_64 and after a recent power failure, I've noticed something was wrong with apcupsd due to the fact that my computer didn't come back on when power was restored. This is due to the missing "halt" option for the shutdown command in the following block from /etc/apcupsd/apccontrol: ------------------------------ doshutdown) echo "UPS ${2} initiated Shutdown Sequence" | ${WALL} ${SHUTDOWN} -h now "apcupsd UPS ${2} initiated shutdown" ;; ------------------------------ It should read: ------------------------------ doshutdown) echo "UPS ${2} initiated Shutdown Sequence" | ${WALL} ${SHUTDOWN} -h -H now "apcupsd UPS ${2} initiated shutdown" ;; ------------------------------ This is a regression. Please take a look at this: https://bugzilla.redhat.com/show_bug.cgi?id=348701 This option has been there (and working properly) since Fedora 7 all the way up until Fedora 24.
Huh .... I guess? Seems that properly configuring the bios for such critical machines would be best, though, no?
OK, reading up on the shutdown process at http://www.apcupsd.org/manual/manual.html#the-shutdown-sequence-and-its-discontents I guess this makes a little more sense.
There was a patch that got dropped in the reorganization; I had looked at it but in my testing it doesn't appear to make any difference and of course there was no indication of why it was needed. It's trivial for me to put it back.
apcupsd-3.14.14-5.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-ba7ae1fb14
apcupsd-3.14.14-5.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-8d8c2c5b50
apcupsd-3.14.14-5.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-ba7ae1fb14
apcupsd-3.14.14-5.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-8d8c2c5b50
I went ahead and pushed this to stable, but it would have been nice had you tested it and given feedback. The tone of your report made it seem as if this was an urgent matter.
apcupsd-3.14.14-5.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-d1027a1878
apcupsd-3.14.14-5.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.
apcupsd-3.14.14-5.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
apcupsd-3.14.14-5.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2017-d1027a1878
apcupsd-3.14.14-5.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.