[Bug 340182] New: profile-manager: check for duplicates in resource groups, allow directories
https://bugzilla.novell.com/show_bug.cgi?id=340182#c337913 Summary: profile-manager: check for duplicates in resource groups, allow directories Product: openSUSE 10.3 Version: Final Platform: Other OS/Version: Other Status: ASSIGNED Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: jsuchome@novell.com ReportedBy: jsuchome@novell.com QAContact: jsrain@novell.com CC: martin.kunz@arcor.net Found By: ---
From bug #337913:
@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). -- 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=340182#c1
Jiří Suchomel
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).
Is it supported by scpm? If yes, is the type still "file"? -- 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=340182#c2
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=340182#c3
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=340182#c4
Jiří Suchomel
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).
Stefan, do we have something for browsing for file or directory? It looks like AskForExistingFile is only for files and AskForExistingDirectory only for directories, which looks logical, but... Could it be possible to add an option parameter to, say, AskForExistingFile (like "allowDirectories") to support both? -- 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=340182#c5
Jiří Suchomel
https://bugzilla.novell.com/show_bug.cgi?id=340182#c6
--- Comment #6 from Martin Kunz
Oh, yes it is, /etc/sysconfig/network is the default example...
Some additional information: It is supported by scpm, but as i see in the default example resource-group network it works only one depth of the folder. That means that - if you want to have one subfolder also monitored, you have to add it to the resource-group as a "file". e.g. in the resource-example network the subfolder "/etc/sysconfig/network/if-down.d" is included. see here mylaptop:~ # cat /usr/lib/scpm/resource_groups/network description Basic network settings service network file /etc/hosts file /etc/resolv.conf file /etc/sysconfig/network file /etc/sysconfig/network/config file /etc/sysconfig/network/dhcp file /etc/sysconfig/network/if-down.d file /etc/sysconfig/network/if-up.d file /etc/sysconfig/network/wireless file /etc/host.conf inactive file /etc/HOSTNAME inactive file /etc/sysconfig/proxy inactive But why is the real file /etc/sysconfig/network/config added to example resource_group network? Is this not a file in the subfolder of /etc/sysconfig/network ? -- 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=340182#c7
--- Comment #7 from Martin Kunz
https://bugzilla.novell.com/show_bug.cgi?id=340182#c8
--- Comment #8 from Jiří Suchomel
Created an attachment (id=182634) --> (https://bugzilla.novell.com/attachment.cgi?id=182634) [details] added header line "active?" in the table of the profile-manager-listings.
You are right, that's the easy and logical solution. -- 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=340182#c9
--- Comment #9 from Martin Kunz
(In reply to comment #7 from Martin Kunz)
Created an attachment (id=182634) --> (https://bugzilla.novell.com/attachment.cgi?id=182634) [details] [details] added header line "active?" in the table of the profile-manager-listings.
You are right, that's the easy and logical solution.
Or some better word that in that "active?". -- 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.
Stefan, do we have something for browsing for file or directory? It looks like AskForExistingFile is only for files and AskForExistingDirectory only for directories, which looks logical, but... Could it be possible to add an option parameter to, say, AskForExistingFile (like "allowDirectories") to support both? We don't have anything that is able to select files and directories at the same time. The QT toolkit doesn't have it too. For a simple reason: When the user selects a directory in the file dialog and clicks OK it doesn't return this
https://bugzilla.novell.com/show_bug.cgi?id=340182#c10
Thomas Göttlicher
https://bugzilla.novell.com/show_bug.cgi?id=340182#c11
--- Comment #11 from Jiří Suchomel
We don't have anything that is able to select files and directories at the same time. ...
OK, so this part of bug report cannot be solved in an easy way (without introducing specialized widget). It actually is possible to enter directories (manually), so I think users have to live with it. -- 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=340182#c12
Jiří Suchomel
participants (1)
-
bugzilla_noreply@novell.com