Package: ippl
Version: 1.4.14-6
Severity: normal
File: /etc/init.d/ippl
Tags: patch

Hi,

logrotate today told me (via cron/mail):

---
/etc/cron.daily/logrotate:                                                      
error: error running postrotate script
run-parts: /etc/cron.daily/logrotate exited with return code 1                  
---

I (think I) have tracked this down to ippl's initscript. I have stopped ippl
some days ago. /etc/logrotate.d/ippl calls "/etc/init.d/ippl reload" as
postrotate script and this exits with return code 1. (I've tested this with
"/etc/init.d/ippl reload; echo $?")

"man start-stop-daemon" tells me this is the normal behavior.

Since I stopped ippl manually, I don't want logrotate to complain about ippl.
Adding --oknodo to the start-stop-daemon invocation would make it silent.
(See nocomplain.diff)

Removing --quiet from the command line will at least tell me why logrotate
failed (and in this case I can ignore the error). (See complain.diff)

Greetings,
 Mike Dornberger

-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.4.26-wolfden.2
Locale: LANG=C, [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages ippl depends on:
ii  adduser                     3.63         Add and remove users and groups
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  logrotate                   3.7-5        Log rotation utility
ii  perl-base [perl5-base]      5.8.4-8      The Pathologically Eclectic Rubbis

-- no debconf information
--- ippl        2005-03-20 12:01:14.000000000 +0100
+++ ippl.new    2005-10-02 15:26:50.000000000 +0200
@@ -137,7 +137,7 @@
 
   reload|force-reload)
     update_ippl_conf
-    start-stop-daemon --stop --quiet --signal 1 --pidfile $PIDFILE
+    start-stop-daemon --stop --quiet --oknodo --signal 1 --pidfile $PIDFILE
     ;;
 
   *)
--- ippl        2005-03-20 12:01:14.000000000 +0100
+++ ippl.new    2005-10-02 15:27:16.000000000 +0200
@@ -137,7 +137,7 @@
 
   reload|force-reload)
     update_ippl_conf
-    start-stop-daemon --stop --quiet --signal 1 --pidfile $PIDFILE
+    start-stop-daemon --stop --signal 1 --pidfile $PIDFILE
     ;;
 
   *)

Reply via email to