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...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
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: ---


Attachments

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: https://gitweb.gentoo.org/repo/gentoo.git/commit/net-misc/icecast?id=1a1d605e9d4d2d23b221ac499b884f0bc59528a9

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