View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0016467||CentOS-8||tcsh||public||2019-09-26 13:17||2019-10-09 18:16|
|Target Version||Fixed in Version|
|Summary||0016467: /etc/profile.d/lang.csh uses value of TERM without first testing for its existence|
|Description||The file /etc/profile.d/lang.csh was rewritten between CentOS 7 and 8 (also Oracle and Red Hat distributions),|
introducing a bug: TERM is used without first checking that it has already been set. The impact is that
tcsh stops further processing of its startup files, INCLUDING the user's $HOME/.cshrc (or .tcshrc) file
that may contain critical customizations. In my case, the bug completely broke my automated
build environment that uses inbound ssh to execute commands on the CentOS 8 host.
A correct bug fix will repair lang.csh, but a quick temporary fix is to rename that file
to, e.g., lang.csh.buggy, or as I did, add "set TERM=xterm" at the top of /etc/csh.cshrc.
|Steps To Reproduce||ssh centos-8-host "run some command that depends on settings in $HOME/.cshrc"|
|Tags||No tags attached.|
|CentOS is a rebuild of the sources used to create RHEL. We do not modify anything except to remove branding and logos. You will need to submit your request to Redhat via bugzilla.redhat.com and if/when RH accepts it and incorporates it into RHEL and releases a patched version, then CentOS will pick it up and rebuild it.|