Project

General

Profile

Bug #8777

[logrotate] error: skipping "/var/log/candlepin/audit.log" because parent directory has insecure permissions

Added by Florian Koch about 8 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
trivial
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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

Associated revisions

Revision dcdeddd2 (diff)
Added by Eric Helms almost 8 years ago

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.

Revision c10d17bd
Added by Eric D Helms almost 8 years ago

Merge pull request #18 from ehelms/fixes-8777

Refs #8777: Remove configuration directories to allow package control.

Revision b399f8f2 (diff)
Added by Eric Helms almost 8 years ago

Fixes #8777: Fix logrotate errors with Candlepin.

Revision 64c392c6
Added by Eric D Helms almost 8 years ago

Merge pull request #206 from ehelms/fixes-8777

Fixes #8777: Fix logrotate errors with Candlepin.

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

#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

Also available in: Atom PDF