Bug 2315854 - logrotate configuration is incorrect for non-root setup
Summary: logrotate configuration is incorrect for non-root setup
Keywords:
Status: CLOSED DUPLICATE of bug 2299733
Alias: None
Product: Fedora
Classification: Fedora
Component: sssd
Version: 41
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: sssd-maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-01 08:10 UTC by Alexander Bokovoy
Modified: 2024-10-01 08:12 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-10-01 08:12:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.