-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: trunk
-
Fix Version/s: None
-
Component/s: Unknown
-
Labels:None
service opendnssec-signer status always returns "not running". The problem occurs because the pid file is stored in /var/run/opendnssec,rather than /var/run.
Easiest way to fix it seems to be to change the call to status_of_proc in the status) case from
status_of_proc "$DAEMON" "$NAME" && exit 0 | exit $?
to
status_of_proc -p $PIDFILE "$DAEMON" "$NAME" && exit 0 | exit $?
A similar fix should be applied to /etc/init.d/opendnssec-enforcer, althohg it manages to work in spite of the pid file not being found, because the named $DAEMON is still running when the status check is made. This is not the case for the singer.