Package: apcupsd
Version: 3.8.5-1.1.1
Severity: normal

/etc/init.d/apcupsd restart exits with status 1 if apcupsd is not running. This 
breaks the daily cron job (or, rather, causes false positives with logcheck).

cvs:~# sh -x /etc/cron.daily/apcupsd
+ cd /var/log
+ LOG=apcupsd.log
+ '[' -f apcupsd.log ']'
+ '[' /etc/init.d/apcupsd status
+ grep 'attach_shmarea: cannot get shm area'
+ /etc/init.d/apcupsd restart
cvs:~# echo $?
1
cvs:~# /etc/init.d/apcupsd restart
Restarting APC UPS power management: start-stop-daemon: warning: failed to kill 
20951: No such process
cvs:~# echo $?
1


-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux cvs 2.2.25 #2 SMP-(cvstest+reiserfs) Tue Jul 8 18:10:15 EDT 2003 
i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages apcupsd depends on:
ii  bsdutils                 1:2.11n-4       Basic utilities from 4.4BSD-Lite.
ii  libc6                    2.2.5-11.8      GNU C Library: Shared libraries an
ii  libncurses5              5.2.20020112a-7 Shared libraries for terminal hand



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to