On Tue, 2004-08-24 at 22:34, Kastus wrote:
On Tue, Aug 24, 2004 at 10:04:17PM +0200, Erik Bågfors wrote:
Anyone have any idea? I guess it's a bug but I really don't understand it. Can the _ in the service-name have anything to do with it. The service is named SuSEfirewall2_init but the file in /var/lib/scpm/profiles/HOME/service is named SuSEfirewall__init which is a bit strange.
Anybody have any idea? please?
Plain simple.
If you haven't changed /etc/scpm.conf, then by default it is set to
RESOURCE_SET="typical"
which refers to the file /lib/scpm/resource_sets/typical which in its turn does not include any firewall services and firewall configuration files. That means that firewall is not covered in typical resource set.
You have two options here.
You can either use /lib/scpm/resource_sets/everything (which is overkill IMHO) or you can create a new resource set based on typical just adding
file /etc/sysconfig/SuSEfirewall2 service SuSEfirewall2_final service SuSEfirewall2_init service SuSEfirewall2_setup
to it. Give it some name, e.g /lib/scpm/resource_sets/typical_fw, and change RESOURCE_SET line appropriately.
Switch to both of your profiles, stop firewal in one, save profile, and you should be in business.
Thanks for the info but.... Shouldn't it use the active groups? zyrgelkwytng:~ # scpm list_groups -a ntpd Network Time Protocol daemon xf86 X-Server settings autofs Automounter service SuSEfirewall2 SuSE Firewall 2 network Basic network settings printer Printer settings Running the Yast profile manager and doing options->configure resources and there marking SuSEfirewall2 should be enough I thought. Why isn't it? The help on the left says "This list contains all installed resource groups. A resource group usually represents a system service with all needed configuration files. Here, easily choose which services should be handled by the profile management. Activate or deactive the groups by double-clicking them." And I do see that it adds information to /var/lib/scpm/profiles/Home/service/ regarding SuSEfirewall2. Could you or someone please explain why I should need to change the RESOURCE_SET and what it's used for.. It just looks like a default set of active resources.. Regards, Erik