Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jun 2014 08:39:36 +0200
From:      =?UTF-8?Q?Tomek_Wa=C5=82aszek?= <tmwalaszek@gmail.com>
To:        Christian Weisgerber <naddy@mips.inka.de>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: [net/openntpd] pidfile support
Message-ID:  <CAN3T69usVcKSY_%2B-%2B5CnYh4LuTqwF4NZqE8MHJ7VffUn62gnwQ@mail.gmail.com>
In-Reply-To: <slrnlopnnb.1ree.naddy@lorvorc.mips.inka.de>
References:  <CAN3T69vFEGXmwWjwp69oJEOPx3cLKaDyxR379xGvnzaZ-_ExtA@mail.gmail.com> <slrnlopk7i.oht.naddy@lorvorc.mips.inka.de> <slrnlopnnb.1ree.naddy@lorvorc.mips.inka.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,
This race also affects OpenSMTPD.
In general it will affect all daemons that don't use pid files and are
killing their childrens by themselves when they received SIGTERM.

Regards,
Tomasz Walaszek


2014-06-02 22:30 GMT+02:00 Christian Weisgerber <naddy@mips.inka.de>:

> On 2014-06-02, Christian Weisgerber <naddy@mips.inka.de> wrote:
>
> > I remember seeing the error above, but on further investigation,
> > this doesn't happen any longer... at least here on FreeBSD 10-STABLE.
>
> Strike that.  Investigating with rc_debug=3DYES shows that SIGTERM
> is still sent to all child processes and the race still exists.  It
> just doesn't show up on my new machine because, well, it's a race
> condition.
>
> --
> Christian "naddy" Weisgerber                          naddy@mips.inka.de
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>



--=20
Pozdrawiam
Tomasz Wa=C5=82aszek



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAN3T69usVcKSY_%2B-%2B5CnYh4LuTqwF4NZqE8MHJ7VffUn62gnwQ>