This bug was initially created as a copy of Bug #1945400 I am copying this bug because: This problem happens on Fedora also, let's fix it in Rawhide first before fixing it in RHEL8. Description of problem: Anyone using (t)csh as a login shell has the variable p set to "/usr/sbin". This can lead to unexpected consequences, e.g. when typing "cd p" (where directory p does not exist in the current working directory), example: [user@host ~]$ /bin/tcsh -l host_user% echo $p /usr/sbin host_user% pwd /tmp host_user% cd p host_user% pwd /usr/sbin There is a foreach in /etc/csh.login that adds sbin directories to the path using the variable p. There should be an "unset p" after the foreach to clear the variable. Version-Release number of selected component (if applicable): Tested with the latest RHEL 8.3 - setup-2.12.2-6.el8.noarch. And also on RHEL 7 with - setup-2.8.71-11.el7.noarch How reproducible: Everytime Steps to Reproduce: 1. Install tcsh 2. Set its as the user shell or login using "tcsh -l" 3. Check that the variable p is set as /usr/sbin "echo $p" Actual results: Tcsh set variable p to /usr/sbin Expected results: Tcsh should clear variable p Additional info: This also applies to Red Hat Enterprise Linux 7 so cloning this bug.
This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle. Changing version to 36.
The fix is in git: https://pagure.io/setup/c/e189898849b92d9ddf7070c5d5da0c7856ade4a4?branch=master
FEDORA-2022-13c2b1e6db has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-13c2b1e6db
FEDORA-2022-d37f9b1e8b has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2022-d37f9b1e8b
FEDORA-2022-d37f9b1e8b has been pushed to the Fedora 35 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-d37f9b1e8b` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-d37f9b1e8b See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-13c2b1e6db has been pushed to the Fedora 36 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2022-13c2b1e6db` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-13c2b1e6db See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2022-13c2b1e6db has been pushed to the Fedora 36 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2022-d37f9b1e8b has been pushed to the Fedora 35 stable repository. If problem still persists, please make note of it in this bug report.