[Pkg-cups-devel] Bug#611867: Logrotate bug in cups when deleted but not purged

John N r74wqui at gmail.com
Thu Feb 3 04:20:15 UTC 2011


Package: cups
Version: 1.4.4-7

When cups is deleted via aptitude, but not purged, the following email if
generated every day:

/etc/cron.daily/logrotate:
error: error accessing /var/log/cups: No such file or directory
error: cups:1 glob failed for /var/log/cups/*log
error: found error in /var/log/cups/*log , skipping

The fault spears to be in:

~$ cat /etc/logrotate.d/cups

which has a wild card which can never expand under these circumstances:

/var/log/cups/*log {
        daily
        missingok

The "missingok" is also useless, since the error will occur before the
contents of the braces are parsed.

Reported from my android phone, sorry that I could not use "reportbug"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-cups-devel/attachments/20110203/ceaa5652/attachment.htm>


More information about the Pkg-cups-devel mailing list