[Bug 466671] [NEW] /etc/logrotate.d/nagios_grapher is obsolete

Kai Pastor dg0yt at darc.de
Sat Oct 31 13:48:59 UTC 2009


Public bug reported:

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
 	weekly
 	missingok
-	notifempty
+	rotate 52
+	compress
 	delaycompress
-	create 640 nagios nagios
+	notifempty
+	create 644 nagios nagios
+	sharedscripts
 	postrotate
 		if [ -f /var/run/nagiosgrapher/nagiosgrapher.pid ]; then
-			/etc/init.d/nagios_grapher restart > /dev/null
+			/etc/init.d/nagiosgrapher restart > /dev/null
 		fi
 	endscript
 }

** Affects: nagiosgrapher (Ubuntu)
     Importance: Undecided
         Status: New

-- 
/etc/logrotate.d/nagios_grapher is obsolete
https://bugs.launchpad.net/bugs/466671
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list