On RHEL machines the /usr/bin/python3 file is a symlink that points to /usr/bin/python3.9
If this symlink is updated to point to /opt/saltstack/salt/bin/python3.10 the overall performance of the salt-master machine will deteriorate
While this KB uses RHEL 9 as an example the issue can occur for any Linux based OS where similar changes are made
Any machine with salt installed via onedir (https://docs.saltproject.io/en/latest/topics/packaging/index.html)
The OS does not expect to have all of its tooling run through the python environment provided by a salt installation for use by the salt installation and can cause unforeseen issues, including a significant degradation in OS performance
ln -s /usr/bin/python3 /usr/bin/python3.9