Bug 671875

Summary: Overwrites PATH variable with /usr/bin
Product: [Fedora] Fedora Reporter: Zdenek Kabelac <zkabelac>
Component: gnome-shellAssignee: Owen Taylor <otaylor>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: maxamillion, mschmidt, otaylor, samkraju, walters
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-03-11 13:34:38 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 Zdenek Kabelac 2011-01-22 11:07:04 UTC
Description of problem:

Gnome-shell 'destroy' my PATH setting from .bash_profile login.
This is part of /usr/bin/gnome-shell:

'PATH'  : '/usr/bin:' + os.environ.get('PATH', ''),


This is definitely very bad idea of PATH handling.
'/usr/bin' is already part of PATH and as a user I prefer to decide,
where are the binaries loaded from.

At best - the tool can check whether /usr/bin is already part of PATH
and if it's not - it can attach this path as the 'last' one in the list.

Version-Release number of selected component (if applicable):
gnome-shell-2.91.5-3.fc15.x86_64

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Michal Schmidt 2011-03-11 10:43:13 UTC
I don't think it does that anymore.
Are you still seeing the problem?

Comment 2 Zdenek Kabelac 2011-03-11 13:24:06 UTC
Yes with gnome-shell-2.91.91-1.fc15.x86_64 my path is again properly ordered and I do not get /usr/bin prepended as the firt.
(though gnome-shell itself crashes 30times per day with thunderbird)