Bug 1269878

Summary: gnome wayland session: .bash_profile ignored
Product: [Fedora] Fedora Reporter: Fabio Valentini <decathorpe>
Component: gnome-sessionAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: jmccann, rstrode
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: 2015-11-11 12:30:28 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:
Embargoed:

Description Fabio Valentini 2015-10-08 12:11:42 UTC
Steps to Reproduce:

1. log in to GNOME (Wayland)

2. $ cat .bash_profile
# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
	. ~/.bashrc
fi

# User specific environment and startup programs

PATH=$PATH:$HOME/.local/bin:$HOME/bin

export PATH


3. $ echo $PATH
/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin

Comment 1 Fabio Valentini 2015-11-11 12:00:57 UTC
Is there anything happening to find out what causes this bug?
Because it is really annoying.

Comment 2 Ray Strode [halfline] 2015-11-11 12:30:28 UTC
We're tracking this upstream here:

https://bugzilla.gnome.org/show_bug.cgi?id=736660

The issue is right now the start up path contains a tower of shell scripts that have nothing to do with the graphical session, and wayland is an opportunity to break away from that.

Obviously we need a way for users to set environment variables, though. See the upstream bug for more details.