[Opendnssec-develop] [OpenDNSSEC] #176: Error in /etc/init.d/opendnssec-signer on ubuntu

OpenDNSSEC owner-dnssec-trac at kirei.se
Fri Aug 20 09:04:53 UTC 2010


#176: Error in /etc/init.d/opendnssec-signer on ubuntu
--------------------------+-------------------------------------------------
Reporter:  pbw@…          |       Owner:  rb     
    Type:  defect         |      Status:  new    
Priority:  minor          |   Component:  Unknown
 Version:  trunk          |    Keywords:         
--------------------------+-------------------------------------------------
 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.

-- 
Ticket URL: <http://trac.opendnssec.org/ticket/176>
OpenDNSSEC <http://www.opendnssec.org/>
OpenDNSSEC


More information about the Opendnssec-develop mailing list