-
Notifications
You must be signed in to change notification settings - Fork 585
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
build: building with --disable-sandbox-check breaks tests #6619
Comments
--disable-sandbox
causes tests to failThis reverts commit 5c6fa6a. The commit in question causes `HAVE_SANDBOX_CHECK` to always be unset (instead of only when `--disable-sandbox-check` is used), as its value was being passed to the compiler through `MANFLAGS`. Move the macro back into `MANFLAGS` for simplicity. Also, using `--disable-sandbox-check` breaks the tests and thus also breaks CI (see #6619). Relates to #6592.
Oh sorry, I totally forgot about the tests, my bad! 😓 I assumed that when the pull request tests pass, it's fine, but apparently not. I should've looked into it beforehand. I'll take a look now if I can contribute anything since my PR broke them. |
It would be nice to have a CI job for it, though there are many PRs open
Besides the tests themselves, it's unclear to me if there are potential Could you look into it and see if/how it relates to the failed tests? |
I will look into it a bit deeper, but like I said in the PR introducing the argument, the reason I wanted it, was to develop and test firejail inside of a sandbox. I wouldn't want anyone to use it in production like that. |
Description
Building with
--disable-sandbox-check
breaks the following tests:Steps to Reproduce
From
test_main
:test_main build errors
From
test_environment
:test_environment build errors
Environment
uname -srm
):Linux 6.5.0-1025-azure #26~22.04.1-Ubuntu SMP Thu Jul 11 22:33:04 UTC 2024 x86_64
Ubuntu 22.04.5 LTS
Arch Linux): ?
git rev-parse HEAD
):a53de49
Relates to:
The text was updated successfully, but these errors were encountered: