-
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][MacOS] Salt errors on macOS Big Sur #57787
Comments
The current workaround before an official release. replace Line 77 in
to
|
All of the above is assuming the use of the Sodium Release 3001 |
I've taken a look at the most recent Would you be comfortable making the decision based on |
It still returns Though |
|
ahh looks like the release is |
|
Yeah, and it's still 19.x.x on 10.15.5 (and the 10.15.6 beta.) They seem to treat it kinda like how Windows treats the NT version: always back port, never reuse. It's probably a safer version to use. |
Description
When attempting to run salt on macOS Big Sur the following error is produced.
This is caused by a change in how dynamic libraries are made available on macOS. More info in the snippet bellow from the Big Sur Release Notes.
The way salt currently works is it's looking for the path of the
libcrypto.dylib
which is missing on Big Sur. Which is why we fail.My recommendation is to no longer rely on a system provided OpenSSL in
salt/utils/rsax931.py
and move to using the OpenSSL that is provided by the salt installer in #57607. (We can also add needed paths for Homebrew and Macports installations) and only fall back to the System as the last resort.Setup
A system running macOS Big Sur
Steps to Reproduce the behavior
run
sudo salt-call --version
version report
After applying work around.
The text was updated successfully, but these errors were encountered: