-
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] Salt 3006.1 x509 module breaks on RHEL 9 with m2crypto #64288
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. |
Was there anything logged when you installed M2Crypto? |
Was there anything logged when you installed M2Crypto?
Is there anything in the minion logs?
Is there any output from /opt/saltstack/salt/bin/python3 -c 'import M2Crypto'?
|
This is the same issue as #64121 |
This isn't a showstopper for us, since we've switched to x509_v2. But since m2crypto is not installable with salt-pip, the default x509 module is broken on RHEL 9. |
N.B. x509_v2 currently has this problem: #64195 |
I was able to reproduce this. Still looking into a root cause. |
I was able to get M2Crypto to work using relenv's toolchain.
followed by
|
After digging in a bit deeper; because we shouldn't need to compile using relenv's toolchain. I discovered an issue with relenv's runtime setup. We should be able to fix this so a normal pip install will work. |
As mentioned, it's a path issue and not system specific. Closed #64485 as a duplicate of this. |
Is this fixed on the latest version of Salt? 3006.3 |
Hi! I'm running into the same issue with Ubuntu 22.04. and 3006.3. m2crypto is installed with salt-pip and it still fails to execute x509 states. Any info when a fix will be availalble? |
This should be resolved when we upgrade to relenv 0.16.1. |
This fix goes into |
Description
Salt 3006.1 x509 module breaks on RHEL 9 with m2crypto
Setup
RHEL 9 minion with Salt 3006.1 onedir installed from yum package. x509_v2 is not enabled, and m2crypto is installed with salt-pip.
Steps to Reproduce the behavior
salt-pip install m2crypto
Expected behavior
x509 certificate details are output as a dictionary, and no error is returned. This command works as expected on RHEL 8 with m2crypto on Salt 3006.1 and 3005.1
Versions Report
MINION:
salt-pip show m2crypto
Name: M2Crypto
Version: 0.38.0
Summary: M2Crypto: A Python crypto and SSL toolkit
Home-page: https://gitlab.com/m2crypto/m2crypto
Author: Ng Pheng Siong
Author-email: [email protected]
License: MIT
Location: /opt/saltstack/salt/extras-3.10
Requires:
Required-by:
salt-call --versions-report
Salt Version:
Salt: 3006.1
MASTER
salt --versions-report
Salt Version:
Salt: 3006.1
The text was updated successfully, but these errors were encountered: