Logrotate uses wrong command

Bug #1433986 reported by Trefex
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
icinga2 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hi,

In Ubuntu 1204, the 'su' option is not implemented.

This results in an error,

error: icinga2:4 unknown option 'su' -- ignoring line
error: icinga2:4 unexpected text
error: icinga2:20 unknown option 'su' -- ignoring line
error: icinga2:20 unexpected text

It can be fixed by commenting out the su nagios nagios lines in /etc/logrotate.d/icinga2

I tested this setting with logrotate -vf /etc/logrotate.d/icinga2

And found that all new as well as logrotated files had the same permissions as before.

This leads me to think that these lines can safely be removed from Ubuntu packages.

Best,

Trefex (trefex)
affects: icinga (Ubuntu) → icinga2 (Ubuntu)
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in icinga2 (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.