On Wed, Jun 11, 2008 at 12:25:10PM +0200, Lukas Ocilka wrote:
All statically-defined services were dropped in openSUSE 11.1 / SLE 11,
SuSEFirewallServices will only provide conversion to the new type of
services if possible.
Please, make sure your packages provide service definitions for
SuSEfirewall2. See also:
http://en.opensuse.org/SuSEfirewall2/Service_Definitions_Added_via_Packages
What this means for yast module maintainers: you have to change
code:
map fw_settings = $[
"services": [ "nfs-server" ],
"display_details": true,
];
map fw_cwm_widget = CWMFirewallInterfaces::CreateOpenFirewallWidget (fw_settings);
The above will not work because "nfs-server" was a definition built
into yast2-firewall, now dropped. You have to poke the target
package maintainer to provide a firewall definition file and change
"services" to (presumably) "service:nfs-server".
Or am I wrong? There seems to be some conversion code:
http://svn.opensuse.org/viewcvs/yast/trunk/yast2/library/network/src/SuSEFirewallServices.ycp?view=diff&r1=48220&r2=48221&pathrev=48221
--
Martin Vidner, YaST developer
http://en.opensuse.org/User:Mvidner
Kuracke oddeleni v restauraci je jako fekalni oddeleni v bazenu
--
To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org
For additional commands, e-mail: yast-devel+help@opensuse.org