Bug 682804

Summary: gnome-applets should depend on libproxy-gnome
Product: [Fedora] Fedora Reporter: Martin Wilck <martin.wilck>
Component: gnome-appletsAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 14CC: gasmith, rstrode
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-16 15:31:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Martin Wilck 2011-03-07 15:59:39 UTC
Description of problem:

gweather-applet-2 doesn't honor GNOME proxy settings if libproxy-gnome is not installed. This dependency is totally obscure.

Version-Release number of selected component (if applicable):
gnome-applets-2.32.0-3.fc14.x86_64

How reproducible:
always

Steps to Reproduce:
1. configure http proxy and no_proxy ("ignore hosts") in GNOME settings
2. run GNOME weather applet
3. Configure any location
  
Actual results:
gweather-applet-2 just displays "--" and no details. No weather information is fetched. strace shows that the proxy isn't used. Using a debugger, I found out that the "gnome" extension module of libproxy was required but not found. However many GNOME users will just rely on the GNOME settings.

Expected results:
Fetches weather information

Additional info:

If a proxy and "ignored hosts" (no_proxy) is configured in GNOME and libproxy-gnome is not installed, gweather-applet-2 will not display anything reasonable. This is although system environment variables for proxy are set in /etc/profile.d (I haven't analyzed why they aren't used).

[martin@cooper tests]$ env | egrep proxy\|gnome
ftp_proxy=http://proxy.pdb.fsc.net:81
all_proxy=socks://proxy.pdb.fsc.net:81/
ALL_PROXY=socks://proxy.pdb.fsc.net:81/
DESKTOP_SESSION=gnome
https_proxy=http://proxy.pdb.fsc.net:81
GDMSESSION=gnome
SSH_ASKPASS=/usr/libexec/openssh/gnome-ssh-askpass
no_proxy=localhost,127.0.0.0/8
COLORTERM=gnome-terminal

gweather-applet-2 fetches data through libgweather and libsoup. libsoup relies on libproxy if "no_proxy" is defined. So my guess is (not tested) that similar problems will also affect other programs using libsoup.

Comment 1 Martin Wilck 2011-03-07 16:02:48 UTC
Sorry a cut'n paste error in the description above. Please ignore the sentence "However many GNOME users will just rely on the GNOME settings" under "Actual results". It should have been pasted further below, like this:

Additional info:

[...] This is although system environment variables for proxy are set in
/etc/profile.d (I haven't analyzed why they aren't used). However many GNOME users will just rely on the GNOME settings, and not set proxy environment variables in the profile.

Comment 2 Martin Wilck 2011-03-08 10:05:20 UTC
I should add that gnome-applets should also depend on libproxy-mozjs and/or libproxy-webkit in order to make automatic proxy configuration available for gweather-applet-2.

Comment 3 Martin Wilck 2011-03-08 12:02:46 UTC
Filed bug 683033 against libproxy - this seems to be a generic problem that the libproxy maintainers need to handle.

Comment 4 Fedora End Of Life 2012-08-16 15:31:06 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping