Package: apcupsd
Version: 3.14.8-2
Severity: important
The killpower action is not working because of
exec >>/var/log/apcupsd.events 2>&1
/etc/apcupsd/apccontrol which fails when /var/log is mounted read-only (as it
is when halting). This seems to make the whole script exit (strangely I don't
see a set -x, so I'm not sure why.
I hacked this locally to be:
if [ "x$1" != "xkillpower" ] ; then
exec >>/var/log/apcupsd.events 2>&1
fi
But that's kind of lame so I don't add the "patch" tag here.
I'm running the Squeeze version of the package but the debdiff to Sid doesn't
highlight anything relevant looking other than some SNMP based killpower stuf
which I suspect is orthogonal?
-- System Information:
Debian Release: 6.0.7
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages apcupsd depends on:
ii libc6 2.11.3-4 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.4.5-8 GCC support library
ii libwrap0 7.6.q-19 Wietse Venema's TCP wrappers libra
Versions of packages apcupsd recommends:
ii apcupsd-doc 3.14.8-2 APC UPS Power Management (document
Versions of packages apcupsd suggests:
ii apcupsd-cgi 3.14.8-2 APC UPS Power Management (web inte
pn hal <none> (no description available)
ii udev 164-3 /dev/ and hotplug management daemo
-- Configuration Files:
/etc/apcupsd/apccontrol changed [not included]
/etc/apcupsd/apcupsd.conf changed [not included]
/etc/apcupsd/changeme changed [not included]
/etc/apcupsd/commfailure changed [not included]
/etc/apcupsd/commok changed [not included]
/etc/apcupsd/offbattery changed [not included]
/etc/apcupsd/onbattery changed [not included]
/etc/default/apcupsd changed [not included]
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]