Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708216 - net-misc/icecast - logrotate: error: skipping "/var/log/icecast/access.log" because parent directory has insecure permissions
Summary: net-misc/icecast - logrotate: error: skipping "/var/log/icecast/access.log" b...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at if you want to take care of it
Depends on:
Reported: 2020-02-04 13:21 UTC by Vieri
Modified: 2022-06-29 06:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Vieri 2020-02-04 13:21:46 UTC
When running logrotate:

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

The ebuild calls dodir /var/log/icecast with specific diropts so the service can start properly.
However, the default logrotate config file provided should be modified with the su directive.
Comment 1 calimeroteknik 2021-09-03 11:09:23 UTC
This commit, "unconditionally install logrotate files", has made this bug now automatically concern all users of this package since a month ago:

Could the fix mentioned in the first comment (adding the su directive to the logrotate file) be applied, please?