Bug 760241 - /etc/csh.login adds /usr/X11R6/bin path which is inconsistent with bash
Summary: /etc/csh.login adds /usr/X11R6/bin path which is inconsistent with bash
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: setup
Version: 5.8
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Ondrej Vasik
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks: 758797
TreeView+ depends on / blocked
 
Reported: 2011-12-05 17:05 UTC by Karel Volný
Modified: 2012-02-21 05:39 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-02-21 05:39:24 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0198 0 normal SHIPPED_LIVE setup bug fix and enhancement update 2012-02-20 14:54:05 UTC

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


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