Package: cups-browsed
Version: 1.28.17-3+deb12u1
Severity: important
X-Debbugs-Cc: postmas...@ruetz.at, s...@grufo.com, t...@security.debian.org

after latest upgrade to 1.28.17-3+deb12u1 printing fails, cups-browsed finds 
the printers and removes them during discovery.

in the cups-browsed_log logfile there are entries like this one:
Mon Sep 30 15:58:37 2024 get-printer-attributes IPP call failed on printer 
ARCHIV (ipp://ARCHIV%20%40%20ps04._ipp._tcp.local/cups).
Mon Sep 30 15:58:37 2024 Printer ipp://ARCHIV%20%40%20ps04._ipp._tcp.local/cups 
(ps04.local, 192.168.60.34): Local queue ARCHIV, Remote CUPS Printer, Slave of 
None (To be created/updated)
Mon Sep 30 15:58:37 2024 DNS-SD IDs: Service name: "ARCHIV @ ps04", Service 
type: "_ipp._tcp", Domain: "local"
...
Mon Sep 30 15:59:03 2024 get-printer-attributes IPP call failed on printer 
ARCHIV (ipps://ARCHIV%20%40%20ps04._ipps._tcp.local/cups).
Mon Sep 30 15:59:03 2024 Printer ARCHIV (Host: ps04.local, Port: 631, URI: 
ipps://ARCHIV%20%40%20ps04._ipps._tcp.local/cups) disappeared and no slave 
available (or it is a slave of another printer), removing entry.
Mon Sep 30 15:59:03 2024 === Remote printer overview ===
Mon Sep 30 15:59:03 2024 Printer 
ipps://ARCHIV%20%40%20ps04._ipps._tcp.local/cups (ps04.local, 192.168.60.34): 
Local queue ARCHIV, Remote CUPS Printer, Slave of None (Disappeared)
Mon Sep 30 15:59:03 2024 ===============================
Mon Sep 30 15:59:03 2024 checking queues in 0s
Mon Sep 30 15:59:03 2024 Processing printer list ...
Mon Sep 30 15:59:03 2024 === Remote printer overview ===
Mon Sep 30 15:59:03 2024 Printer 
ipps://ARCHIV%20%40%20ps04._ipps._tcp.local/cups (ps04.local, 192.168.60.34): 
Local queue ARCHIV, Remote CUPS Printer, Slave of None (Disappeared)
Mon Sep 30 15:59:03 2024 ===============================
Mon Sep 30 15:59:03 2024 Removing entry ARCHIV 
(ipps://ARCHIV%20%40%20ps04._ipps._tcp.local/cups) and its CUPS queue.
Mon Sep 30 15:59:03 2024 Recording printer options for ARCHIV to 
/var/cache/cups/cups-browsed-options-ARCHIV
Mon Sep 30 15:59:03 2024 Unable to get PPD file for ARCHIV: Nicht gefunden
Mon Sep 30 15:59:03 2024 Recording option settings from the IPP attributes for 
ARCHIV:
Mon Sep 30 15:59:03 2024 Requested IPP attributes (get-printer-attributes) for 
printer with URI ipp://localhost/printers/ARCHIV

and afterwards the printer is remove from "lpc status" list.

if we downgrade to the old version without the latest secruity fixes everything 
works great.

the logfile looks like that:
Mon Sep 30 15:56:33 2024 Print queue ARCHIV is for remote CUPS queue(s) and we 
get notifications from CUPS, using implicit class device URI 
implicitclass://ARCHIV/
Mon Sep 30 15:56:33 2024 PPD generation successful: Apple Raster PPD generated.
Mon Sep 30 15:56:33 2024 Created temporary PPD file: /tmp/1918a567086ab5
Mon Sep 30 15:56:33 2024 Using PPD /tmp/1918a567086ab5 for queue ARCHIV.
Mon Sep 30 15:56:33 2024 Editing PPD file /tmp/1918a567086ab5 for printer 
ARCHIV, setting the option defaults of the previous cups-browsed session and 
doing client-side filtering of the job, saving the resulting PPD in 
/tmp/1918a5670872a1.
Mon Sep 30 15:56:33 2024 Non-raw queue ARCHIV with PPD file: /tmp/1918a5670872a1
Mon Sep 30 15:56:33 2024 Unsetting printer-is-shared bit.
Mon Sep 30 15:56:33 2024 Failed reading file 
/var/cache/cups/cups-browsed-remote-default-printer

we can not upgrade our clients to the latest version with security fixes.
please help us to resolve this issue, I will upload the logfiles later.

regards
Manfred



-- System Information:
Debian Release: 12.1
  APT prefers stable
  APT policy: (900, 'stable'), (500, 'stable-updates'), (500, 'stable-security')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.1.0-25-amd64 (SMP w/2 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
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.4.2-3+deb12u8
ii  init-system-helpers        1.65.2
ii  libavahi-client3           0.8-10
ii  libavahi-common3           0.8-10
ii  libavahi-glib1             0.8-10
ii  libc6                      2.36-9+deb12u8
ii  libcups2                   2.4.2-3+deb12u8
ii  libcupsfilters1            1.28.17-3+deb12u1
ii  libglib2.0-0               2.74.6-2+deb12u3
ii  libldap-2.5-0              2.5.13+dfsg-5
ii  lsb-base                   11.6
ii  sysvinit-utils [lsb-base]  3.06-4

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

cups-browsed suggests no packages.

-- Configuration Files:
/etc/cups/cups-browsed.conf changed:
LogDir /var/log/cups
DebugLogging file stderr
BrowseFilter host ps04
LocalQueueNamingRemoteCUPS RemoteName
CreateRemoteRawPrinterQueues Yes
IPBasedDeviceURIs IPv4
DebugLogFileSize 300


-- no debconf information

Reply via email to