Project

General

Profile

Bug #654

Anacron job 'cron.daily' on Toushirou: error: skipping "/var/log/zabbix-agent/zabbix_agentd.log"

Added by Pierre-Louis Bonicoli about 2 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Category:
Org :: Admin
Start date:
2019-05-26
Due date:
% Done:

100%

Patch Available:
Confirmed:
Yes
Branch:
Entity:
DuckCorp
Security:
No
Help Needed:
No

Description

Anacron job 'cron.daily' failure on Toushirou:

/etc/cron.daily/logrotate:
error: skipping "/var/log/zabbix-agent/zabbix_agentd.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.
run-parts: /etc/cron.daily/logrotate exited with return code 1

Fixed by ansible-role-zabbix|1f6956653b6af5ba2842a76cc0e190bff35ceae5

History

#1 Updated by Pierre-Louis Bonicoli about 2 months ago

Applied with ANSIBLE_DISPLAY_SKIPPED_HOSTS=0 ANSIBLE_DISPLAY_OK_HOSTS=0 ansible-playbook -i hosts.yml playbooks/common.yml --diff

Also available in: Atom PDF