URL:
https://github.com/SSSD/sssd/pull/5306
Author: tomofumi-yoshida
Title: #5306: sss_cache: sss_cache exits immediately if SSSD is not running.
Action: opened
PR body:
"""
When running sss_cache if /var is mounted as NFS,
the fcntl access time to /var/lib/sss/db/timestamps_implicit_files.ldb is accumulated
and the sss_ cache command took a long time to complete.
Not only executing sss_cache directly, but also sss_cache may be executed
by other commands (for example, useradd and groupadd in shadow utility).
In this case, I encountered this problem when running useradd.
It is hard for all callers of sss_cache to fix,
so fix sss_cache to exit immediately while SSSD is not running.
"""
To pull the PR as Git branch:
git remote add ghsssd
https://github.com/SSSD/sssd
git fetch ghsssd pull/5306/head:pr5306
git checkout pr5306