[Bug 337913] New: Yast2 Profile Manager does not work
https://bugzilla.novell.com/show_bug.cgi?id=337913 Summary: Yast2 Profile Manager does not work Product: openSUSE 10.3 Version: Final Platform: i586 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: martin.kunz@arcor.net QAContact: jsrain@novell.com Found By: Other Start scpm via /sbin/yast2 'profile-manager', activate it and modify the resource-group "network". I wanted to add some files like /etc/sysconfig/network/ifcfg-eth0 and /etc/sysconfig/network/routes and so on. After saving this and trying to create different profiles these additional files are note safed in /var/lib/scpm/profiles/PROFILENAME/file/_etc_sysconfig_network_ifcfg-eth0 and so on. The reason perhaps seemes to be in the used language-environment "German". If i take a look into the file /var/lib/scpm/resource_groups/network the word "Datei" has to be changed into "file":
cat /var/lib/scpm/resource_groups/network description Grundlegende Netzwerkeinstellungen network /etc/hosts /etc/resolv.conf /etc/sysconfig/network /etc/sysconfig/network/config /etc/sysconfig/network/dhcp /etc/sysconfig/network/if-down.d /etc/sysconfig/network/if-up.d /etc/sysconfig/network/wireless /etc/host.conf /etc/HOSTNAME /etc/sysconfig/proxy Datei /etc/sysconfig/network/ifcfg-eth0 Datei /etc/sysconfig/network/ifcfg-eth1 Datei /etc/sysconfig/network/ifcfg-lo Datei /etc/sysconfig/network/ifroute-lo Datei /etc/sysconfig/network/routes
Also /sbin/yast2 'profile-manager' did not accept any changes in the settings of for example "switch mode". A look into file /etc/sysconfig/scpm always saves the same. -- 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=337913#c1
Cyril Hrubis
https://bugzilla.novell.com/show_bug.cgi?id=337913#c2
--- Comment #2 from Martin Kunz
https://bugzilla.novell.com/show_bug.cgi?id=337913#c3
Martin Kunz
https://bugzilla.novell.com/show_bug.cgi?id=337913
Petr Matula
https://bugzilla.novell.com/show_bug.cgi?id=337913#c4
--- Comment #4 from Petr Matula
https://bugzilla.novell.com/show_bug.cgi?id=337913
Cyril Hrubis
https://bugzilla.novell.com/show_bug.cgi?id=337913#c5
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=337913#c6
--- Comment #6 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=337913
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=337913#c7
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=337913#c8
--- Comment #8 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=337913
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=337913#c10
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=337913#c11
--- Comment #11 from Petr Matula
https://bugzilla.novell.com/show_bug.cgi?id=337913#c12
--- Comment #12 from Petr Matula
https://bugzilla.novell.com/show_bug.cgi?id=337913#c13
--- Comment #13 from Petr Matula
https://bugzilla.novell.com/show_bug.cgi?id=337913#c14
--- Comment #14 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=337913#c15
--- Comment #15 from Petr Matula
https://bugzilla.novell.com/show_bug.cgi?id=337913#c16
--- Comment #16 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=337913#c17
--- Comment #17 from Martin Kunz
https://bugzilla.novell.com/show_bug.cgi?id=337913#c19
Stephan Kulow
https://bugzilla.novell.com/show_bug.cgi?id=337913#c20
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=337913#c21
Martin Kunz
https://bugzilla.novell.com/show_bug.cgi?id=337913#c22
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=337913#c24
--- Comment #24 from Jiří Suchomel
Martin, could you please open the rest of issues (no check for duplicate entries and entering directories) as a separate bug report? There are not really severe, and I would like to have this one released asap. Thanks.
Well, i can do it myself: bug 340182 -- 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=337913#c25
--- Comment #25 from Martin Kunz
I have checked it now. It seems to work. @Petr: It was not necessary to uninstall and install all again. I only need to reset the broken resource_group after the patch and save it and close the profile-manager. Than i can reopen the profile-manager again and i am possible to modify the resource-groups now. @Jiri: Something is a little bit mistakable in the dialogs of the profile-manager. I first thought, that i should add the files like /etc/sysconfig/network/ifcfg-eth0 to the resource-group "network". In fact i don't need to add them, because they are already monitored by the default "file" /etc/sysconfig/network (which is a folder, not a file). Perhaps it is possible to point that out in the helps (or better parse the added files if they are already watch by another "file" ;-) ) Also the cross is not described, for which the file is active or inactive.
Another little problem: I'm not able to add a folder to be monitored via the dialog of the profile-manager (not by the search-function, only by typing it into the field). But the patch works.
Thanks Martin
@Petr: I have to correct myself. Cause of my resource-groups-tests yesterday evening, this morning all my profiles are broken. The ip-address did not change, when i switch the profile. So i have to reconfigure all the ip-addresses in my profiles and save them again. These are one of my (bad) experiences already known from older (open)suse-releases. If you began to change some "files" in one resource-group _after_ you have already created some profiles, this malfunction could happen. Is this a bug or a feature? ;-) -- 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=337913#c26
Jiří Suchomel
@Petr: I have to correct myself. Cause of my resource-groups-tests yesterday evening, this morning all my profiles are broken. The ip-address did not change, when i switch the profile. So i have to reconfigure all the ip-addresses in my profiles and save them again. These are one of my (bad) experiences already known from older (open)suse-releases. If you began to change some "files" in one resource-group _after_ you have already created some profiles, this malfunction could happen. Is this a bug or a feature? ;-)
I'm not sure - anyway it looks like bug or feature targeted for scpm, not for the YaST GUI (you may want to open a new report for it, please stick to original problem here). -- 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=337913#c27
--- Comment #27 from Petr Matula
https://bugzilla.novell.com/show_bug.cgi?id=337913#c28
--- Comment #28 from Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=337913#c30
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=337913#c31
--- Comment #31 from Anja Stock
participants (1)
-
bugzilla_noreply@novell.com