[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#916560: opensm: logrotate exits with error after package removal



Package: opensm
Version: 3.3.21-1
Severity: important
User: debian-qa@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 (*) 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...):

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


cheers,

Andreas

Attachment: opensm_3.3.21-1.log.gz
Description: application/gzip


Reply to: