Bug#911519: quickml: logrotate exits with error after package removal

2019-03-21 Thread Kenshi Muto
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

Hi,

At Thu, 21 Mar 2019 10:58:14 +0100,
Andreas Beckmann wrote:
> attached you can find a trivial patch that adds the 'missingok' keyword
> to the logrotate config.
> 
> Please get this fixed and unblocked for buster as it can result in
> piuparts regressions (due to the more strict checking we do nowadays).
> I might consider NMUing this fix.

Thanks, please NMU it.
- -- 
Kenshi Muto

-BEGIN PGP SIGNATURE-
Comment: Processed by Mailcrypt 3.5.9 

iQIzBAEBCAAdFiEEnMxcIsEJVbWPVaUbHSHIPcRS4PwFAlyTeB4ACgkQHSHIPcRS
4PzbTxAAivOKkWAZjLMT8ykoeyec2ZHi31UHz9OxOh1u2xPP1rRklNioCr1XNTjJ
yhbzjn7/RVr0pAu71wiMZ4+gTKv+A8PTAFtHlZ4Dh5BAVt606c5LEchVvNULAmLC
atKkuZCSsVsGx2o5RHiAVk23QWfAuVmTfbdwPHGskvlE0j8kvtLZTC2qeUQOEMYb
cQVA2JTKfH4/ga62f88RKWJCdSkiCCDMO6CHXuFK7j+jM7Bp9jsTl9sFoyrQmkWu
/1gBRLBs5tK+iH6XLsUx+Rk7PD4t/TEvDig557/eaSDVk02ypEVKWELmR2x3Q2X2
RgaomQpV0QBkFesK+ZWVEjQB4/jTKV2BUMWfqT5S5qkMokzZeCvqnr8/Ryq2GZZV
kFk1gbUfthchD5MdrjzPmk6BPsqyG5MufHRWnEjOpbKKduT4DG5x1kVYC3zgtpjL
zAER3OryC+yEzciU6cGA0p5d778COA1H6L0P1u5MwaGvW3I3Gl9CsQ//6RjGXvsc
HyICVu1+tMsen0g24X5Z8AUVWfy6tx9YQ6OFi4kBljTdgWEfxZYRfrw8hDIlG5s/
0QJL+1x8QQZRXwd/AJtEenNiNZf3Nx7POoFkHoa9RdS4oJRKog8syCpGT/7D8TAK
ptw4tYwVtE5jFrOccSGi8cmdGOt0ZUSJLGpBpoCIdjtrbrDp1eg=
=95kC
-END PGP SIGNATURE-



Bug#911519: quickml: logrotate exits with error after package removal

2019-03-21 Thread Andreas Beckmann
Followup-For: Bug #911519
Control: tag -1 patch

Hi,

attached you can find a trivial patch that adds the 'missingok' keyword
to the logrotate config.

Please get this fixed and unblocked for buster as it can result in
piuparts regressions (due to the more strict checking we do nowadays).
I might consider NMUing this fix.


Andreas
diff -u quickml-0.7/debian/changelog quickml-0.7/debian/changelog
--- quickml-0.7/debian/changelog
+++ quickml-0.7/debian/changelog
@@ -1,3 +1,10 @@
+quickml (0.7-5.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add 'missingok' to logrotate config.  (Closes: #911519)
+
+ -- Andreas Beckmann   Thu, 21 Mar 2019 10:42:01 +0100
+
 quickml (0.7-5) unstable; urgency=low
 
   * Transition to Ruby 1.9 / 2.0.
diff -u quickml-0.7/debian/quickml.logrotate 
quickml-0.7/debian/quickml.logrotate
--- quickml-0.7/debian/quickml.logrotate
+++ quickml-0.7/debian/quickml.logrotate
@@ -2,6 +2,7 @@
  rotate 12
  weekly
  compress
+ missingok
  postrotate
  /etc/init.d/quickml restart
  endscript


Bug#911519: quickml: logrotate exits with error after package removal

2018-10-21 Thread Andreas Beckmann
Package: quickml
Version: 0.7-5
Severity: important
User: debian...@lists.debian.org
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.

>From the attached log (scroll to the bottom...):

0m35.7s ERROR: Command failed (status=1): ['chroot', 
'/srv/piuparts/tmp/tmpqofaTI', '/usr/sbin/logrotate', 
'/etc/logrotate.d/quickml']
  error: stat of /var/log/quickml failed: No such file or directory


cheers,

Andreas


quickml_0.7-5.log.gz
Description: application/gzip