Re: [SSSD] [PATCH] Resend SIGTERM if child doesn't terminat

2010-12-02 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/02/2010 07:20 AM, Sumit Bose wrote: > On Wed, Dec 01, 2010 at 12:14:15PM -0500, Stephen Gallagher wrote: > There is a race condition where if we send a SIGTERM before the > kernel has scheduled the child, it may be lost, and the child will > not

Re: [SSSD] [PATCH] Resend SIGTERM if child doesn't terminat

2010-12-02 Thread Sumit Bose
On Wed, Dec 01, 2010 at 12:14:15PM -0500, Stephen Gallagher wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > There is a race condition where if we send a SIGTERM before the > kernel has scheduled the child, it may be lost, and the child will > not terminate and will leave the monitor h

[SSSD] [PATCH] Resend SIGTERM if child doesn't terminat

2010-12-01 Thread Stephen Gallagher
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 There is a race condition where if we send a SIGTERM before the kernel has scheduled the child, it may be lost, and the child will not terminate and will leave the monitor hung in wait(). This patch alters this behavior so that we will send the SIGTER