Skip to content
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

WIP salt: fix patch once more, now using EAFP #29723

Closed
wants to merge 1 commit into from

Conversation

danbst
Copy link
Contributor

@danbst danbst commented Sep 24, 2017

See #29020 (comment)

Patch introduced in PR #29020 was OK when installing salt on NixOS, but on Linux
behavior was switched to less pure variant. Here I'm returning back original
behavior (use hardcoded path to libcrypto by default), but don't disallow dynamic
library lookups (which was essential for salt-ssh).

"Easier to Ask Forgiveness than Permission" principle at work.

Fixes NixOS#29020

Patch introduced in PR NixOS#29020 was OK when installing salt on NixOS, but on Linux
behavior was switched to less pure variant. Here I'm returning back original
behavior (use hardcoded path to `libcrypto` by default), but don't disallow dynamic
library lookups (which was essential for `salt-ssh`).

"Easier to Ask Forgiveness than Permission" principle at work.
@mention-bot
Copy link

@danbst, thanks for your PR! By analyzing the history of the files in this pull request, we identified @aneeshusa to be a potential reviewer.

@danbst
Copy link
Contributor Author

danbst commented Sep 24, 2017

I'm going to do some tests soon, so don't merge now please.

@danbst danbst changed the title salt: fix patch once more, now using EAFP WIP salt: fix patch once more, now using EAFP Sep 24, 2017
@danbst
Copy link
Contributor Author

danbst commented Jan 17, 2018

Closing in favor of #33971

@danbst danbst closed this Jan 17, 2018
@danbst danbst deleted the patch-12 branch January 17, 2018 08:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants