[DRE-maint] Bug#915026: chef: logrotate exits with error after package removal

Andreas Beckmann anbe at debian.org
Thu Nov 29 16:14:22 GMT 2018

Package: chef
Version: 12.14.60-2
Severity: important
User: debian-qa at lists.debian.org
Usertags: piuparts


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...):

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

Since chef was only installed and removed in this scenario,
but never ran, no logfiles have been created at all.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: chef_None.log.gz
Type: application/gzip
Size: 33511 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-ruby-extras-maintainers/attachments/20181129/031a67b1/attachment-0001.gz>

More information about the Pkg-ruby-extras-maintainers mailing list