Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BUILD: configure logrotate to work with non-root-group writable folder #7512

Closed
wants to merge 1 commit into from

Conversation

alexey-tikhonov
Copy link
Member

Otherwise logrotate complains:

error: skipping "/var/log/sssd/sssd_kcm.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.

See https://bugzilla.redhat.com/show_bug.cgi?id=2299733 for details

@alexey-tikhonov alexey-tikhonov added no-backport This should go to target branch only. non-privileged labels Jul 26, 2024
Otherwise logrotate complains:
```
error: skipping "/var/log/sssd/sssd_kcm.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.
```

See https://bugzilla.redhat.com/show_bug.cgi?id=2299733 for details
Copy link
Contributor

@justin-stephenson justin-stephenson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack, thank you.

@alexey-tikhonov alexey-tikhonov requested review from jakub-vavra-cz, aplopez and pbrezina and removed request for aplopez July 26, 2024 15:42
Copy link
Contributor

@jakub-vavra-cz jakub-vavra-cz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looked at the bugzilla and the change looks correct.

I wonder why the rename src/examples/logrotate → src/examples/logrotate.in, that looks like an unrelated change.

@alexey-tikhonov
Copy link
Member Author

wonder why the rename src/examples/logrotate → src/examples/logrotate.in, that looks like an unrelated change.

'logrotate.in' is a template that is instantiated during the build to 'logrotate'

@alexey-tikhonov
Copy link
Member Author

Pushed PR: #7512

  • master
    • e4ae4d6 - BUILD: configure logrotate to work with non-root-group writable folder

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-backport This should go to target branch only. non-privileged Pushed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants