View Issue Details

IDProjectCategoryView StatusLast Update
0016467CentOS-8tcshpublic2019-10-09 18:16
Reporterbeebe 
PrioritynormalSeveritymajorReproducibilityalways
Status newResolutionopen 
Platformx86-64OSCentOSOS Version8.0.1905
Product Version8.0.1905 
Target VersionFixed in Version 
Summary0016467: /etc/profile.d/lang.csh uses value of TERM without first testing for its existence
DescriptionThe 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 Reproducessh centos-8-host "run some command that depends on settings in $HOME/.cshrc"
TagsNo tags attached.

Activities

TrevorH

TrevorH

2019-10-09 18:16

manager   ~0035406

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.

Issue History

Date Modified Username Field Change
2019-09-26 13:17 beebe New Issue
2019-10-09 18:16 TrevorH Note Added: 0035406