Red Hat Bugzilla – Bug 158265
tcsh -e bails out at the beginning of /etc/csh.cshrc
Last modified: 2014-03-16 22:54:00 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/103u (KHTML, like Gecko) Safari/100
Description of problem:
running "tcsh -eX" for me produces this:
[ cntrctrs = rjwalker -a 1009 -gt 99 ]
Then tcsh bails out - I do not get a new shell.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Log in with a user where the user id and group id are different
2. Run tcsh -eX
Actual Results: You don't get a new shell.
Expected Results: You should get a new shell!
The problem is the very beginning of /etc/csh.cshrc. It shouldn't use exit
codes in this way. (And neither should any other script in /etc/profile.d.)
This sort of problem was identified previously in bug 139988.
Created attachment 114610 [details]
patch for this
Here's what will be in 2.5.44-1.
(Note that patch is relative to 2.5.43.)