/etc/logrotate.d/nagios_grapher is obsolete
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
nagiosgrapher (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
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
/etc/logrotate
/etc/logrotate.
diff -uw /etc/logrotate.
--- /etc/logrotate.
+++ /etc/logrotate.
@@ -1,13 +1,15 @@
/var/log/
- compress
weekly
missingok
- notifempty
+ rotate 52
+ compress
delaycompress
- create 640 nagios nagios
+ notifempty
+ create 644 nagios nagios
+ sharedscripts
postrotate
if [ -f /var/run/
- /etc/init.
+ /etc/init.
fi
endscript
}
Now it actual triggers an error when cron runs logrotate:
/etc/cron. daily/logrotate : nagiosgrapher/ ngraph. log nagiosgrapher/ ngraph. log , skipping
error: nagiosgrapher:1 duplicate log entry for /var/log/
error: found error in /var/log/