-
Bug
-
Resolution: Done-Errata
-
Undefined
-
rhel-8.8.0, rhel-8.9.0.z, rhel-9.2.0, rhel-9.3.0.z
-
None
-
setup-2.13.7-10.el9
-
None
-
None
-
rhel-stacks-services-scripting
-
ssg_core_services
-
25
-
None
-
QE ack, Dev ack
-
False
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
Pass
-
Not Needed
-
RegressionOnly
-
-
All
-
None
What were you trying to do that didn't work?
/etc/csh.login does not source /etc/profile.d/csh.local
Please provide the package NVR for which bug is seen:
- setup-2.12.2-9.el8.noarch
- setup-2.13.7-9.el9.noarch
How reproducible:
Always.
Steps to reproduce
- Add a user whose shell is /bin/csh
- Add a command to /etc/profile.d/csh.local, e.g.
setenv HELLO "Hello World"
- Log in as the user added in step 1
- Test if the command added in step 2 is executed
echo $HELLO
Expected results
Hello World
Actual results
Nothing
Additional information
The problem happens because line 34 of /etc/csh.login contains this:
foreach i ( /etc/profile.d/*.csh )
but it should contain this, as in RHEL 7:
foreach i ( /etc/profile.d/*.csh /etc/profile.d/csh.local )
- links to
-
RHBA-2024:127821 setup update
- mentioned on