Bug#921741: marked as done (cups: Cups sheduler stops with program error when using JobPreserveHistory <seconds>)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Bug#921741: marked as done (cups: Cups sheduler stops with program error when using JobPreserveHistory <seconds>)

Debian Bug Tracking System
Your message dated Tue, 23 Apr 2019 13:03:52 +0000
with message-id <[hidden email]>
and subject line Bug#921741: fixed in cups 2.2.10-6
has caused the Debian Bug report #921741,
regarding cups: Cups sheduler stops with program error when using JobPreserveHistory <seconds>
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 [hidden email]
immediately.)


--
921741: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=921741
Debian Bug Tracking System
Contact [hidden email] with problems

Package: cups
Version: 2.2.10-3
Severity: normal

Dear Maintainer,

We need to clear up the Job History each day, to have a clear History for the next day
to account print jobs a customer prints to one of our preconfigured printers.

To do this, we found "JobPreserveHistory <seconds>" as root option in the documentation
for /etc/cups/cupsd.conf, which would do the job perfectly.

We set the option with a one day timeframe value of 86400 seconds via the Webinterface for the configuration file (and later via nano...)
For our surprise, after restarting the service, All existing entries were gone
and as instead showing only the past print job entries within the last 86400 seconds,
the /var/log/cups/error.log contain the Error message
"E:[Timpestamp] cups sheduler stops through a program error"

After changing to the two other possible values "Yes" and "No" and restarting the service
cups went back to normal behaviour.

It seems, that despite the documented proposed behaviour, cups sheduler cant handle
the numeric value for a one day timeframe.

We didn't tried out lower values, as expecting that this value work for other option as expected.

I hope, this error can be fixed fast.

Kind regards,

Emin Kaya


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cups depends on:
ii  cups-client            2.2.10-3
ii  cups-common            2.2.10-3
ii  cups-core-drivers      2.2.10-3
ii  cups-daemon            2.2.10-3
ii  cups-filters           1.21.6-3
ii  cups-ppdc              2.2.10-3
ii  cups-server-common     2.2.10-3
ii  debconf [debconf-2.0]  1.5.70
ii  ghostscript            9.26a~dfsg-2
ii  libavahi-client3       0.7-4+b1
ii  libavahi-common3       0.7-4+b1
ii  libc6                  2.28-6
ii  libcups2               2.2.10-3
ii  libcupsimage2          2.2.10-3
ii  libgcc1                1:8.2.0-16
ii  libstdc++6             8.2.0-16
ii  libusb-1.0-0           2:1.0.22-2
ii  poppler-utils          0.71.0-2
ii  procps                 2:3.3.15-2

Versions of packages cups recommends:
ii  avahi-daemon                     0.7-4+b1
ii  colord                           1.4.3-4
ii  cups-filters [ghostscript-cups]  1.21.6-3
ii  printer-driver-gutenprint        5.3.1-7

Versions of packages cups suggests:
ii  cups-bsd                                   2.2.10-3
ii  foomatic-db-compressed-ppds [foomatic-db]  20181217-2
ii  hplip                                      3.18.12+dfsg0-2
ii  printer-driver-cups-pdf [cups-pdf]         3.0.1-5
ii  printer-driver-hpcups                      3.18.12+dfsg0-2
pn  smbclient                                  <none>
ii  udev                                       240-5

-- debconf information:
  cupsys/raw-print: true
  cupsys/backend: lpd, socket, usb, snmp, dnssd

Source: cups
Source-Version: 2.2.10-6

We believe that the bug you reported is fixed in the latest version of
cups, 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 [hidden email],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Didier Raboud <[hidden email]> (supplier of updated cups 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 [hidden email])


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

Format: 1.8
Date: Tue, 23 Apr 2019 08:33:01 +0200
Source: cups
Architecture: source
Version: 2.2.10-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Printing Team <[hidden email]>
Changed-By: Didier Raboud <[hidden email]>
Closes: 921741
Changes:
 cups (2.2.10-6) unstable; urgency=medium
 .
   * Backport patch from upstream's 2.2 "stable" branch:
     - Fix an issue with `PreserveJobHistory` and time values (Issue #5538)
       (Closes: #921741)
Checksums-Sha1:
 2bb62713352aed9743c193a115593fb841a1fc7d 3258 cups_2.2.10-6.dsc
 51d10b43aa7890e9740515bc4669a3e27a5ca50f 357764 cups_2.2.10-6.debian.tar.xz
Checksums-Sha256:
 9eff4507251a4261b6db569ffc3b202da99da7b5c8ccac7522f7dd4b7bbfcc64 3258 cups_2.2.10-6.dsc
 c7b4c63dc95a7f98942419571add6e879a69f49d02a9bbc80671272e5e1a8a48 357764 cups_2.2.10-6.debian.tar.xz
Files:
 9617cc7a4b381daad50f581898049ead 3258 net optional cups_2.2.10-6.dsc
 b5e05df09c7d97ba21bfba20bd56064a 357764 net optional cups_2.2.10-6.debian.tar.xz

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

iQGzBAEBCgAdFiEEe+WPIRpjNw1/GSB7i8+nHsoWNFUFAly/CAcACgkQi8+nHsoW
NFWwagwAhIXUKnpXkCcImbikWw8LzieBZfmHrRRBsqcCgBXNNC2uNoQLMxlLWCad
uAR6MZQqmwgxvabw8Rb05fDfZ1jk8vBFX1Xa0O0ODgkyRW34+gQx/T9BvvH0XNz/
1BwcYKsJDICxRLC4fvbA8CXAYA2zaXgCEh+SsHF15CYOQAq52b6tc2hsOlQZs0Dw
QRrO1FJhbVft1RSOsMbMMGub/8MdcbFZyz5x2IUFws2UFAR+9Lt8/3IpAz18Cf2M
HQo50GRR/GiPXgw8ugyYZ1zS/x3BOvkGhu2XQZIsr9g5l/P5y7A/4/VZrW8HRo03
adWEETU3uAVqjwe7hyTrsiM4mSry4NLm14qRMfmqLQA7fqD7OtMLpKJ4YzgBylZw
HRPWGzI8Q6MBoyK15fFXojliawqFBdP0GCaXA2xLCDuwg67sOQYx80nHM5R46apr
Y3elLY2jBGWEN+OV8bFJcuTaxcUC9KbnC9CAIGQ/7wuql8QoewxdqzFCPcEa3BKi
nWOX1e81
=q1MI
-----END PGP SIGNATURE-----