On 04/29/2016 10:07 AM, Jakub Hrozek wrote:
On Fri, Apr 29, 2016 at 06:21:44AM +0530, Arpit Tolani wrote:
> Hello
Hi Arpit, thank you very much for checking the design document.
>
> Currently we mostly run
>
> # service sssd stop ; rm -rf /var/lib/sss/db/* /var/log/sssd/* ; service sssd start
Yes, we plan on implememting this. But a word of caution -- if you
remove the cache on an offline system, you can effectivelly remove any
means of authenticating or retrieving identity data from the client.
Yes, we should print a loud warning with sssctl and ask for confirmation
unless some --force option is used.
>
> It would be great if we can have option to remove log files also i sssctl
>
> # sssctl restore-cache remove-logs
>
> This should either remove old logs or force rotate them.
I think sending SIGHUP to sssd should already rotate the logs, but only
in the sense that the logfiles would be reopened. This sounds like a
valid use-case to consider though.
>
>
> Regards
> Arpit Tolani
>
>
>
>
> ----- Original Message -----
>> From: "Pavel Reichl" <preichl(a)redhat.com>
>> To: sssd-devel(a)lists.fedorahosted.org
>> Cc: gagriogi(a)redhat.com, "Arpit Tolani" <atolani(a)redhat.com>,
fjayalat(a)redhat.com, "Eugene Keck" <ekeck(a)redhat.com>
>> Sent: Tuesday, March 22, 2016 6:17:40 PM
>> Subject: Re: [SSSD] Design document - sssctl
>>
>> Hello, I'm adding some people, who might be interested in this tool,
>> to CC list. (Please feel free to extend).
>>
>> On 03/22/2016 12:42 PM, Pavel Reichl wrote:
>>> Hello,
>>>
>>> Pavel Březina and I have prepared the 1st draft of design document.
>>> We mostly focused on summing up its future functionality and its
>>> interface.
>>>
>>> Please comment if you miss some essential functionality or if you
>>> would prefer some different interface.
>>>
>>> Thanks!
>>>
>>>
https://fedorahosted.org/sssd/wiki/DesignDocs/sssctl
>>> _______________________________________________
>>> sssd-devel mailing list
>>> sssd-devel(a)lists.fedorahosted.org
>>>
https://lists.fedorahosted.org/admin/lists/sssd-devel@lists.fedorahosted.org
>>
> _______________________________________________
> sssd-devel mailing list
> sssd-devel(a)lists.fedorahosted.org
>
https://lists.fedorahosted.org/admin/lists/sssd-devel@lists.fedorahosted.org
_______________________________________________
sssd-devel mailing list
sssd-devel(a)lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/sssd-devel@lists.fedorahosted.org