Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Elliott Mitchell
Sat, 28 Nov 2026 04:40
Bug#670094: apcupsd powerfailure handling
Author: Elliott Mitchell
Date: Sat, 28 Nov 2026 04:40
Date: Sat, 28 Nov 2026 04:40
32 lines
3236 bytes
3236 bytes
This has certainly been around a long time. I've thought for a while the real issue is the handling of reboot versus halt has been mixed up with apcupsd (likely nut too). I would equate "reboot" to "system needs to restart due to minor system issue and will be back up more or less immediately" (perhaps security update which needs restart). I would equate "halt" to "system needs to go down for an extended period of time due to issue" (playing with hardware). If you think in those terms a power failure is a reboot situation NOT a halt situation. The desired behavior is for the system is to restart as soon as possible (depends on the power failure cause). This also resolves undesired behavior caused by interfering with administrator actions. If the admin was planning to make hardware changes they might halt the machine early due to an overlapping downtime window. They would then NOT want the computer to automatically restart if power was restored (the UPS killpower would be bad). If the admin needed a restart due to a system update they would likely prefer to wait for power restoration before booting (no point in booting only to halt 5 minites later). So doing "reboot" on imminent UPS battery depletion and unconditionally doing UPS killpower just before hardware reset seems a better course of action. -- (\___(\___(\______ --=> 8-) EHM <=-- ______/)___/)___/) \BS ( | ehem+sigmsg@m5p.com PGP 87145445 | ) / \_CS\ | _____ -O #include <stddisclaimer.h> O- _____ | / _/ 8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads