URL:
https://github.com/SSSD/sssd/pull/5306
Title: #5306: sss_cache: sss_cache exits immediately if SSSD is not running.
tomofumi-yoshida commented:
"""
Thank you for your comment.
And I'm so sorry for my late response.
The issue we saw was as follows.
This issue was occurred in our customer's environment when the construction phase for
his systems.
He runs useradd and groupadd command in a shell script to construct his systems.
sss_cache is called by useradd and groupadd command forcibly evenif he does't use sssd
at all.
There are a large number of nodes in his environment.
If sss_cache command took a long time to complete,
the amount of time to complete shell script become longer and it postpones the schedule of
construction phase.
Therefore, I advanced a patch not to run sss_cache at least sssd isn't running.
Please tell me if you have any other good solution.
Best Regards,
Tomofumi
"""
See the full comment at
https://github.com/SSSD/sssd/pull/5306#issuecomment-693172252