--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: restarting cups-browsed deleted print jobs
- From: Anthony DeRobertis <anthony@derobert.net>
- Date: Thu, 06 Sep 2018 13:31:51 -0400
- Message-id: <153625511171.30555.13990141438242336939.reportbug@Zia.metrics.net>
Package: cups-browsed
Version: 1.21.1-1
Severity: grave
I had an two jobs of online receipts set to print to a cups-browsed
remote print queue (a PDF printer on a remote machine), and a bit after
printing noticed that print handn't completed. I checked the local CUPS
status page and saw a message that cups-pdf hadn't provided a host name,
confirm it is running (compare bug #887495).
I checked (via systemctl status), it was running:
root@Zia:~# systemctl status cups-browsed.service
● 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 2018-09-06 00:00:04 EDT; 13h ago
Main PID: 31796 (cups-browsed)
Tasks: 3 (limit: 4915)
Memory: 5.0M
CGroup: /system.slice/cups-browsed.service
└─31796 /usr/sbin/cups-browsed
Sep 06 00:00:04 Zia systemd[1]: Started Make remote CUPS printers available locally.
... since it wasn't working, I did the obvious thing: systemctl restart cups-browsed.service
After doing so, the queue in the browser refreshed and showed empty. But
I checked — the PDFs were not created. Showing completed jobs shows
nothing. Looking in /var/spool/cups (on both the local machine and the
remote machine) shows no sign of the two jobs.
So it appears restarting cups-browsed deletes all pending print jobs.
Unfortunately, they're just gone ... hope I don't need those receipts.
A test page now works, so at least it fixed the queue. Testing
restarting it again, the job history is indeed gone, so that confirms
its deleting the data.
Unexpectedly and without warning discarding user data (pending print
jobs) really isn't OK, especially when CUPS itself is suggesting the
action that led to it.
Also, it looks like it was automatically restarted yesterday & this morning at
midnight; that makes this worse.
-- System Information:
Debian Release: buster/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'testing'), (200, 'unstable'), (150, 'stable'), (100, 'experimental'), (1, 'experimental-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.17.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en_GB (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages cups-browsed depends on:
ii cups-daemon 2.2.8-5
ii libavahi-client3 0.7-4
ii libavahi-common3 0.7-4
ii libavahi-glib1 0.7-4
ii libc6 2.27-5
ii libcups2 2.2.8-5
ii libcupsfilters1 1.21.1-1
ii libglib2.0-0 2.56.1-2
ii libldap-2.4-2 2.4.46+dfsg-5
ii lsb-base 9.20170808
Versions of packages cups-browsed recommends:
ii avahi-daemon 0.7-4
cups-browsed suggests no packages.
-- Configuration Files:
/etc/cups/cups-browsed.conf changed:
BrowseRemoteProtocols dnssd cups
BrowsePoll watt.home
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: cups-filters
Source-Version: 1.21.5-1
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 908147@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: Wed, 05 Dec 2018 23:03:42 +0100
Source: cups-filters
Binary: libcupsfilters1 libfontembed1 cups-filters cups-filters-core-drivers libcupsfilters-dev libfontembed-dev cups-browsed
Architecture: source
Version: 1.21.5-1
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 - Driverless 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: 905850 908147 908604 910882
Changes:
cups-filters (1.21.5-1) unstable; urgency=medium
.
* New upstream version 1.21.5
- cups-browsed: We cannot reliably determine whether a CUPS queue is
temporary, so we apply the procedure to make a temporary queue
permanent to any unshared queue (Closes: #910882, #905850, #908604)
.
* Backport upstream patch:
- cups-browsed: On shutdown queues got removed even if they still
had jobs (Closes: #908147)
Checksums-Sha1:
e21598b15147eab3be7ec9facd2f85a641d14d21 2835 cups-filters_1.21.5-1.dsc
a7b2cd60918c4a976e5aa2f1915cfdf5724eafbe 1474388 cups-filters_1.21.5.orig.tar.xz
b351ae45e3e2992071d802a30210197b1cf22a4c 73896 cups-filters_1.21.5-1.debian.tar.xz
Checksums-Sha256:
bb531c1486de280be27a4987eaa6f0ca7bd34a99cceacc551d19f00b5dc6707f 2835 cups-filters_1.21.5-1.dsc
389ba80917e9a2157a3af8c0b7d8b80db34a22e22beffab67928783c8f4cf82b 1474388 cups-filters_1.21.5.orig.tar.xz
a62e79652a98dacc71080724c6050481c7265e53437de9aed573efd652dc5356 73896 cups-filters_1.21.5-1.debian.tar.xz
Files:
3f8106dc490e08408561aaefd51981ea 2835 net optional cups-filters_1.21.5-1.dsc
cdf101d2c0ad6b9fe499395cda3e99c6 1474388 net optional cups-filters_1.21.5.orig.tar.xz
5943fde57d6a722a6cfa3c81e5d8660f 73896 net optional cups-filters_1.21.5-1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQGzBAEBCgAdFiEEe+WPIRpjNw1/GSB7i8+nHsoWNFUFAlwIURMACgkQi8+nHsoW
NFXInAv/TEm2+GwDVrk/6K75nXa9lIpZCYwCIrbWF96TsbEy4nfailLfF8225lHD
gymbldjAw7BAMYkMB+GiQb/g5cm4jexhEHvhXR59DcReMP9ZhjV1ZVR6Z5ciS2O7
1TLnyTUHv4ok9PkpxoGUZldhK86A3YXhV3D/SPDEHVKS8/MjBeWfDAk6tLbSC0/B
fQqFPquDwQySLT4MgoRjIy9N+loXNbfyVri71uYpVxPyptEip86Snh+tk8WBFugL
1ZuXZ6kl1VxB+qTnaNKTuRj07xhMqwUnduPYJ6WXoccOEJ8pnuYUsS5xDKkyAw2G
/791Zu2JO5zGrr3EOWyVPn+Mndh4E+1LgpI6a/7gaKzNwpc7QY7RbsRnu7kGKiNH
ZeJN1TiK69izKbzQ62nSu49SWkXVNfBP0TZJydHenoXpWR2y+STUfHG7F8szCmCW
gzywFu26qBiQEVbkfdfPA/mXSGb5G7zlVyii5JZTny+9H9Us5zmC0HmoaWkkPaYL
Ab9JyZPA
=rQag
-----END PGP SIGNATURE-----
--- End Message ---