[Opendnssec-develop] Re: [OpenDNSSEC] #258: ods-control not robust in ensuring process running
OpenDNSSEC
owner-dnssec-trac at kirei.se
Mon Aug 8 13:12:40 UTC 2011
#258: ods-control not robust in ensuring process running
---------------------------------+------------------------------------------
Reporter: anonymous | Owner: sion
Type: defect | Status: new
Priority: trivial | Component: Enforcer
Version: 1.3.0 | Resolution:
Keywords: ods-control pid_file |
---------------------------------+------------------------------------------
Comment (by anonymous):
When the ods-enforcerd process is killed w/o using ods-control, the ods-
enforcerd pid file does not get deleted. Using the kill command is
necessary when ods-control is unresponsive. To avoid ods-control not
bringing the enforcer back up b/c of the existence of the pid file, i
changed the script for ods-control to have this instead:
{{{
/bin/ps -C ods-enforcerd -o pid=
if [ $? -eq 0 ]; then
#if [ -r "$enforcer_pid_file" ]; then
echo "Enforcer is already running"
RETVAL=-1
fi
}}}
running Linux 2.6.32-71.el6.x86_64
--
Ticket URL: <http://trac.opendnssec.org/ticket/258#comment:1>
OpenDNSSEC <http://www.opendnssec.org/>
OpenDNSSEC
More information about the Opendnssec-develop
mailing list