Bug 1327836

Summary: Firefox is not aware of environment variable
Product: [Fedora] Fedora Reporter: srakitnican <samuel.rakitnican>
Component: waylandAssignee: Adam Jackson <ajax>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 24CC: ajax, sdeasey
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-08 14:15:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description srakitnican 2016-04-16 17:02:36 UTC
Description of problem: Setting http_proxy variable, firefox does not use it from wayland session. On X session, firefox uses variable.

Version-Release number of selected component (if applicable):


How reproducible: Always


Steps to Reproduce:
1. # echo "export http_proxy=http://127.0.0.1:3128" > /etc/profile.d/proxy.sh
2. Make sure "Use system proxy settings" is enabled in Firefox preferences.
3. Try to download cached file

Actual results: Firefox bypasses proxy server


Expected results: Firefox uses environment variable


Additional info:

Comment 1 Stephen 2016-08-16 17:38:56 UTC
More data:

If I start a gnome-emacs from the Gnome shell under wayland, then the PATH does not contain ~/bin, which I set in .bashrc. If I examine the emacs variable `process-environment` I can see that many variables which I have set in .bashrc show up, but the path has been scrubbed.

Still under wayland, if I start a gui gnome-emacs from a terminal window, the PATH contains my modifications.

If I start up gedit via Gnome shell, then check it's environment with:

  sudo cat /proc/`pgrep gedit`/environ

I can see that the PATH has been scrubbed. Start gedit from a terminal and the PATH is as expected.

This all works fine under a normal X session.

Looks like something specific to gnome-shell running under wayland is diddling with various env variables for programs launched via the shell.

Comment 2 srakitnican 2016-08-16 17:47:15 UTC
See also bug 1149905.

Comment 3 Fedora End Of Life 2017-07-25 20:33:46 UTC
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '24'.

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

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is 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  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

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.

Comment 4 Fedora End Of Life 2017-08-08 14:15:27 UTC
Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.