Mailinglist Archive: opensuse-factory (905 mails)

< Previous Next >
Re: [opensuse-factory] proxy-management of yast2 bug?
  • From: Katarina Machalkova <kmachalkova@xxxxxxx>
  • Date: Tue, 10 Jun 2008 10:34:51 +0200
  • Message-id: <200806101034.55918.kmachalkova@xxxxxxx>
Ehlo,

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.
--
\\\\\ Katarina Machalkova
\\\\\\\__o YaST developer
__\\\\\\\'/_ & hedgehog painter
< Previous Next >
Follow Ups
References