Mailinglist Archive: opensuse-bugs (13000 mails)

< Previous Next >
[Bug 458708] when "enable proxy" checkbox unchecked in yast->networkservices->proxy, proxy is still enabled
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 20 Jan 2009 09:30:50 -0700 (MST)
  • Message-id: <20090120163050.35EC324538F@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=458708

User kmachalkova@xxxxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=458708#c7





--- Comment #7 from Katarina Machalkova <kmachalkova@xxxxxxxxxx> 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.

< Previous Next >