/etc/logrotate.d/nagios_grapher is obsolete

Bug #466671 reported by Kai Pastor
This bug affects 9 people
Affects Status Importance Assigned to Milestone
nagiosgrapher (Ubuntu)

Bug Description

Binary package hint: nagiosgrapher

Ubuntu 9.10, nagiosgrapher 1.7.1-1:

nagiosgrapher adds two similar files to /etc/logrotate.d:

 /etc/logrotate.d/nagios_grapher 9a4333eecf8d34ddefd1b8b8533f951f
 /etc/logrotate.d/nagiosgrapher ede77ade1d3303a8709b4da73ef9ca68

/etc/logrotate.d/nagios_grapher seems to be obsolete - it references a non-existing /etc/init.d/nagios_grapher:

diff -uw /etc/logrotate.d/nagios*
--- /etc/logrotate.d/nagios_grapher 2009-05-02 05:19:09.000000000 +0200
+++ /etc/logrotate.d/nagiosgrapher 2008-05-13 14:39:03.000000000 +0200
@@ -1,13 +1,15 @@
 /var/log/nagiosgrapher/ngraph.log {
- compress
- notifempty
+ rotate 52
+ compress
- create 640 nagios nagios
+ notifempty
+ create 644 nagios nagios
+ sharedscripts
   if [ -f /var/run/nagiosgrapher/nagiosgrapher.pid ]; then
- /etc/init.d/nagios_grapher restart > /dev/null
+ /etc/init.d/nagiosgrapher restart > /dev/null

Revision history for this message
Kai Pastor (dg0yt) wrote :

Now it actual triggers an error when cron runs logrotate:

error: nagiosgrapher:1 duplicate log entry for /var/log/nagiosgrapher/ngraph.log
error: found error in /var/log/nagiosgrapher/ngraph.log , skipping

Revision history for this message
Daniel Benamy (dbenamy) wrote :

It seems like the newer version fixes this but it only being released for maverick. Is there any way to get it for lucid too?

Revision history for this message
Wanderson Santiago dos Reis (wasare) wrote :

I'm affected for this bug too like Kai Pastor.

Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in nagiosgrapher (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.