tcsh sets variable p to /usr/sbin from /etc/csh.login

Resolves: #2066767
This commit is contained in:
Martin Osvald 2022-05-09 12:34:38 +02:00
parent c74dcbc681
commit 7ca3e69e46
2 changed files with 14 additions and 0 deletions

12
csh.login-unset-p.patch Normal file
View File

@ -0,0 +1,12 @@
diff --git a/csh.login b/csh.login
index e4b1990..18c5136 100644
--- a/csh.login
+++ b/csh.login
@@ -23,6 +23,7 @@ else
breaksw
endsw
end
+ unset p
endif
setenv HOSTNAME `/usr/bin/hostname`

View File

@ -16,6 +16,7 @@ Conflicts: filesystem < 3
Conflicts: initscripts < 4.26, bash <= 2.0.4-21
Patch0: setup-hostname.patch
Patch1: csh.login-unset-p.patch
%description
The setup package contains a set of important system configuration and
@ -117,6 +118,7 @@ end
%changelog
* Mon May 09 2022 Martin Osvald <mosvald@redhat.com> - 2.13.7-7
- Move /var/log/lastlog ownership to systemd (#2066753)
- tcsh sets variable p to /usr/sbin from /etc/csh.login (#2066767)
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 2.13.7-6
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags