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

Bug#848223: marked as done (cups-browsed: IPP printer disappears after logrotate is run)



Your message dated Thu, 19 Jan 2017 15:05:05 +0000
with message-id <E1cUEGv-000GW0-2Y@fasolo.debian.org>
and subject line Bug#848223: fixed in cups-filters 1.11.6-3
has caused the Debian Bug report #848223,
regarding cups-browsed: IPP printer disappears after logrotate is run
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
848223: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848223
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cups-browsed
Version: 1.13.0-2
Severity: important
Tags: upstream



cups-browsed.conf has "CreateIPPPrinterQueues AppleRaster" uncommented
to allow discovery of an Airprint-enabled ENVY 4500. The service was
restarted at about 00:05 this morning and the printer was shown in the
output of 'lpstat -a'.

Nine hours later 'systemctl status cups cups-browsed.service' has

 root@stretch:~# systemctl status cups cups-browsed.service
•  cups.service - CUPS Scheduler
    Loaded: loaded (/lib/systemd/system/cups.service; enabled; vendor preset: enabled)
    Active: active (running) since Thu 2016-12-15 07:35:03 GMT; 1h 52min ago
      Docs: man:cupsd(8)
  Main PID: 31078 (cupsd)
     Tasks: 3 (limit: 4915)
    CGroup: /system.slice/cups.service
            ├─31078 /usr/sbin/cupsd -l
            ├─31113 /usr/lib/cups/notifier/dbus dbus://
            └─31116 /usr/lib/cups/notifier/dbus dbus://

 Dec 15 07:35:03 stretch systemd[1]: Started CUPS Scheduler.

•  cups-browsed.service - Make remote CUPS printers available locally
    Loaded: loaded (/lib/systemd/system/cups-browsed.service; enabled; vendor preset: enabled)
    Active: active (running) since Thu 2016-12-15 07:35:03 GMT; 1h 52min ago
  Main PID: 31079 (cups-browsed)
     Tasks: 3 (limit: 4915)
    CGroup: /system.slice/cups-browsed.service
            └─31079 /usr/sbin/cups-browsed

 Dec 15 07:35:03 stretch systemd[1]: Started Make remote CUPS printers available locally.

logrotate was run at 07:35:03 amd the IPP printer is no longer in the
list of available print queues.

>From the attached error_log:

 I [15/Dec/2016:07:40:04 +0000] Expiring subscriptions...
 D [15/Dec/2016:07:40:04 +0000] Calling FindDeviceById(cups-HP-ENVY-4500-series)
 D [15/Dec/2016:07:40:04 +0000] Calling DeleteDevice(/org/freedesktop/ColorManager/devices/cups_HP_ENVY_4500_series)
 I [15/Dec/2016:07:40:04 +0000] Printer "HP-ENVY-4500-series" deleted by "root".
 D [15/Dec/2016:07:40:04 +0000] cupsdMarkDirty(----S)
 D [15/Dec/2016:07:40:04 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
 D [15/Dec/2016:07:40:04 +0000] cupsdMarkDirty(P----)
 D [15/Dec/2016:07:40:04 +0000] cupsdSetBusyState: newbusy="Active clients and dirty files", busy="Active clients and dirty files"
 D [15/Dec/2016:07:40:04 +0000] cupsdDeregisterPrinter(p=0x81270e28(HP-ENVY-4500-series), removeit=1)

[...]

 D [15/Dec/2016:07:40:04 +0000] [Notifier] PrinterDeleted

At the end of the attached cups-browsed_log:

 Thu Dec 15 07:35:05 2016 Matching printer "HP-ENVY-4500-series" with properties Host = "envy4500.local", Port = 631, Service Name = "HP ENVY 4500 series [FAFAC2]", Domain = "local" with the BrowseFilter lines in cups-browsed.conf
 Thu Dec 15 07:35:05 2016 All BrowseFilter lines matched or skipped, accepting printer HP-ENVY-4500-series
 Thu Dec 15 07:35:05 2016 checking queues in 299s
 Thu Dec 15 07:40:04 2016 Processing printer list ...
 Thu Dec 15 07:40:04 2016 No remote printer named hp-envy-4500-series available, removing entry from previous session.
 Thu Dec 15 07:40:04 2016 Removing entry hp-envy-4500-series and its CUPS queue.
 Thu Dec 15 07:40:04 2016 Recording printer options for hp-envy-4500-series to /var/cache/cups/cups-browsed-options-hp-envy-4500-series
 Thu Dec 15 07:40:04 2016 Could not determine system default printer!
 Thu Dec 15 07:40:04 2016 listening
 Thu Dec 15 07:40:04 2016 [CUPS Notification] Printer deleted: Printer "HP-ENVY-4500-series" deleted by "root".

The same behaviour can be reproduced with the commands:

  logrotate -f /etc/logrotate.d/cups-daemon
or
  systemctl restart cups cups-browsed.service
or
  systemctl restart cups ; sleep 3 ; systemctl restart cups-browsed.service

-- 
Brian.

Attachment: error_log.gz
Description: application/gzip

Attachment: cups-browsed_log.gz
Description: application/gzip


--- End Message ---
--- Begin Message ---
Source: cups-filters
Source-Version: 1.11.6-3

We believe that the bug you reported is fixed in the latest version of
cups-filters, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 848223@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Didier Raboud <odyx@debian.org> (supplier of updated cups-filters package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Thu, 19 Jan 2017 14:44:34 +0100
Source: cups-filters
Binary: libcupsfilters1 libfontembed1 cups-filters cups-filters-core-drivers libcupsfilters-dev libfontembed-dev cups-browsed
Architecture: source
Version: 1.11.6-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
Changed-By: Didier Raboud <odyx@debian.org>
Description:
 cups-browsed - OpenPrinting CUPS Filters - cups-browsed
 cups-filters - OpenPrinting CUPS Filters - Main Package
 cups-filters-core-drivers - OpenPrinting CUPS Filters - PPD-less printing
 libcupsfilters-dev - OpenPrinting CUPS Filters - Development files for the library
 libcupsfilters1 - OpenPrinting CUPS Filters - Shared library
 libfontembed-dev - OpenPrinting CUPS Filters - Development files for font embed libr
 libfontembed1 - OpenPrinting CUPS Filters - Font Embed Shared library
Closes: 848167 848223 849380
Changes:
 cups-filters (1.11.6-3) unstable; urgency=medium
 .
   [ Didier Raboud ]
   * Backport bug-fixes from the 1.13 branch:
     - cups-browsed: Fixed handling of IPP network printer queues when
       cupsd gets temporarily stopped while cups-browsed keeps running
       (Closes: #848167, #848223)
     - imagetoraster: Fixed several bugs in the calculation of the page
       geometry (Closes: #849380)
     - cups-browsed: Make support for printers with IPv6 IP addresses work
Checksums-Sha1:
 67937e5bcd7abdca519d1d79659b1b9a7a8a1c1d 2748 cups-filters_1.11.6-3.dsc
 a87ba02c3c1ca8f98f0e1378a79b649719bb2bfe 74612 cups-filters_1.11.6-3.debian.tar.xz
Checksums-Sha256:
 77ca7558ffec2bf08d0c36807824413d94d7de1b4ff0e43da19525f49c7d2ad5 2748 cups-filters_1.11.6-3.dsc
 17fdfe42e5b0cdc1b2b3c31dffad01497c634325d41be980648a9152287864c4 74612 cups-filters_1.11.6-3.debian.tar.xz
Files:
 ee509e8c4c1d648bf4fe3e671d67c370 2748 net optional cups-filters_1.11.6-3.dsc
 c2c596f3fea1c5ca8b5c7afe24c197ab 74612 net optional cups-filters_1.11.6-3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQGzBAEBCgAdFiEEe+WPIRpjNw1/GSB7i8+nHsoWNFUFAliAxNUACgkQi8+nHsoW
NFWbAAv/SPAXYc2gz4rDQdh1+9Vw4WLHaHGytUM3tFkkTQ9Pd/XUDnMzrsXdwz/5
q1EWXwbfyXztb8oKiSixeb8yS3ntgnckJOD1hgHWcrfntDYzUwBmMC136hQ7Iv63
9v021s2DLjP0ZslvsUOG5tjl0ihcQPxaS5m+yqPalqbCM0YD42JjhQkLuHlA4LTT
9T9DwtACujrdNPCgyKxkQx4Ox4RhYaGXEej4+e2WwsYxKeK5mBDL6qBQPGlDx0SF
SBQGH5AVsBAClNvjVmJ/giu/qRlb2TrWQQ8EekOjs2LQaEHgSx439iyisuV5MY4+
WTmbjhbPdc7+Wac+g5g/99S8M3+ZfpYkha9P+QZ2E9EmPpbmRRnZ4kfvLH/W9tWB
/zO8ev3op6ZRVLolii8OEv6zaDq6zTFNqJ9gR6SBbutUxgwMnKy5G+qqVcmgyn0L
Gqv49T7iRO/yssxE4XEjiONFxjmWMFzungJfVKU9bTfifl3K884oCbv8KTIz2i1d
R1Q/Vh6l
=koWc
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: