Mailinglist Archive: opensuse-bugs (4919 mails)

< Previous Next >
[Bug 588679] yast2-printer: AutoYaST client destroys information in cupsd.conf
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 18 Mar 2010 14:45:16 +0000
  • Message-id: <20100318144516.D3A0224551E@xxxxxxxxxxxxxxxxxxxxxx>
http://bugzilla.novell.com/show_bug.cgi?id=588679

http://bugzilla.novell.com/show_bug.cgi?id=588679#c10


Johannes Meixner <jsmeix@xxxxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |NEEDINFO
Info Provider| |ug@xxxxxxxxxx

--- Comment #10 from Johannes Meixner <jsmeix@xxxxxxxxxx> 2010-03-18 14:45:16
UTC ---
Committed the following to YaST SVN trunk revision r61386:

Cleaned up the AutoYaST printer client up to comment #5
which means:

Now there is verbatim cupsd.conf and client.conf
as XML CDATA in the AutoYaST control file.

The new AutoYaST map for printer settings is
-----------------------------------------------------------
$[ "cupsd_conf_content" :
$[ "file_contents" :
"string content of /etc/cups/cupds.conf"
],
"client_conf_content" :
$[ "file_contents" :
"string content of /etc/cups/client.conf"
]
]
-----------------------------------------------------------

This results the new AutoYaST control file structure
-----------------------------------------------------------
<printer>
<client_conf_content>
<file_contents><![CDATA[
.. verbatim content of /etc/cups/client.conf ...
]]></file_contents>
</client_conf_content>
<cupsd_conf_content>
<file_contents><![CDATA[
.. verbatim content of /etc/cups/cupsd.conf ...
]]></file_contents>
</cupsd_conf_content>
</printer>
-----------------------------------------------------------

Read and write of /etc/cups/cupsd.conf and
/etc/cups/client.conf is now implemented directly in
printer_auto.ycp via SCR::Read( .target.string, ... )
and SCR::Write( .target.string, ... ).

No longer needed and therefore removed are
Printerlib::WriteClientSettings and Printerlib::WriteCupsSettings
all what there was in the agents/ sub-directory.

--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >
References