Hide Forgot
Description of problem: For current "rawhide", GDM prepends /usr/bin to the path which is wrong. The default user path in a virtual console reads /usr/lib64/ccache:/usr/local/bin:/bin:/usr/bin . However, in a desktop session started via GDM, the path becomes /usr/bin:/usr/lib64/ccache:/usr/local/bin:/usr/bin:/bin . Accordingly, 'which cc' returns /usr/lib64/ccache/cc when run in a virtual console and /usr/bin/cc when run in a desktop shell which is neither intended nor consistent. Version-Release number of selected component (if applicable): gdm-2.91.4-5.fc15 How reproducible: Always. Steps to Reproduce: 1. Execute 'which cc' in a virtual console. 2. Execute 'which cc' in a desktop shell. Actual results: In the first case, 'which cc' returns /usr/lib64/ccache/cc, in the second case, it returns /usr/bin/cc. Expected results: In both cases, 'which cc' returns /usr/lib64/ccache/cc. Additional info: - Issue appeared during the GNOME3 development cycle. Fedora 14 features gdm-2.32.0-1.fc14 which behaves correctly. - GDM prepends /usr/bin to the search path in two different places: * /etc/gdm/Init/Default: PATH="/usr/bin:$PATH" * /etc/gdm/PreSession/Default: PATH="/usr/bin:$PATH"
Issuse doe not apply to F14 even though gdm-2.32.0-1.fc14 exhibits similar initialization scripts including path modification: * /etc/gdm/Init/Default:PATH="/usr/bin:$PATH" , * /etc/gdm/PreSession/Default . Thus, component gdm might be the wrong component.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
Thank you for filing the bug report. However, I want to make sure I understand the issue correctly. I'm not certain that this is necessarily a bug. Prepending /usr/bin to PATH is needed to to ensure the user can start his session properly. Are you requesting to have it set as PATH=$PATH:/usr/bin instead of PATH=/usr/bin:$PATH ? Also, just curious; If you update to gdm to the latest version through yum (yum update gdm) do you still have the same issue? Thanks. -- Fedora Bugzappers volunteer triage team https://fedoraproject.org/wiki/BugZappers
Issue seems to have disappeared for current F15 (tested with an updated F15 live CD).