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

Jakub Hrozek jhrozek at redhat.com
Fri Jun 25 18:39:45 UTC 2010


-----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.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkwk9+0ACgkQHsardTLnvCVgsACguYvBI9qxqOQ5m1v3Oc6d7+4l
LvMAnRho3s3M5ya1oF/QaJSGPDiriXuy
=zkTQ
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Resend-SIGINT-as-SIGTERM-in-services.patch
Type: text/x-patch
Size: 1231 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20100625/c4203750/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Resend-SIGINT-as-SIGTERM-in-services.patch.sig
Type: application/pgp-signature
Size: 72 bytes
Desc: not available
URL: <https://lists.fedorahosted.org/pipermail/sssd-devel/attachments/20100625/c4203750/attachment.sig>


More information about the sssd-devel mailing list