-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] EL9 3005~rc1-2 salt minion fails to run with FIPS enabled #62400
Comments
Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here’s some information that may help as you continue your Salt journey.
There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar. |
That looks like a broken dependency. Does it do the same if you just run |
Yes. |
I dug into this a bit more... The "crypto" messages clued me into it possibly being an issue with FIPS, and I have verified that this is the case. After disabling FIPS, the minion seems to run fine -- so really the bug to report is that the "salt-minion does not work with FIPS enabled". I used |
I assume FIPS mode was working before? |
This was my first attempt at 3005 on EL9, so I can't say if it ever worked with FIPS enabled. I'm okay relabeling this as a feature request if FIPS wasn't previously supported. |
@imjustvisiting Thanks for the issue but as per all issues, a versions report should be in the issue, esp. for the salt-master that you are using, understanding the salt-minion versions used, but wondering if we have and issue between the minion and the master, given the error is occurring in dependencies pulled in. |
@dmurphy18 A versions report is not possible.
As this was the RC package, all the dependencies in question would be the bundled ones. As the error occurs before any remote calls, the versions on the master should be irrelevant (but is also the same RC package). |
I wondering if the salt-master is pre-cve and fixes for signing are interfering and hence the 'sig' issue. Hence the need to know what version of salt-master. Also since Centos 9 etc has Openssl v3.x, how has fips been enabled on the machine, for example: kernel changes flagged with fips=1. Given there is no dracut-fips on Centos 9, digging in to just how is fips enabled given I see
Resolving issue on Centos 9 since have the VM up with 3005rc2-1, before checking Rocky and fips Noting: salt-call will go out to the salt-master, need to use --local to ensure only local machine involved |
@imjustvisiting Presumably FIPS has been enabled with |
got it duplicated with
which should make it easier to fix since no salt-master involved
and reboot for changes to take effect |
Problem appears to be due to use of pycparser v2.17 and use of md5 which doesn't exist on RHEL 9 along with SHA-1. From pycparser ply/yacc.py
Need to update requirements file for Salt. |
Fixed by: #62420 |
Description
3005~rc1-2 salt minion fails to run on a Rocky 9 machine
Setup
Installed the RC1~2 RPMs on a baremetal workstation running Rocky 9.0:
Steps to Reproduce the behavior
Any attempt to run the salt minion results in a trace:
The text was updated successfully, but these errors were encountered: