Bug 28558 - Prüfung in univention-check-printers robuster gestalten
Prüfung in univention-check-printers robuster gestalten
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: Printserver
UCS 3.0
Other Linux
: P5 normal (vote)
: UCS 3.2
Assigned To: Liam Schwez
Felix Botner
: interim-1
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-17 09:02 CEST by Tim Petersen
Modified: 2013-11-19 06:41 CET (History)
1 user (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-09-17 09:02:29 CEST
Aufgefallen an Ticket #2012091321001101:

Die Liste der "disabled" Printers wird in bestimmten Situationen "falsch" gefüllt, die Prüfung sollte robuster gestaltet werden:

root@master:~# lpstat -a
druckername akzeptiert keine Anfragen seit Do 13 Sep 2012 06:30:11 CEST -
        reason unknown
root@master:~# lpstat -a 2>/dev/null | sed 's/ .*//'
druckername
        reason


Dadurch wird der Drucker "reason" in die Liste aufgenommen und im Codeverlauf passiert folgendes:

root@master:~# /usr/sbin/univention-check-printers.sh 
/usr/bin/lpq: Unknown destination "reason"!
Comment 1 Moritz Muehlenhoff univentionstaff 2013-05-31 10:43:38 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 2 Liam Schwez univentionstaff 2013-06-19 11:47:56 CEST
Modified searching algorithm for searching of disabled printers. Only printers which are disabled will be treated.

- imported into buildsystem
- built package in buildsystem
- made entry in 'changelog-3.1-2.tex' in section 'printing services'
Comment 3 Felix Botner univentionstaff 2013-06-27 17:39:24 CEST
OK, Changelog entry exists
Comment 4 Stefan Gohmann univentionstaff 2013-11-19 06:41:30 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".