-
Bug
-
Resolution: Won't Do
-
Undefined
-
rhel-7.9.z
-
None
-
Low
-
rhel-sst-cs-plumbers
-
ssg_core_services
-
None
-
False
-
-
None
-
None
-
None
-
None
-
---
-
-
Unspecified
-
None
Description of problem:
In /etc/profile.d/lang.sh
for langfile in /etc/locale.conf "$HOME/.i18n" ; do
[ -f $langfile ] && . $langfile && sourced=1
done
[ -f $langfile ] always evaluates to true regardless of whether langfile is set or not. $langfile should be in quotes. This is fixed in RHEL 8.6, at least.
Version-Release number of selected component (if applicable):
initscripts-9.49.53-1.el7_9.1.x86_64
How reproducible:
always
Steps to Reproduce:
1. cat /etc/profile.d/lang.sh
2.
3.
Actual results:
Expected results:
Additional info:
- external trackers