URL:
https://github.com/SSSD/sssd/pull/5539
Title: #5539: [WIP] NSS: Clear negative cache when SIGHUP received
alexey-tikhonov commented:
"""
The purpose of this file is to identify SIGHUP received from
sss_cache command as only this one should trigger cache clearing.
You are correct that this is one of purposes (besides notification that operation
completed).
99c99e5570
But I would question "why" the same signal SIGHUP was re-used both for log
rotation and mem-cache clearance. As a result, `sss_cache` triggers logs rotation. Is it
intentional?
Decoupling this would make this purpose obsolete.
And for the purpose of backward notification (if needed at all) sss_cache could monitor
mem-cache files itself.
This might be out of the scope of this ticket. But useful to keep in mind.
"""
See the full comment at
https://github.com/SSSD/sssd/pull/5539#issuecomment-802857641