Quantcast
Channel: CentOS Bug Tracker - Issues
Viewing all articles
Browse latest Browse all 19115

0006885: halt script interferes with apcupsd and kills the UPS on reboot

$
0
0
The halt script:<br /> <br /> /etc/rc.d/init.d/halt<br /> <br /> Contains the following lines:<br /> <br /> # Turn off UPS in powerfail situation<br /> if [ -x /etc/apcupsd/apccontrol -a -f /etc/apcupsd/powerfail ]; then<br /> /etc/apcupsd/apccontrol killpower<br /> fi<br /> <br /> <br /> This means, that IF the package "apcupsd" is installed (which can be installed via yum and epel), then on REBOOT the halt script tells the apcupsd (apccontrol) script to force the UPS to shutdown and/or hybernate.<br /> <br /> This means that after you issue a "reboot" from the commandline of CentOS 6.5, the system will reboot, but after <a href="http://bugs.centos.org/view.php?id=8#c30">0000008:0000030</a> seconds (depends on the UPS), the computer and all power will be shut down by the UPS!!!<br /> <br /> This is meant to be used when issuing "poweroff" (thus turn off the UPS at the same time as the PC) and not reboot!

Viewing all articles
Browse latest Browse all 19115

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>