https://bugzilla.novell.com/show_bug.cgi?id=739282
https://bugzilla.novell.com/show_bug.cgi?id=739282#c4
--- Comment #4 from Michael Andres 2012-02-10 13:01:51 CET ---
There is a difference in using "su" or "su -" to create the root shell
launching zypper.
In the first case the user environment is preserved and libproxy may see you
are
in a kde/gnome session and thus uses the kde/gnome configuration, which is
often empty.
If you do "su -" you have a root login shell, and libproxy reads and prefers
the configuration from /etc/sysconfig/proxy (which is what YaST writes).
You can test this calling '_PX_DEBUG=1 proxy http://download.opensuse.org'
(needs libproxy-tools being installed). This is how it should look like:
$_PX_DEBUG=1 proxy http://download.opensuse.org
Using config: 26sysconfig_config_extension
...
--
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.