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

Make it run on FreeBSD #906

Merged
merged 3 commits into from
Nov 19, 2024
Merged

Conversation

bjorn3
Copy link
Collaborator

@bjorn3 bjorn3 commented Nov 18, 2024

There are still a bunch of things that need to be fixed for FreeBSD with some potentially having a security impact, so don't rely on this in production yet. For this reason you need to set SUDO_RS_IS_UNSTABLE when trying to use it on FreeBSD.

Together with #904 and #905 this results in:

test result: FAILED. 562 passed; 84 failed; 62 ignored; 0 measured; 0 filtered out; finished in 785.26s

error: test failed, to rerun pass `-p sudo-compliance-tests --lib`

Part of #869

@bjorn3 bjorn3 added the freebsd label Nov 18, 2024
Copy link
Member

@squell squell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's debatable whether we need a "kernel check" to ensure sudo-rs isn't being run on FreeBSD prior to 8.0. I think we probably don't need this:

  • FreeBSD 8.0 is already almost 10 years EOL
  • this only gives users a slightly nicer error message and isn't a security feature.

@bjorn3 bjorn3 merged commit 9b2b25f into trifectatechfoundation:main Nov 19, 2024
13 checks passed
@bjorn3 bjorn3 deleted the freebsd_run branch November 19, 2024 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants