Logrotate uses wrong command
Bug #1433986 reported by
Trefex
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.
I tested this setting with logrotate -vf /etc/logrotate.
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,
affects: | icinga (Ubuntu) → icinga2 (Ubuntu) |
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.