Bug 2315854

Summary: logrotate configuration is incorrect for non-root setup
Product: [Fedora] Fedora Reporter: Alexander Bokovoy <abokovoy>
Component: sssdAssignee: sssd-maintainers <sssd-maintainers>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 41CC: abokovoy, atikhono, lslebodn, mzidek, pbrezina, sbose, ssorce, sssd-maintainers
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-10-01 08:12:56 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alexander Bokovoy 2024-10-01 08:10:09 UTC
I installed Fedora 41 server and configured IPA server on it. SSSD uses sssd:sssd for /var/log/sssd now. Logrotate does not like it:
------------------------
logrotate

error: skipping "/var/log/sssd/sssd_example.test.log" because parent directory has insecure permissions (It's world writable or writable by group which is not "root") Set "su" directive in config file to tell logrotate which user/group should be used for rotation.
-------------------------

SSSD logrotate configuration needs to be updated.

Reproducible: Always

Comment 1 Alexey Tikhonov 2024-10-01 08:12:56 UTC

*** This bug has been marked as a duplicate of bug 2299733 ***