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

Bug#1017973: cups-browsed: Unable to print after resume from suspend



Package: cups-browsed
Version: 1.28.7-1+deb11u1
Severity: important
X-Debbugs-Cc: josh.sickmate@gmail.com

Dear Maintainer,

When resuming from suspend (such as re-opening the lid of my laptop), printing
over the network no longer works. I receive the following error:

    No destination host name supplied by cups-browsed for printer "name",
    is cups-browsed running?

Restarting the service (i.e. sudo service cups-browsed restart) resolves the
issue and printing then works. Attempting other fixes does not work; I've
tried starting and stopping the printer within the CUPS web interface for
example.

Note that my device needs to re-connect network after a resume. I of course
wait for this to finish before attempting printing.

The printer devices do show up within applications. I don't have any printers
"installed" as such, only using auto-detection. I regurally switch networks
between home and office. Device is a Dell XPS 13 model 9370.

I've examined the debian changelog an did not see any notable package changes
between 'stable' and 'unstable' versions of this package.

I have also examined the upstream changes for each of the versions, and have
found one possible fix, released in v1.28.9:

    https://github.com/OpenPrinting/cups-filters/pull/360
    "utils/cups-browsed.service: Add network-online.target"

This change alters the SystemD configuration to depend on the network being
online.

I've logged this bug report as I consider both printing and suspend/resume
to be important features. Futhermore, new users would consider printing to
be "broken" if they had closed the lid of their laptop even a single time
prior to printing.


-- System Information:
Debian Release: 11.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-8-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cups-browsed depends on:
ii  cups-daemon          2.3.3op2-3+deb11u1
ii  init-system-helpers  1.60
ii  libavahi-client3     0.8-5
ii  libavahi-common3     0.8-5
ii  libavahi-glib1       0.8-5
ii  libc6                2.31-13
ii  libcups2             2.3.3op2-3+deb11u1
ii  libcupsfilters1      1.28.7-1+deb11u1
ii  libglib2.0-0         2.66.8-1
ii  libldap-2.4-2        2.4.57+dfsg-3
ii  lsb-base             11.1.0

Versions of packages cups-browsed recommends:
ii  avahi-daemon  0.8-5

cups-browsed suggests no packages.

-- no debconf information


Reply to: