Bug #8777
[logrotate] error: skipping "/var/log/candlepin/audit.log" because parent directory has insecure permissions
Difficulty:
trivial
Triaged:
Yes
Description
I see such errors in ma root mailbox with katello 2.0 on centos7
/etc/cron.daily/logrotate: error: skipping "/var/log/candlepin/audit.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. error: skipping "/var/log/candlepin/candlepin.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. error: skipping "/var/log/candlepin/cpdb.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. error: skipping "/var/log/candlepin/cpinit.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. error: skipping "/var/log/candlepin/error.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. error: skipping "/var/log/tomcat/catalina.out" 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.
regards Florian
History
#1
Updated by Eric Helms about 8 years ago
- Target version set to 63
- Legacy Backlogs Release (now unused) set to 14
- Triaged changed from No to Yes
#2
Updated by Eric Helms about 8 years ago
- Legacy Backlogs Release (now unused) changed from 14 to 23
#3
Updated by Eric Helms about 8 years ago
- Target version changed from 63 to 66
#4
Updated by Eric Helms about 8 years ago
- Target version deleted (
66)
#5
Updated by Eric Helms about 8 years ago
- Legacy Backlogs Release (now unused) deleted (
23)
#6
Updated by Eric Helms almost 8 years ago
- Legacy Backlogs Release (now unused) set to 23
#7
Updated by Justin Sherrill almost 8 years ago
- Assignee set to Justin Sherrill
#8
Updated by Justin Sherrill almost 8 years ago
- Status changed from New to Assigned
Module fixed here: https://github.com/Katello/puppet-candlepin/pull/19
#9
Updated by Justin Sherrill almost 8 years ago
- Assignee changed from Justin Sherrill to Eric Helms
#10
Updated by The Foreman Bot almost 8 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/Katello/katello-installer/pull/206 added
- Pull request deleted (
)
#11
Updated by Eric Helms almost 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello-installer|b399f8f2b17bffe07a8417842ea41a87d128b2f2.
Refs #8777: Remove configuration directories to allow package control.
This is so that the base directories are setup by the RPM and thus
have the intended permissions and settings. This fixes issues such
as logrotate failing due to incorrect permissions settings.