Bug 68483 - DefaultPath and RootPath in gdm.conf are nonsense
Summary: DefaultPath and RootPath in gdm.conf are nonsense
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gdm
Version: 7.3
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Havoc Pennington
QA Contact: Mike McLean
Depends On:
Blocks: 67218
TreeView+ depends on / blocked
Reported: 2002-07-10 16:15 UTC by Patrick J. LoPresti
Modified: 2007-04-18 16:44 UTC (History)
0 users

Clone Of:
Last Closed: 2002-08-21 17:16:26 UTC

Attachments (Terms of Use)

Description Patrick J. LoPresti 2002-07-10 16:15:08 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020513

Description of problem:

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

How reproducible:

Steps to Reproduce:
1. "grep Path /etc/X11/gdm/gdm.conf"
2. Read output carefully.
3. Think.

Actual Results:  
There are three problems with these paths.

First, /usr/bin appears twice in each of them.  This is just silly.

Second, /usr/bin/X11 is not an FHS-compliant path.  It happens to work thanks to
a blecherous backwards-compatibility symlink, but I suggest that /usr/X11R6/bin
would be cleaner.

Third, and the thing which made me notice this, is that /usr/bin appears BEFORE
/usr/local/bin.  This is bad; normal Unix admin practice is to put stuff in
/usr/local to override the versions supplied by the vendor.  Every other default
PATH setting I have ever seen puts /usr/local/bin first, which makes sense.  I
suggest moving it earlier, for consistency with what everything else (e.g.,
/etc/profile) tries to achieve.

Expected Results:  See above.

Additional info:

One workaround is to create /etc/environment with the PATH of your choice.  That
is what I did here...

(By the way, thanks for a generally excellent product.)

Comment 1 Elliot Lee 2002-08-26 17:43:13 UTC
stripped them down to reflect the minimal paths that /bin/login sets. The rest gets done via 

Note You need to log in before you can comment on or make changes to this bug.