[Opendnssec-user] Deprecating pid-files?
Ondřej Surý
ondrej at sury.org
Tue Aug 24 12:52:50 UTC 2010
Speaking with Debian Developer hat on.
Please don't remove pidfiles. It's important to keep them in case the
daemon is stuck and c&c interface doesn't work (or somebody removes
the socket by accident, or ...). In that case the init.d script needs
to kill the process by it's pid number and pidfile comes handy.
Ondrej
On Tue, Aug 24, 2010 at 14:48, Jakob Schlyter <jakob at kirei.se> 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...
>
>
> jakob
>
> _______________________________________________
> Opendnssec-user mailing list
> Opendnssec-user at lists.opendnssec.org
> https://lists.opendnssec.org/mailman/listinfo/opendnssec-user
>
--
Ondřej Surý <ondrej at sury.org>
More information about the Opendnssec-user
mailing list