Opened 4 years ago

#4137 new defect

Fix system log rotation

Reported by: matze Assignee: matze
Priority: P3 Milestone:
Module: Infrastructure Keywords:
Cc: Blocked By:
Blocking: Platform: Unknown / Cross platform
Ready: yes Confidential: no
Tester: Unknown Verified working: no
Review URL(s):


Recent versions of Debian derivates do not use the SysV init-style any more, hence some of our older scripts do not work as intended in such an environment any more:

From: Cron Daemon <root@*>
Date: Wed, Jun 8, 2016 at 1:00 AM
Subject: Cron <root@*> /usr/sbin/logrotate /etc/logrotate.conf
To: root@*

logrotate_script: 2: logrotate_script: invoke-rc.d: not found
error: error running non-shared postrotate script for /var/log/syslog of '/var/log/syslog

These circumstances are well-known and documented though, so fixing should be a pretty straightforward task.

Change History (0)

Note: See TracTickets for help on using tickets.