🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #1997

Bug#1141709: cups-browsed: Please backport upstream cups-browsed fix 57d9351 to handle damaged implicitclass queues

#1997
From: Hauke Lathus
Date: Sun, 25 Oct 2026 00:10
42 lines
3792 bytes
Hi,

I can confirm this on Debian 13 (cups 2.4.10-3+deb13u2, cups-browsed
1.28.17-6+deb13u1) on two clients printing to a shared queue on a
Debian 13 CUPS server. With DebugLogging enabled, I can see how the
queue ends up unmanaged:

1. A job prints successfully but remains in the local queue
   ("job-printing"). The server's access_log shows the client sending
   Cancel-Job 35 seconds after Send-Document, which the server rejects
   because the job is already completed:

     23:33:34 "POST /printers/..." Send-Document successful-ok
     23:34:09 "POST /printers/..." Cancel-Job client-error-not-possible

   Client error_log: "[Job 2] Unable to cancel print job."
   I don't know why the client cancels the job.

2. When cups-browsed is stopped (restart or shutdown) while that job is
   still listed, it keeps the queue instead of removing it:

     Queue has still jobs or CUPS error!
     Disabled printer 'O_Brother_Where_Art_Thou_lalaserver'

3. The remaining queue has no "cups-browsed" option in printers.conf
   (only "DeviceURI implicitclass://..."). After the next start,
   cups-browsed no longer treats it as its own:

     Found CUPS queue/class: O_Brother_Where_Art_Thou on host lalaserver.local.
     Queue name O_Brother_Where_Art_Thou_lalaserver already taken.

   From then on every job fails with "No destination host name supplied
   by cups-browsed ..." until the queue is deleted manually.

Step 3 is what upstream commit 57d9351 addresses (implicitclass:// queues
are always treated as cups-browsed-controlled), so a backport to trixie
should prevent the permanent breakage.

Workaround in use here: cups-browsed masked, printing via CUPS' own
driverless DNS-SD destinations. That works reliably.

Thanks!
Technical Details
Message-ID: <NRTYe-7GNP-15@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NeToB-3FYy-5@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Hauke Lathus <hauke@lathus.de>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1141709: cups-browsed: Please backport upstream cups-browsed fix 57d9351 to handle damaged implicitclass queues
Date: Sun, 25 Oct 2026 02:10:02 +0200
Message-ID: <NRTYe-7GNP-15@gated-at.bofh.it>
References: <NeToB-3FYy-5@gated-at.bofh.it>
X-Original-To: 1141709@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sun Oct 25 00:03:33 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.45
Reply-To: Hauke Lathus <hauke@lathus.de>, 1141709@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-printing@lists.debian.org
X-Debian-Pr-Message: followup 1141709
X-Debian-Pr-Package: cups-browsed
X-Debian-Pr-Source: cups-filters
Authentication-Results: ananke.uberspace.de;
	auth=pass (login)
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="utf-8"
X-Rspamd-Bar: +++
X-Rspamd-Report: BAYES_HAM(-0.481058) MID_RHS_NOT_FQDN(0.5) THREAD_HIJACKING_FROM_INJECTOR(2) MIME_GOOD(-0.1) FAKE_REPLY(1) CTE_CASE(0.5)
X-Rspamd-Score: 3.418941
X-Greylist: delayed 569 seconds by postgrey-1.37 at buxtehude; Sun, 25 Oct 2026 00:00:05 UTC
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1998635
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 42
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sun, 25 Oct 2026 01:50:24 +0200
X-Original-Message-ID: <12993681.O9o76ZdvQC@nipogi>
X-Original-References: <178358841195.980637.9680501108400138794.reportbug@xps9320.sw1v.org>