Univention Bugzilla – Bug 28877
Cups ErrorPolicy im Template abbilden
Last modified: 2013-11-19 06:43:39 CET
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
Bitte das Paket univention-printserver entsprechend anpassen und prüfen, ob das Verhalten wie gewünscht funktioniert.
The correct manual for cups 1.4: http://www.cups.org/documentation.php/doc-1.4/ref-cupsd-conf.html
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'
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.
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)
- Modified description of ucr variable in univention-printserver.univention-config-registry-variables. - Modified changelog with makro \ucsUCRV{NAME_OF_UCR_VARIBALE}.
OK
*** Bug 10981 has been marked as a duplicate of this bug. ***
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".