Package: apcupsd Version: 3.14.12-1.1 Severity: normal Dear Maintainer,
we have configured apcupsd to shutdown the server if the battery
TIMEOUT is reached. (We do not want to stress the battery and the
server does also not run all the time).
After the TIMEOUT is reached the server shuts down but unfortunately -
after our upgrade to / fresh install of Debian/Jessie which now uses
systemd - killpower (to shutdown the UPC) is never run.
It seems like a systemd problem. Any idea how to fix this?
Please note that the root-fs is on a raid1 but /var and /usr are NOT
seperated:
# mount | grep "on / "
/dev/md0 on / type ext3 (rw,relatime,errors=remount-ro,data=ordered)
so #316932, #701809 and #709612 do not seem to be the problems.
The service is starting fine too (so not #752195):
# systemctl list-units | grep apc
apcupsd.service
loaded active running LSB: Starts apcupsd daemon
root@server ~ # systemctl status apcupsd.service
● apcupsd.service - LSB: Starts apcupsd daemon
Loaded: loaded (/etc/init.d/apcupsd)
Active: active (running) since Fri 2015-12-11 13:18:17 CET; 33min ago
Process: 833 ExecStart=/etc/init.d/apcupsd start (code=exited,
status=0/SUCCESS)
CGroup: /system.slice/apcupsd.service
└─889 /sbin/apcupsd
Dec 11 13:18:17 server apcupsd[889]: apcupsd 3.14.12 (29 March 2014) debian
startup succeeded
Dec 11 13:18:17 server apcupsd[889]: NIS server startup succeeded
Dec 11 13:18:18 server apcupsd[833]: Starting UPS power management: apcupsd.
Regards,
- Darsha
-- System Information:
Debian Release: 8.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 3.16.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages apcupsd depends on:
ii libc6 2.19-18+deb8u1
ii libgcc1 1:4.9.2-10
ii libwrap0 7.6.q-25
Versions of packages apcupsd recommends:
ii apcupsd-doc 3.14.12-1.1
Versions of packages apcupsd suggests:
ii apcupsd-cgi 3.14.12-1.1
ii udev 215-17+deb8u2
-- Configuration Files:
/etc/apcupsd/apcupsd.conf changed:
UPSNAME APCUPS
UPSCABLE smart
UPSTYPE apcsmart
DEVICE /dev/ttyS0
LOCKFILE /var/lock
SCRIPTDIR /etc/apcupsd
PWRFAILDIR /etc/apcupsd
NOLOGINDIR /etc
ONBATTERYDELAY 6
BATTERYLEVEL 5
MINUTES 3
TIMEOUT 15
ANNOY 0
ANNOYDELAY 0
NOLOGON disable
KILLDELAY 0
NETSERVER on
NISIP 127.0.0.1
NISPORT 3551
EVENTSFILE /var/log/apcupsd.events
EVENTSFILEMAX 10
UPSCLASS standalone
UPSMODE disable
STATTIME 0
STATFILE /var/log/apcupsd.status
LOGSTATS off
DATATIME 0
BATTDATE 06/11/15
/etc/default/apcupsd changed:
APCACCESS=/sbin/apcaccess
ISCONFIGURED=yes
-- no debconf information
signature.asc
Description: OpenPGP digital signature

