Comment 0 for bug 1581098

Revision history for this message
Dmitry Burmistrov (dmburmistrov) wrote :

Detailed bug description:
 On fuel nodes "logrotate -f /etc/logrotate.d/puppet" fails with error: "error: skipping "/var/log/puppet.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."
Steps to reproduce:
 ssh to node and run "logrotate -f /etc/logrotate.d/puppet"
Expected results:
 no errors
Actual result:
 error: skipping "/var/log/puppet.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.
Reproducibility:
 -
Workaround:
 -
Impact:
 /var/log/puppet.log can grow and "eat" valuable space
Description of the environment:
 Operation system: Ubuntu 16.04
 Versions of components: -
 Reference architecture: -
 Network model: -
 Related projects installed: -
Additional information:
 "su puppet puppet" should fix the problem