[SSSD] [PATCH] test_memory_cache: Wait short time after cache invalidation

Lukas Slebodnik lslebodn at redhat.com
Thu Aug 13 05:10:09 UTC 2015


On (12/08/15 14:07), Pavel Reichl wrote:
>
>
>On 08/11/2015 02:43 PM, Michal Židek wrote:
>>I do not think that the fact that some situation is unlikely
>>to happen is a reason to ignore it, especially if the
>>solution is as easy as this one. And I know we could simply
>>ask user in error message to run sss_cache again, but I do
>>not see reason why to bother user with it if we can solve
>>it with simple loop.
>>
>>Michal
>>
>+1
It's better to have bulletproof reasons for +1.

Sort summary from another mail in thread.
Simple loop will not solve the unlikely situation.
It's TOCTOU problem which does not worth to solve in command line utility.
The issue was not introduced in my patcehs and is in sssd few years.
The proper solution is not easy.

LS



More information about the sssd-devel mailing list