[Bug 273019] New: yast2-ftp-server requires SUSEfirewall to be installed
https://bugzilla.novell.com/show_bug.cgi?id=273019 Summary: yast2-ftp-server requires SUSEfirewall to be installed Product: openSUSE 10.3 Version: Alpha 3plus Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: juhliarik@novell.com ReportedBy: judas_iscariote@shorewall.net QAContact: jsrain@novell.com Hi: As I "promised" in some other bug report, Im testing the new yast2-ftp-server module.. so far looks nice.. however if you do this.. (use minimal text installation pattern) open it --> select VSFTPD --> a popup asking me to install SUSEFirewall2 package is showing.. why is that ? I assume an FTP server can be run without SUSEfirewall, right ? ;-) most of other yast modules just says "SUSEfirewall is not installed" or something) and let you continue to work without any problem.. Will be nice if it behaves as the rest of the modules does. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=273019 juhliarik@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|juhliarik@novell.com |locilka@novell.com Severity|Normal |Enhancement ------- Comment #1 from juhliarik@novell.com 2007-05-10 03:56 MST ------- ftp-server and other modules support settings for SuSEfirewall2. It is case why ftp-server ask you for installation SuSEfirewall2. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=273019 locilka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #2 from locilka@novell.com 2007-05-14 05:57 MST ------- I'll check whether something like "Do not ask me this question again" functionality could be possibly added. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=273019 ------- Comment #3 from judas_iscariote@shorewall.net 2007-05-14 06:03 MST ------- (In reply to comment #2)
I'll check whether something like "Do not ask me this question again" functionality could be possibly added.
Other modules just says "SUSE firewall is not installed" , maybe if the user attempts to configure the firewall port **then** open the window requesting SUSEFirewall installation ( I have a valid use case, I use a third party firewall software (shorewall :-D ) and I dont want SUSEFirewall installed ;) ) -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=273019 locilka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |juhliarik@novell.com ------- Comment #4 from locilka@novell.com 2007-05-14 06:23 MST ------- Hmm, actually we use this workflow: 1.) Read all information (Read dialog) 2.) Tune the configuration 3.) Write/Save/Restart the configuration (Write dialog) All other YaST modules should use the same or similar workflow. What I see might be a problem is that every time you run such YaST module, it opens up a pop-window saying that SuSEfierwall2 is not installed and whether you want to install it (otherwise firewall functions would not be supported). If an FTP configuration does it different it is a bug. My idea was to offer a functionality that would offer user the possibility not to should that question again. That might be either implemented in SuSEfirewall2 handling functions (YCP) or in general, in Packages handling functions. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=273019 ------- Comment #5 from judas_iscariote@shorewall.net 2007-05-14 06:43 MST ------- (In reply to comment #4)
Hmm, actually we use this workflow:
1.) Read all information (Read dialog) 2.) Tune the configuration 3.) Write/Save/Restart the configuration (Write dialog)
the workflow is fine IMHO, however there is a somewhat general issue with yast modules that permits to configure more than 1 kind of service (in this case, a ftp deamon + firewall ports) that has not raised previulsy because the existance of a minimal pattern raises new questions/ideas/problems :) you will find similar cases in #273013 and #266883 where: 1. modules attempts to parse the package database or even refresh the installation sources even though the user does not want to install new stuff (like #266883) 2. modules wants packages installed, like # #273013 or this same report, yast makes the assumption that the user really wants it even if they have not even attempted to configure such options(if not configured is barely needed right ?) In general my proposal is: 1. keep the same general workflow ( if aint broke , dont break it ;) ) 2. but dont make "bad" assumptions (like refreshing/accessing the installation sources .fe #266883) in general as the package related stuff is uber slow and quite memory hungry, my suggestion is to minimize the possible access to it, as well doing it "just in time". Sorry to go off-bug but this is more or less a general problem. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=273019#c6
Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=273019#c7
Ladislav Slezak
https://bugzilla.novell.com/show_bug.cgi?id=273019#c8
Andreas Jaeger
The package database read is caused by Package::Available() call, it must initialize all repositories to check whether the package is available.
A solution could be check package availability _after_ user confirms package installation (but this makes usability worse).
Better solution could be a workaround in Package::Available() call (similar to Package::Installed() - query libzypp cache directly without refreshing, e.g. use sqlite3 directly).
What is needed here is to check whether a package is installed. This is basically a "rpm -q package", isn't it? That one should really not read all the repositories. -- 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=273019#c9
--- Comment #9 from Ladislav Slezak
What is needed here is to check whether a package is installed. This is basically a "rpm -q package", isn't it? That one should really not read all the repositories.
Yes, "rpm -q" is already used, but it's in Package::Installed() call, Package::Available() checks whether the package is installable (i.e. can be installed from any registered repo). This is something different and now it requires to load the objects from the cache and search the package. We could do a simple SQL query directly in the cache DB without need to load all objects. -- 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=273019#c10
--- Comment #10 from Andreas Jaeger
https://bugzilla.novell.com/show_bug.cgi?id=273019#c12
Lukas Ocilka
https://bugzilla.novell.com/show_bug.cgi?id=273019
User lslezak@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=273019#c13
Ladislav Slezak
https://bugzilla.novell.com/show_bug.cgi?id=273019
User lslezak@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=273019#c14
Ladislav Slezak
participants (1)
-
bugzilla_noreply@novell.com