[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 <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |zOOmER.gm@gmail.com --- Comment #1 from Cyril Hrubis <chrubis@novell.com> 2008-12-12 10:56:13 MST --- Proxy is set as shell variable, so when you change it, you should logout and login in order to apply the change. Does this work for you? -- 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 zOOmER.gm@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=458708#c2 --- Comment #2 from zOOm_ER zOOm_ER <zOOmER.gm@gmail.com> 2008-12-12 11:26:02 MST --- no, i rebooted few times with no effect. -- 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 zOOmER.gm@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=458708#c3 zOOm_ER zOOm_ER <zOOmER.gm@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|zOOmER.gm@gmail.com | Resolution| |FIXED --- Comment #3 from zOOm_ER zOOm_ER <zOOmER.gm@gmail.com> 2008-12-12 13:30:37 MST --- sorry, i was wrong. login works to apply the change. no bug therefore. only one thing that i do not understand: why proxy enabling\changing works on-the-fly, without need of relogin. but proxy disabling requires relogin? sending question to opensuse-factory maillist.... -- 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 zOOmER.gm@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=458708#c4 zOOm_ER zOOm_ER <zOOmER.gm@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |INVALID --- Comment #4 from zOOm_ER zOOm_ER <zOOmER.gm@gmail.com> 2008-12-12 13:35:14 MST --- hm, and even that is invalid... whatever... -- 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 zOOmER.gm@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=458708#c5 zOOm_ER zOOm_ER <zOOmER.gm@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|INVALID | --- Comment #5 from zOOm_ER zOOm_ER <zOOmER.gm@gmail.com> 2009-01-19 05:32:28 MST --- openSUSE 11.1 final: i can confirm, that turnin proxy on does not rquire relogin. but turning proxy off does(i have complaining message from yast-software-mgmt, yast-sw-update, and they can't refresh repositories, until relogin). i have yast2-pkg-bindings-2.17.29 -- 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 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |yast2-maintainers@suse.de |ovo.novell.com | -- 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 tgoettlicher@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=458708#c6 Thomas Göttlicher <tgoettlicher@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|yast2-maintainers@suse.de |mzugec@novell.com --- Comment #6 from Thomas Göttlicher <tgoettlicher@novell.com> 2009-01-20 02:19:52 MST --- Reassigning to yast2-network maintainer. -- 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 Michal Zugec <mzugec@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mzugec@novell.com AssignedTo|mzugec@novell.com |kmachalkova@novell.com -- 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#c7 --- Comment #7 from Katarina Machalkova <kmachalkova@novell.com> 2009-01-20 09:30:49 MST --- Copy-paste from oS-Factory:
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 <kmachalkova@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Status|REOPENED |ASSIGNED -- 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 dave.plater@yahoo.co.uk added comment https://bugzilla.novell.com/show_bug.cgi?id=458708#c8 Dave Plater <dave.plater@yahoo.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dave.plater@yahoo.co.uk --- Comment #8 from Dave Plater <dave.plater@yahoo.co.uk> 2009-01-21 05:42:11 MST --- Can't yast proxy not clear the http_proxy environment variable when proxy is disabled? I have just tested doing this on my system and confirmed that if variable is cleared there is no need to relogin in order to stop yast or zypper from using the proxy. It must be a much easier solution than a pop-up and will make everybody happy. -- 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 dave.plater@yahoo.co.uk added comment https://bugzilla.novell.com/show_bug.cgi?id=458708#c9 --- Comment #9 from Dave Plater <dave.plater@yahoo.co.uk> 2009-01-21 06:59:46 MST --- Ok I now understand why the environment variable requires the logout/login to disable or enable proxy use, its a pity because logging out of a gui and back in again loses all the root applications that were opened. I suppose the environment variable method is necessary for non x work. -- 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#c10 --- Comment #10 from Katarina Machalkova <kmachalkova@novell.com> 2009-01-21 14:48:56 MST --- libzypp package management library uses $http_proxy from the environment simply because libcurl (which it uses for media handling) does so implicitly and there has been no reason so far for libzypp to clear it and rely solely on whatever is in config file, /root/.curlrc in this case. 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. 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. -- 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 zOOmER.gm@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=458708#c11 --- Comment #11 from zOOm_ER zOOm_ER <zOOmER.gm@gmail.com> 2009-01-21 15:05:32 MST ---
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 <kmachalkova@novell.com> 2009-01-22 05:53:40 MST ---
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 <kmachalkova@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #13 from Katarina Machalkova <kmachalkova@novell.com> 2009-01-29 04:20:48 MST --- Ok, notify pop-up is back (y2-network 2.18.2). Changing the behaviour or pkg management stack in this aspect is not trivial (and maybe not desirable - if you're interested in the topic, you can join the discussion on zypp-devel, the link is above), so at least the user will be warned ... -- 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.
participants (1)
-
bugzilla_noreply@novell.com