[Freeipa-devel] [PATCHES] start/stop related fixes

Jakub Hrozek jhrozek at redhat.com
Thu Apr 30 18:25:41 UTC 2009


On Thu, 2009-04-30 at 12:02 -0400, Stephen Gallagher wrote:
> > The last one removes the pid file on quitting sssd, right now the
> pid
> > file is left in /var/run after sssd finished which doesn't seem
> right.
> > Related to this - should sssd be a single-instance daemon? If so,
> > there's another bug in pidfile() - a second instance of sssd that's
> ran
> > overwrites the pid file. 
> > 
> 
> Yes, SSSD MUST be single-instance. Please fix that and roll it into
> this
> patch.

Thanks, patch attached. I changed the conditionals in pidfile() so that
we error out if we succeed in signaling the PID from pidfile.

Jakub
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Remove-old-pidfile-make-sssd-single-instance.patch
Type: text/x-patch
Size: 2920 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090430/3654a095/attachment.bin>


More information about the Freeipa-devel mailing list