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
Detailed bug description: 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." d/puppet" 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. puppet. log can grow and "eat" valuable space
On fuel nodes "logrotate -f /etc/logrotate.
Steps to reproduce:
ssh to node and run "logrotate -f /etc/logrotate.
Expected results:
no errors
Actual result:
error: skipping "/var/log/
Reproducibility:
-
Workaround:
-
Impact:
/var/log/
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