Opened on 06/08/2016 at 08:39:01 AM

#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):

Description

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.

Attachments (0)

Change History (0)

Add Comment

Modify Ticket

Change Properties
Action
as new .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from matze.
Next status will be 'reviewing'.
 
Note: See TracTickets for help on using tickets.