Skip to content

Make /lib64 mount optional#260

Merged
jb3 merged 1 commit into
mainfrom
jb3/optional-lib64-mount
Jun 28, 2026
Merged

Make /lib64 mount optional#260
jb3 merged 1 commit into
mainfrom
jb3/optional-lib64-mount

Conversation

@jb3

@jb3 jb3 commented Jun 28, 2026

Copy link
Copy Markdown
Member

Snekbox currently fails using on ARM systems (with the images introduced in #258) as the /lib64 path we mount as part of the default config does not exist on ARM platforms.

All necessary system libraries should be present in /lib when on ARM and removing this mount entirely works fine on ARM architectures.

Adding the "mandatory: false" will still generate a warning on ARM systems (where the path does not exist) but will not fail the nsjail process, which I think is fine. If we want we could try remove the warning but given we run snekbox on AMD in production I don't think it's a major issue.

This path does not exist on ARM-based architectures, all necessary system libraries
should be present in /lib and removing this mount entirely works fine on ARM
architectures.

Adding the "mandatory: false" will still generate a warning on ARM systems (where the
path does not exist) but will not fail the nsjail process.
@jb3 jb3 requested review from Den4200 and MarkKoz as code owners June 28, 2026 17:52
@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 88.345%. remained the same — jb3/optional-lib64-mount into main

@jb3 jb3 merged commit 9f1791b into main Jun 28, 2026
7 checks passed
@jb3 jb3 deleted the jb3/optional-lib64-mount branch June 28, 2026 18:02
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.

3 participants