Mailinglist Archive: opensuse-factory (905 mails)
| < Previous | Next > |
Re: [opensuse-factory] proxy-management of yast2 bug?
- From: Ralf Prengel <ralf.prengel@xxxxxxxxxxx>
- Date: Tue, 10 Jun 2008 13:48:53 +0200
- Message-id: <484E6A25.8070902@xxxxxxxxxxx>
Katarina Machalkova schrieb:
but why does it work in one direction?
No proxy changing to proxy is working immediately but proxy changing to no proxy needs a relogin?
Ralf Prengel
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
Ehlo,ok
Yast2 package-manager worked fine with the proxy-settings but after
deactivating the proxy when moving into another network yast2 did not
find the repos until a reboot of the system.
This works as designed - proxy settings are environment variables and as it is not trivial to update the environment of already running process e.g. your desktop session, you need either to relogin or reboot. Yast writes proxy settings into /etc/sysconfig/proxy file and it is the login script (profile.sh) executed upon new login, that reads them and exports them.
For the settings to take effect immediately, set your $http_proxy variable to empty string and, if you use login/password to access proxy, don't forget to clear also /root/.curlrc file.
B.
but why does it work in one direction?
No proxy changing to proxy is working immediately but proxy changing to no proxy needs a relogin?
Ralf Prengel
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx
| < Previous | Next > |