[SSSD] [PATCH] Resend SIGINT as SIGTERM in services

Stephen Gallagher sgallagh at redhat.com
Fri Jun 25 17:46:55 UTC 2010


On 06/25/2010 02:39 PM, Jakub Hrozek wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 06/24/2010 03:32 PM, Stephen Gallagher wrote:
>> Nack. As I think about this, I think that we should have the child
>> processes ignore SIGINT entirely. The monitor should be the exception:
>> it should catch the SIGINT and just put it through the SIGTERM processing.
>>
>> This way, if we ever want to change how the monitor handles shutdown
>> (e.g. send a D-BUS message instead of signals to the children) we only
>> have to change it in one place.
>>
>
> Yes, I considered that but I thought that someone might still like to
> send SIGINT to the process manually. But SIGINT is meant to be sent from
> controlling terminal usually, so perhaps just blocking the signal except
> for monitor makes sense.
>
> A new patch is attached.


Ack.

-- 
Stephen Gallagher
RHCE 804006346421761

Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/



More information about the sssd-devel mailing list