Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 760241

Summary: /etc/csh.login adds /usr/X11R6/bin path which is inconsistent with bash
Product: Red Hat Enterprise Linux 5 Reporter: Karel Volný <kvolny>
Component: setupAssignee: Ondrej Vasik <ovasik>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: medium    
Version: 5.8CC: azelinka
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-21 05:39:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 758797    

Description Karel Volný 2011-12-05 17:05:22 UTC
Description of problem:
/etc/csh.login adds "/usr/X11R6/bin" path element

but this file is not sourced by bash (and ksh, for the record), making the environment in different shells inconsistent


Version-Release number of selected component (if applicable):
setup-2.5.58-7.el5

How reproducible:
always

Steps to Reproduce:
we've discovered this while running the automated test
/CoreOS/setup/Regression/bz457243-non-interactive-login-shell
which compares PATH for the default shell (bash) and for tcsh

  
Actual results:
1c1
< /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
---
> /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin
:: [   FAIL   ] :: Comparing the path to the one returned by the original shell (Expected 0, got 1)


Expected results:
:: [   PASS   ] :: Comparing the path to the one returned by the original shell 

Additional info:

Comment 5 errata-xmlrpc 2012-02-21 05:39:24 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0198.html