[SSSD] Files 'group' and 'passwd' in /var/lib/sss/mc/ still present even after sssd quits

Michal Židek mzidek at redhat.com
Fri Aug 17 11:20:49 UTC 2012


On 08/16/2012 11:18 PM, Simo Sorce wrote:
>
> ----- Original Message -----
>> On Thu, Aug 16, 2012 at 05:32:08PM +0200, Michal Židek wrote:
>>> Turning off sssd does not remove files in /var/lib/sss/mc. This
>>> allows to respond on requests like
>>> 'id username' with sssd turned off. Is this behavior OK or is it a
>>> bug? I think it is not very logical to
>>> keep this files present. If someone turns off sssd, he probably
>>> wants to turn off all services that
>>> sssd provides. Or is there some other reason not to remove these
>>> files?
>>>
>>> Thanks
>>> Michal
>> I would consider this a bug as well. Shutting down the SSSD should
>> mean
>> it's not responding, otherwise the caching becomes very
>> unpredictable.
> It is intentional.
> You do not want to delete the fast cache at every reboot.
> With the fast cache in place queries are replied fast from it even before SSSD is started
> In what case caches would be unpredictable ?
> All the common users available are still there, this is not much different from using SSSD in offline mode, or is there something I am mising ?
>
> Simo.
>
I found this behaviour strange (that something works after it was turned 
off), but what
you mentioned is a good reason to keep it as it is. I'll change the 
ticket status to 'invalid'.

Thanks for explanation.
Michal



More information about the sssd-devel mailing list