[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#246365: apache-perl (testing) rc flaw

Package: apache-perl

(testing build)

I had occasion to run

/etc/init.d/apache-perl reload

from cron and it failed claiming it couldn't find start-stop-daemon.

The cron email said:
Reloading apache-perl configuration/etc/init.d/apache-perl: line 64: start-stop-daemon: command not found

host:/# egrep -n start-stop-daemon /etc/init.d/apache-perl
52: $ENV start-stop-daemon --start --pidfile $PIDFILE --exec $DAEMON > /dev/null
57:    start-stop-daemon --stop --pidfile $PIDFILE --oknodo
64:    start-stop-daemon --stop --pidfile $PIDFILE --signal USR1
70:    start-stop-daemon --stop --pidfile $PIDFILE --oknodo --retry 30
72: $ENV start-stop-daemon --start --pidfile $PIDFILE --exec $DAEMON > /dev/null 78: if ! start-stop-daemon -q --stop --pidfile $PIDFILE --signal HUP; then 79: $ENV start-stop-daemon --start --pidfile $PIDFILE --exec $DAEMON > /dev/null

My assumption is that you need $ENV on lines 57 64 70 78 to resolve this.

Thank you for your time and attention.

MSN Toolbar provides one-click access to Hotmail from any Web page ? FREE download! http://toolbar.msn.com/go/onm00200413ave/direct/01/

Reply to: