Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 708216

Summary: net-misc/icecast - logrotate: error: skipping "/var/log/icecast/access.log" because parent directory has insecure permissions
Product: Gentoo Linux Reporter: Vieri <rentorbuy>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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?