Package: apcupsd
Version: 3.14.10-2+b1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

when trying to start apcupsd through
service apcupsd start

nothing happens.

/var/log/syslog only shows:
systemd[1]: Starting LSB: Starts apcupsd daemon...

When starting /sbin/apcd manually, things work fine.
apctest also works.


I've also noticed (probably not related to apcupsd) that the UPS (Eaton 3s) is 
not recognized during boot. Only un- and replugging the USB cable makes it show 
up in lsusb. Is this caused by the switch to systemd?
NB: I had done so before trying to start apcupsd.

Thanks for looking into this.


-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-1-amd64 (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

Versions of packages apcupsd depends on:
ii  libc6     2.19-1
ii  libgcc1   1:4.9.0-6
ii  libwrap0  7.6.q-25

Versions of packages apcupsd recommends:
ii  apcupsd-doc  3.14.10-2

Versions of packages apcupsd suggests:
pn  apcupsd-cgi  <none>
ii  udev         204-8

-- Configuration Files:
/etc/apcupsd/apcupsd.conf changed:
UPSNAME EATON3S
UPSCABLE usb
UPSTYPE usb
DEVICE
POLLTIME 30
LOCKFILE /var/lock
SCRIPTDIR /etc/apcupsd
PWRFAILDIR /etc/apcupsd
NOLOGINDIR /etc
ONBATTERYDELAY 10
BATTERYLEVEL 10
MINUTES 6
TIMEOUT 0
ANNOY 300
ANNOYDELAY 30
NOLOGON disable
KILLDELAY 0
NETSERVER on
NISIP 192.168.1.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

/etc/default/apcupsd changed:
APCACCESS=/sbin/apcaccess
ISCONFIGURED=yes

/etc/init.d/apcupsd changed:

True, I did remove the --quiet option.

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
DAEMON=/sbin/apcupsd
CONFIG=/etc/default/apcupsd
NAME=apcupsd
DESC="UPS power management"
test -x $DAEMON || exit 0
test -e $CONFIG || exit 0
set -e
.. $CONFIG
if [ "x$ISCONFIGURED" != "xyes" ] ;
then
        echo "Please check your configuration ISCONFIGURED in 
/etc/default/apcupsd"
        exit 0
fi
case "$1" in
        start)
                echo -n "Starting $DESC: "
                rm -f /etc/apcupsd/powerfail
                if [ "`pidof apcupsd`" = "" ]
                then
                        start-stop-daemon --start --exec $DAEMON
                        echo "$NAME."
                else
                        echo ""
                        echo "A copy of the daemon is still running.  If you 
just stopped it,"
                        echo "please wait about 5 seconds for it to shut down."
                        exit 0
                fi
                ;;
        stop)
                echo -n "Stopping $DESC: "
                start-stop-daemon --stop --oknodo --pidfile 
/var/run/apcupsd.pid || echo "Not Running."
                rm -f /var/run/apcupsd.pid
                echo "$NAME."
                ;;
        restart|force-reload)
                $0 stop
                sleep 10
                $0 start
                ;;
        status)
                #/sbin/apcaccess status
                $APCACCESS status
                ;;
        *)
                N=/etc/init.d/$NAME
                echo "Usage: $N {start|stop|restart|force-reload}" >&2
                exit 1
                ;;
esac
exit 0


-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to