[Opendnssec-user] Deprecating pid-files?

Sebastian Castro sebastian at nzrs.net.nz
Tue Aug 24 21:12:02 UTC 2010


Andy Holdaway wrote:
> On 24/08/10 13:48, Jakob Schlyter wrote:
>> hi,
>>
>> We're considering deprecating (i.e. no longer create) pid-files for
>> the signer engine and the enforcer. Stopping the signer engine is
>> already done using 'ods-signer stop' (which communicates with
>> ods-signerd using a socket), and the plan is to implement the same
>> type of command-and-control interface for the enforcer.
>>
>> Can anyone find a good reason to keep the pid-files around? If one is
>> lucky, the pid-file contains the pid of the current running process.
>> If one is (very) unlucky, the pid-file contains the pid of something
>> completely different...
>>
>>    
> +1 for keeping them.  It's up to the init scripts to ensure that old pid
> files are removed properly.  They are standard on most linux distros.
> 

I also support keeping the PID files. It can be responsibility of the
application to save its own PID or the wrapping start/stop script. The
latter will take care of cleaning up after himself.

BTW, I applaud the idea of having a c&c channel for the enforcer. I was
about to write a small change to ods-control to be able to start or stop
the enforcer. The reason will come in a different email.


cheers,

> Andy
> _______________________________________________
> Opendnssec-user mailing list
> Opendnssec-user at lists.opendnssec.org
> https://lists.opendnssec.org/mailman/listinfo/opendnssec-user


-- 
Sebastian Castro
DNS Specialist
.nz Registry Services (New Zealand Domain Name Registry Limited)
desk: +64 4 495 2337
mobile: +64 21 400535



More information about the Opendnssec-user mailing list