Package: slrnpull
Version: 1.0.0~pre18-1.3
Severity: normal
Tags: patch

When I configure the slrnpull to only run manually,
/var/log/news/slrnpull.log does not exist at all (it is not empty),
so logrotate needs missingok in addition to notifempty.
Otherwise logrotate will fail during its daily cron run.

-- debconf information:
* slrnpull/run_from: manually
diff --git a/debian/slrnpull.logrotate b/debian/slrnpull.logrotate
index 615b41d..b222428 100644
--- a/debian/slrnpull.logrotate
+++ b/debian/slrnpull.logrotate
@@ -6,5 +6,6 @@
 	# Skip rotation if the log file is empty; this will happen if
 	# slrnpull isn't being run daily via cron.
 	notifempty
+	missingok
 	create 644 news adm
 }

Reply via email to