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

Bug#921741: cups: Cups sheduler stops with program error when using JobPreserveHistory <seconds>



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


Reply to: