-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Print interactive sandboxed shell command with --sandbox_debug
#20708
Conversation
The `--sandbox_debug` output for the Linux sandbox now also contains a copyable command that drops the user into an interactive shell in an identical sandboxed environment. This is in particular meant to address the increased complexity of the bind mount structure incurred by the flip of `--incompatible_sandbox_hermetic_tmp`.
@bazel-io fork 7.0.1 |
@lberki Would you like to see a test covering this debug output? I'm not sure how to do better than a few |
Meh, I don't think it makes sense to meticulously test debugging output. Ship it! |
The `--sandbox_debug` output for the Linux sandbox now also contains a copyable command that drops the user into an interactive shell in an identical sandboxed environment. This is in particular meant to address the increased complexity of the bind mount structure incurred by the flip of `--incompatible_sandbox_hermetic_tmp`. Closes bazelbuild#20708. PiperOrigin-RevId: 595457357 Change-Id: I6dfd410895b93fce67b9666c76c5f7757e77dc3a
…ug` (#20734) The `--sandbox_debug` output for the Linux sandbox now also contains a copyable command that drops the user into an interactive shell in an identical sandboxed environment. This is in particular meant to address the increased complexity of the bind mount structure incurred by the flip of `--incompatible_sandbox_hermetic_tmp`. Closes #20708. Commit 48ce49b PiperOrigin-RevId: 595457357 Change-Id: I6dfd410895b93fce67b9666c76c5f7757e77dc3a Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
@bazel-io fork 7.1.0 |
The `--sandbox_debug` output for the Linux sandbox now also contains a copyable command that drops the user into an interactive shell in an identical sandboxed environment. This is in particular meant to address the increased complexity of the bind mount structure incurred by the flip of `--incompatible_sandbox_hermetic_tmp`. Closes bazelbuild#20708. PiperOrigin-RevId: 595457357 Change-Id: I6dfd410895b93fce67b9666c76c5f7757e77dc3a
…ug` (#20769) The `--sandbox_debug` output for the Linux sandbox now also contains a copyable command that drops the user into an interactive shell in an identical sandboxed environment. This is in particular meant to address the increased complexity of the bind mount structure incurred by the flip of `--incompatible_sandbox_hermetic_tmp`. Closes #20708. Commit 48ce49b PiperOrigin-RevId: 595457357 Change-Id: I6dfd410895b93fce67b9666c76c5f7757e77dc3a Co-authored-by: Fabian Meumertzheim <fabian@meumertzhe.im>
The changes in this PR have been included in Bazel 7.0.1 RC2. Please test out the release candidate and report any issues as soon as possible. If you're using Bazelisk, you can point to the latest RC by setting USE_BAZEL_VERSION=last_rc. |
The
--sandbox_debug
output for the Linux sandbox now also contains a copyable command that drops the user into an interactive shell in an identical sandboxed environment. This is in particular meant to address the increased complexity of the bind mount structure incurred by the flip of--incompatible_sandbox_hermetic_tmp
.