"cups" and "cups-daemon" both logrotate /var/log/cups/*log

Bug #1157758 reported by Chad Miller on 2013-03-20
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
High
Unassigned

Bug Description

Every day, email to administrator:

Subject: Anacron job 'cron.daily' on zippy

/etc/cron.daily/logrotate:
error: cups-daemon:1 duplicate log entry for /var/log/cups/access_log

$ dpkg -L cups cups-daemon |grep logrotate.d/
/etc/logrotate.d/cups
/etc/logrotate.d/cups-daemon

$ head -1 /etc/logrotate.d/cups /etc/logrotate.d/cups-daemon
==> /etc/logrotate.d/cups <==
/var/log/cups/*log {

==> /etc/logrotate.d/cups-daemon <==
/var/log/cups/*log {

$ dpkg -l cups cups-daemon
ii cups 1.6.1-2 i386 Common UNIX Printing System(tm) - server
ii cups-daemon 1.6.1-2 i386 Common UNIX Printing System(tm) - server

Didier Raboud (odyx) wrote :

As far as I can see the code, this is handled since cups 1.6.1-1, unless you have modified /etc/logrotate/cups before the upgrade.

That said, I suspect Ubuntu might have gotten intermediate versions without 666367fc1d9fcdf18b71abf2254f8c12edc67f6b and there might be a need to handle that case specifically.

Till Kamppeter (till-kamppeter) wrote :

I have uploaded cups_1.6.2-1ubuntu1 now. Please try whether this removes the obsolete /etc/logrotate.d/cups now.

Changed in cups (Ubuntu):
status: New → Fix Committed
importance: Undecided → High
milestone: none → ubuntu-13.04
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cups - 1.6.2-1ubuntu1

---------------
cups (1.6.2-1ubuntu1) raring; urgency=low

  * debian/cups.maintscript: Added line "rm_conffile /etc/logrotate.d/cups
    1.6.2-1ubuntu1~" to clean up /etc/logrotate.d/cups conffile if it did not
    get moved by the mv_conffile line (LP: #1157758).
  * debian/control: Added libp11-kit-gnome-keyring to the build dependencies,
    it is needed for the tests.
 -- Till Kamppeter <email address hidden> Wed, 20 Mar 2013 18:13:01 +0100

Changed in cups (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers