[Bug 458708] New: when "enable proxy" checkbox unchecked in yast-> networkservices->proxy, proxy is still enabled
https://bugzilla.novell.com/show_bug.cgi?id=458708 Summary: when "enable proxy" checkbox unchecked in yast- >networkservices->proxy, proxy is still enabled Product: openSUSE 11.1 Version: Final Platform: Other OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: zOOmER.gm@gmail.com QAContact: qa@suse.de Found By: --- openSUSE 11.1 RC1 if this checkbox on the top of the "proxy settings" dialog window is checked, all works fine. but when i uncheck this box, all software, which is intended to use global proxy congiguration, complains "can't find proxy server"(taht software includes at least firefox and yast-software-management). only if i check again this box, and remove proxy server address, proxy will be disabled. -- 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=458708
User chrubis@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458708#c1
Cyril Hrubis
https://bugzilla.novell.com/show_bug.cgi?id=458708
User zOOmER.gm@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458708#c2
--- Comment #2 from zOOm_ER zOOm_ER
https://bugzilla.novell.com/show_bug.cgi?id=458708
User zOOmER.gm@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458708#c3
zOOm_ER zOOm_ER
https://bugzilla.novell.com/show_bug.cgi?id=458708
User zOOmER.gm@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458708#c4
zOOm_ER zOOm_ER
https://bugzilla.novell.com/show_bug.cgi?id=458708
User zOOmER.gm@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458708#c5
zOOm_ER zOOm_ER
https://bugzilla.novell.com/show_bug.cgi?id=458708
Cyril Hrubis
https://bugzilla.novell.com/show_bug.cgi?id=458708
User tgoettlicher@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458708#c6
Thomas Göttlicher
https://bugzilla.novell.com/show_bug.cgi?id=458708
Michal Zugec
https://bugzilla.novell.com/show_bug.cgi?id=458708
User kmachalkova@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458708#c7
--- Comment #7 from Katarina Machalkova
1)can global proxy enabling\disabling be performed on-the-fly, without need of relogin? or are there some troubles with it?
It depends on the application. In general, if the application reads proxy settings from some config file (sysconfig, for example), you don't need to re-login. Application picks up proxy settings on the next start. On the other hand, if the application relies upon $http_proxy ($FTP_PROXY, whatever) environment variable being set, restarting application is not enough and relogin is needed. It is because these env. variables need to be updated (there is a script executed upon login doing that). What happens in YaST and libzypp (and curl, because libzypp is libcurl-based) is a mix of both approaches: 1) Switching proxy from Off to On: YaST module writes proxy URL into /root/.curlrc file. Until you log in again, $http_proxy env. variable remains empty. But we don't mind, because libzypp's media handling library pokes into /root/.curlrc and uses proxy URL from there. Everyone is happy :) 2) Switching proxy from On to Off: YaST module clears /root/.curlrc file, but until relogin, $http_proxy variable remains set and libcurl (thus, libzypp too) still uses that URL even though you don't want to use proxy anymore. Some people are not that happy anymore :(
2)now proxy requires relogin to work, but yast does not warns user about it, when user changes proxy settings.
YaST proxy module had pop-up telling user to relogin to apply the configuration, but we removed it in openSUSE 10.3 (for usability reasons, afair) :( Come to think of it, it was not so good idea ... now even the help text does not mention the need of relogin (and even if it did, nobody reads the help anyway). Allright, the bug (https://bugzilla.novell.com/show_bug.cgi?id=458708) is already assigned to me, I'll put the pop-up back. -- 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=458708
Katarina Machalkova
https://bugzilla.novell.com/show_bug.cgi?id=458708
User dave.plater@yahoo.co.uk added comment
https://bugzilla.novell.com/show_bug.cgi?id=458708#c8
Dave Plater
https://bugzilla.novell.com/show_bug.cgi?id=458708
User dave.plater@yahoo.co.uk added comment
https://bugzilla.novell.com/show_bug.cgi?id=458708#c9
--- Comment #9 from Dave Plater
https://bugzilla.novell.com/show_bug.cgi?id=458708
User kmachalkova@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458708#c10
--- Comment #10 from Katarina Machalkova
https://bugzilla.novell.com/show_bug.cgi?id=458708
User zOOmER.gm@gmail.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458708#c11
--- Comment #11 from zOOm_ER zOOm_ER
I'm not a libzypp developer so I don't know what is the real incentive behind using this "mixed" approach (env. variables AND config files). Maybe it is because of installation, where you can define proxy URL in the middle of installation workflow and having already running processes pick up a new env. variable is tricky, if not completely impossible, so we read .curlrc instead. can libzypp developers be contacted anyhow, to comment on this?
Anyway, even if YaST and libzypp became that type of application that does not make use of $http_proxy env. variable, there is still a bunch of others, when this will simply never happen - especially those old-school well-established text-mode utils - wget, lynx, (e)links to mention just a few. for text-mode utils there is possibility to modify their environment variables from the shell, which starts them. there is no such possibility for for libzypp...
-- 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=458708
User kmachalkova@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458708#c12
--- Comment #12 from Katarina Machalkova
can libzypp developers be contacted anyhow, to comment on this?
There is an ongoing discussion on the subject in zypp-devel@opensuse.org ML: http://lists.opensuse.org/zypp-devel/2009-01/msg00036.html This is a long standing problem (not only in YaST/libzypp) and not something that can be solved by simple patch. For the time being, I'm going to re-add a message with recommendation to relogin in order to apply new settings that will appear in YaST on saving proxy configuration. There is not much more /me as the maintainer of YaST proxy module can do ... -- 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=458708
User kmachalkova@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=458708#c13
Katarina Machalkova
participants (1)
-
bugzilla_noreply@novell.com