Red Hat Bugzilla – Bug 189551
Network proxy preferences not seen by pirut
Last modified: 2008-05-01 11:38:06 EDT
Description of problem:
Not obvious how to set up pirut to work through a proxy when launched from gnome.
Version-Release number of selected component (if applicable):
pirut --version doesn't work. It is the version that came with FC5 #1.
Try running in an environment that has a proxy firewall.
Steps to Reproduce:
1. Set up environment for working with a proxy/firewall by setting network proxy
preferences (System Menu -> Preferences -> Network Proxy). In my case, I use
manual proxy configuration.
2. Run pirut from gnome graphical environment as root (Applications menu
Hangs for a minute or two, times out with an error dialog, then exits when the
error is acknowledged.
1) Setting up network proxy preferences (System Menu -> Preferences -> Network
Proxy)should be all that is needed to configure a proxy environment for all
networking applications launched from the graphical environment.
It appears that pirut expects to inherit proxy settings from the environment
that launches it and does not go looking in conf files that the network proxy
application sets. The window manager apparently does not provide these settings
in the environment when it spawns an application. This may really be an issue
with the window manager and not pirut.
The following flailing attempts were tried and do not seem to work:
1) Set up the network proxy preferences (System Menu -> Preferences -> Network
Proxy). Even tried logging out and back in and tried rebooting - both with no joy.
2) Added a proxy statement to yum.conf (proxy=http://foo.bar.com:1234).
3) Added the following lines to /etc/wgetrc:
4) Created files proxy.sh and proxy.csh in /etc/proxy.d and populated as follows:
setenv http_proxy http://host.com:port/
setenv ftp_proxy http://host.com:port/
setenv no_proxy .domain.com
setenv HTTP_PROXY http://host.com:port/
setenv FTP_PROXY http://host.com:port/
Note 1: While this has no discernable effect when pruit is launched from Gnome
(Applications menu ->Add/Remove Software), it does affect shell environments as
would be expected.
Note 2: If pirut is launched manually from one of these shell environments then
it *does* work.
*** This bug has been marked as a duplicate of 185309 ***