[Bug 828854] New: yast2-printer: write CUPS default config files if autoinst.xml is broken
https://bugzilla.novell.com/show_bug.cgi?id=828854 https://bugzilla.novell.com/show_bug.cgi?id=828854#c0 Summary: yast2-printer: write CUPS default config files if autoinst.xml is broken Classification: openSUSE Product: openSUSE Factory Version: 13.1 Milestone 2 Platform: All OS/Version: SUSE Other Status: ASSIGNED Severity: Enhancement Priority: P5 - None Component: AutoYaST AssignedTo: jsmeix@suse.com ReportedBy: jsmeix@suse.com QAContact: qa-bugs@suse.de CC: trenn@suse.com, rsalevsky@suse.com Found By: Development Blocker: --- Currently if the entries in the <printer>...</printer> section in autoinst.xml are broken, the AutoYaST functions in yast2-printer may write empty CUPS config files, look for "empty" in /usr/share/YaST2/clients/printer_auto.ycp But an empty /etc/cups/cupsd.conf lets the cupsd immediately abort with "No valid Listen or Port lines were found in the configuration file", see https://bugzilla.novell.com/show_bug.cgi?id=828831#c1 Therefore printer_auto.ycp should fall back to writing CUPS default config files if autoinst.xml is broken. The implementation for cupsd.conf should be a simple # cp /etc/cups/cupsd.conf.default /etc/cups/cupsd.conf compare bnc#773971 For client.conf it could be something like # echo "# ServerName sever.example.com" >/etc/cups/client.conf FYI: With an autoinst.xml from SLE11 used e.g. for openSUSE 12.3 printer_auto.ycp could write an empty /etc/cups/cupsd.conf The <printer>...</printer> section in autoinst.xml was changed after SLE11 (I think it was since openSUSE 11.3). See bnc#588679 and bnc#582680 In particular regarding "the new AutoYaST control file structure" see https://bugzilla.novell.com/show_bug.cgi?id=588679#c10 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=828854 https://bugzilla.novell.com/show_bug.cgi?id=828854#c Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=828854 https://bugzilla.novell.com/show_bug.cgi?id=828854#c1 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED URL| |https://features.opensuse.o | |rg/316789 Resolution| |FEATURE --- Comment #1 from Johannes Meixner <jsmeix@suse.com> 2014-09-17 16:34:32 CEST --- This is related to the open feature request "Fundamental re-design how to set up the whole printing stuff" https://features.opensuse.org/316789 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com