
OPERATIONAL DEFECT DATABASE
...

...
/etc/profile.d/which2.sh incorrectly assumes that it has read access to /proc/$$/exe, which is not always going to be true. When it's not true, it throws an error. The which2.sh script seems to exists independently of an upstream file in the GNU which distribution, and is thus inherently ours. Hence there is no upstream above CentOS Stream. Merge requests incoming.
Done-Errata
Red Hat Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.