Univention Bugzilla – Bug 28884
Falscher Seperator in cupsd.conf Template durch default value in cups/systemgroup
Last modified: 2013-11-19 06:43:23 CET
Aufgefallen an Ticket #2012102321003749: " Ein paar weiter Punkte die mir beim durchsehen der Cups.conf aufgefallen sind: Auf meinem Referenzsystem wird folgende variabel standartmässig gesetzt: cups/systemgroup: Printer-Admins,lp Dies produziert ein fehler in der cups error.log: E [22/Oct/2012:13:41:38 +0200] Unknown SystemGroup "Printer-Admins,lp" on line 609, ignoring! Der Cups-Parameter akzeptiert zwar mehrere Gruppen, jedoch müssen die mit leerschlägen separiert sein und nicht mit Komma."
Bitte in der cupsd.conf in univention-printserver korrigieren.
A error message "Unknown SystemGroup "Printer-Admins,lp" on line 609, ignoring!" in "error.log" appears only if any of the groups in ucr variable "cups/systemgroup" does not exists. But a correct separator for groups is a blank character. According to the cups.conf documentation. Modified 'confd.conf' in package 'univention-printserver' at SystemGroup section. System groups are now separated by a blank character, not by a comma. Imported and built the package 'univention-printserver' in buildsystem. Modified changelog-3.1-2.tex at the 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.
debian/univention-printserver.postinst: cups/systemgroup?"Printer-Admins lp" -> more /etc/cups/cupsd.conf| grep -i systemgr SystemGroup "Printer-Admins lp" This looks broken. The systemgroup list in cupsd.conf has to be space separated, but the ucr variable cups/systemgroup must remain a comma-separated list. Maybe we could also mention the correct separator (comma) in the description of the ucr variable cups/systemgroup.
(In reply to Felix Botner from comment #4) > debian/univention-printserver.postinst: > cups/systemgroup?"Printer-Admins lp" > > -> more /etc/cups/cupsd.conf| grep -i systemgr > SystemGroup "Printer-Admins lp" > > This looks broken. The systemgroup list in cupsd.conf has to be space > separated, but the ucr variable cups/systemgroup must remain a > comma-separated list. Yes, see http://jenkins.knut.univention.de:8080/job/autotest/SambaVersion=s4,Systemrolle=master/lastCompletedBuild/testReport/%28root%29/51_samba4_36_printer/Creating_a_shared_printer_and_printing_from_smbclient/ for a test case. Currently the test fails.
Modified 'cups/systemgroup' ucr variable in 'debian/univention-printserver.postinst'. - Set comma as separator. - Extended with a reference in the description of the ucr variable 'cups/systemgroup' that it should be a comma-separated list.
OK
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".