[ClusterLabs] /etc/profile.d/which2.sh bug in RHEL/OL 8.5 can impact shell scripts
RHAYDEN at CERNER.COM
Sat Jan 29 18:00:07 EST 2022
Just an FYI - there is a bug in /etc/profile.d/which2.sh script that can cause ksh scripts to fail. This impacted a Cluster when I upgraded to Oracle Linux 8.5. We have a custom resource that calls a ksh script. Within that ksh script we were sourcing /etc/profile. This in turn, sources the /etc/profile.d/which2.sh script. The which2.sh script returned an error that cascaded back through our Cluster Suite resource shell script causing the node to evict. I downloaded Red Hat's proposed fix and that resolved my ksh script issues. I am hoping that Red Hat releases the correction for RHEL 8.5.
Unsure if others may get impacted, but I thought I would bring it up to the community.
Robert Hayden | Lead Technology Architect | Cerner Corporation | 816.201.4068 | rhayden at cerner.com<mailto:rhayden at cerner.com> | www.cerner.com
CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users