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

bublewrap_runner: add /sys mount #1571

Merged
merged 1 commit into from
Oct 18, 2024

Conversation

xnox
Copy link
Contributor

@xnox xnox commented Oct 18, 2024

schroot, choort, rpmbuild, docker, lxd, incus, systemd-nspawn, qemu
VMs, and bare-metal machines all have /sys (sysfs) mounted.

During test pipelines some of the software we build and run, tries to
use /sys which is expected to be available and currently fails. Fix
this compatability by providing /sys in the bubblewrap sandbox, by
making it look ever so slightly like a normal chroot.

This fixes running jemalloc test pipeline with stress-ng under
bubblewrap runner.

schroot, choort, rpmbuild, docker, lxd, incus, systemd-nspawn, qemu
VMs, and bare-metal machines all have /sys (sysfs) mounted.

During test pipelines some of the software we build and run, tries to
use /sys which is expected to be available and currently fails. Fix
this compatability by providing /sys in the bubblewrap sandbox, by
making it look ever so slightly like a normal chroot.

This fixes running jemalloc test pipeline with stress-ng under
bubblewrap runner.
@imjasonh imjasonh enabled auto-merge October 18, 2024 19:48
@imjasonh imjasonh merged commit 0249595 into chainguard-dev:main Oct 18, 2024
40 checks passed
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.

2 participants