[Piuparts-devel] [Git][debian/piuparts][develop] bug-templates/logrotate_exits_with_error_after_package_removal: explain 2nd…
Holger Levsen
gitlab at salsa.debian.org
Thu Dec 6 13:04:10 GMT 2018
Holger Levsen pushed to branch develop at Debian / piuparts
Commits:
50807bd5 by Holger Levsen at 2018-12-06T13:03:59Z
bug-templates/logrotate_exits_with_error_after_package_removal: explain 2nd possible cause and solution
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
2 changed files:
- bug-templates/logrotate_exits_with_error_after_package_removal.mail
- debian/changelog
Changes:
=====================================
bug-templates/logrotate_exits_with_error_after_package_removal.mail
=====================================
@@ -10,8 +10,12 @@ Usertags: piuparts
Hi,
during a test with piuparts I noticed your package's logrotate configuration
-causes logrotate to exit with an error after the package has been removed.
-(logrotate configuration files remain installed and executed after a package
+causes logrotate to exit with an error after the package has been removed (*) or
+when logrote is run but no logfile exists.
+
+Usually the solution is to specify 'missingok' in the logrotate configuration.
+
+*) logrotate configuration files remain installed and executed after a package
has been removed, they only get removed when the package is purged.
From the attached log (scroll to the bottom...):
=====================================
debian/changelog
=====================================
@@ -25,7 +25,7 @@ piuparts (0.95) UNRELEASED; urgency=medium
uses-dpkg-database-directly warnings, after confirming we are not doing
that.
* bug-templates/logrotate_exits_with_error_after_package_removal: clarify
- the cause of this problem.
+ possibles causes of this problem as well as the solution.
[ Andreas Beckmann ]
* Clarify errors from installing objects over existing symlinks.
View it on GitLab: https://salsa.debian.org/debian/piuparts/commit/50807bd57c575ef2f7437f8d83eab43b0a5b1d0f
--
View it on GitLab: https://salsa.debian.org/debian/piuparts/commit/50807bd57c575ef2f7437f8d83eab43b0a5b1d0f
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/piuparts-devel/attachments/20181206/7182d398/attachment-0001.html>
More information about the Piuparts-devel
mailing list