[SSSD] [PATCH] Force offline operation with SIGUSR1

Stephen Gallagher sgallagh at redhat.com
Mon Feb 1 14:00:10 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/29/2010 07:23 AM, Sumit Bose wrote:
> On Tue, Jan 26, 2010 at 09:42:52AM -0500, Stephen Gallagher wrote:
> If the monitor receives SIGUSR1, it will instruct all providers to
> enter offline operation. If any individual provider receives
> SIGUSR1, it alone will enter offline operation.
> 
> 
>> I'm fine with this patch. If you want to stay offline for longer time
>> you can use a loop like
> 
>> while /bin/true; do pkill -USR1 '^sssd$'; sleep 10; done
> 
>> But I'm not sure if production code should catch USR1. Is there a use
>> case to force sssd or a provider to go offline in production? If not I
>> would recommend to make it configurable.
> 
>> bye,
>> Sumit
> 

Pushed to master.

- -- 
Stephen Gallagher
RHCE 804006346421761

Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAktm3moACgkQeiVVYja6o6O1sgCgl5s8G2QvjepB2Lc7G8pY5WeS
7SwAoJ2Z8lRNb3U4gFkk0ZaF/grTZyr2
=/gE4
-----END PGP SIGNATURE-----



More information about the sssd-devel mailing list