[Bug 839490] [NEW] NUT is not shutdown UPS

Dmitriy Altuhov dima at altuhov.su
Fri Sep 2 11:28:35 UTC 2011


Public bug reported:

Description:    Ubuntu 11.04
Release:        11.04
nut version 2.6.0-1ubuntu3

Problem: 
upsmon working under nut user (not root). nut user can't create file /etc/killpower

Example:
1) Mains out. UPS on battery
2) Battery low. set FSD
3) upsmon executes shutdowncmd but fails to create /etc/killpower
4) /etc/init.d/halt executes /etc/init.d/ups-monitor poweroff
5) /etc/init.d/ups-monitor poweroff executes upsmon -K to check /etc/killpower (but file does not exist)
6) not sending shutdown command to UPS (upsdrvctl shutdown is not executed)
7) system halted, but UPS stays on battery
8) mains come back, ups going on mains, but load is not switched off/on
9) PC stay OFF (need manual start)

** Affects: nut (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to nut in Ubuntu.
https://bugs.launchpad.net/bugs/839490

Title:
  NUT is not shutdown UPS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nut/+bug/839490/+subscriptions



More information about the Ubuntu-server-bugs mailing list