Bug 28877 - Cups ErrorPolicy im Template abbilden
Cups ErrorPolicy im Template abbilden
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Printserver
UCS 3.0
Other Linux
: P5 enhancement (vote)
: UCS 3.2
Assigned To: Liam Schwez
Felix Botner
: interim-1
: 10981 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-23 11:36 CEST by Tim Petersen
Modified: 2013-11-19 06:43 CET (History)
5 users (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Petersen univentionstaff 2012-10-23 11:36:31 CEST
Angefragt an Ticket #2012102321003749:

"Es ergibt sich oft die Situation dass die Drucker
queues angehalten werden wenn ein Fehler am Endgerät auftritt. 

Das Default verhalten ist so, dass im falle eines Fehlers (zum Beispiel,
Netzwerkdrucker nicht verfügbar) die Cups print queue auf angehalten
gestellt wird. Diese muss dann durch einen Admin von hand wieder
eingeschalten werden auch wenn der Printer längst wieder verfügbar ist.  

Der Paramenter der dies konfigurierbar macht heisst ErrorPolicy
beschrieben unter [1]. Dieser wird in der cupsd.conf festgelegt. 

Dieser ist per default auf stop-printer. Möglich währen noch abort-job
und retry-job. 

Leider ist dieser Parameter momentan in UCS3.0 nicht konfigurierbar.
Währe es möglich dass cupsd.conf template dementsprechend anzupassen und
den Paramenter via ucr auszuweisen?"

[1] http://www.cups.org/documentation.php/ref-cupsd-conf.html
Comment 1 Sönke Schwardt-Krummrich univentionstaff 2013-05-14 20:58:14 CEST
Bitte das Paket univention-printserver entsprechend anpassen und prüfen, ob das Verhalten wie gewünscht funktioniert.
Comment 2 Sönke Schwardt-Krummrich univentionstaff 2013-05-15 10:55:53 CEST
The correct manual for cups 1.4:
http://www.cups.org/documentation.php/doc-1.4/ref-cupsd-conf.html
Comment 3 Liam Schwez univentionstaff 2013-05-28 14:26:05 CEST
Modified package 'univention-printserver'. Added ErrorPolicy entry to 'cupsd.conf'. ErrorPolicy can be set over ucr-variable 'cups/errorpolicy'.(abort-job, retry-job, retry-current-job) (dafault stop-printer) are allowed (see cups documentation, user instead of 'retry-this-job', entry 'retry-current-job'). Any change will be applied to 'printers.conf' for all printers.

- added new ucr variable (cups/errorpolicy) with description
- created new file 'cupsd.conf' which will be copied to  etc/univention/templates/scripts/etc/cups/ after the installation of the package (see debian/univention-printserver.install). Add any change of ucr variable 'cups/errorpolicy' to ErrorPolicy to the file /etc/cups/printers.conf .
- imported into buildsystem
- built package in buildsystem
- made entry in 'changelog-3.1-2.tex' in section 'printing services'
Comment 4 Moritz Muehlenhoff univentionstaff 2013-05-31 10:45:43 CEST
We will not ship a UCS 3.1-2 release; the next UCS release will be UCS 3.2.

As such, this bug is moved to the new target milestone.
Comment 5 Felix Botner univentionstaff 2013-06-17 16:30:31 CEST
OK

FAIL - ucr variable description
  ... (dafault stop-printer)

FAIL - Changelog 
  Please use makro the \ucsUCRV{NAME_OF_UCR_VARIBALE} 
  (\ucsUCRV{cups/errorpolicy}) instead of just 'cups/errorpolicy' for UCR 
  variables (\ucsUCRV{aaa} -> "The Univention Configuration Registry variable 
  aaaa)
Comment 6 Liam Schwez univentionstaff 2013-06-25 11:00:37 CEST
- Modified description of ucr variable in univention-printserver.univention-config-registry-variables.

- Modified changelog with makro \ucsUCRV{NAME_OF_UCR_VARIBALE}.
Comment 7 Felix Botner univentionstaff 2013-06-26 11:02:53 CEST
OK
Comment 8 Sönke Schwardt-Krummrich univentionstaff 2013-08-05 16:49:33 CEST
*** Bug 10981 has been marked as a duplicate of this bug. ***
Comment 9 Stefan Gohmann univentionstaff 2013-11-19 06:43:39 CET
UCS 3.2 has been released:
 http://docs.univention.de/release-notes-3.2-en.html
 http://docs.univention.de/release-notes-3.2-de.html

If this error occurs again, please use "Clone This Bug".