executor: mount read-only sysfs inside isolated actions - #42
Open
zbarsky-openai wants to merge 1 commit into
Open
zbarsky-openai wants to merge 1 commit into
zbarsky-openai wants to merge 1 commit into
Conversation
Hardware-topology discovery inside actiond currently fails with: ```text hwloc/linux: failed to find sysfs cpu topology directory, aborting linux discovery. ``` Create an action-local `/sys` mount point and mount sysfs read-only after entering the existing private mount namespace. Keep the mount `nosuid`, `nodev`, and `noexec`, and extend the existing chroot-directory test. The ARM64 guest was rebuilt through actiond. A real remote action reads `/sys/devices/system/cpu/online` and verifies the sysfs mount is read-only; the original mpi4py integration no longer reports the hwloc topology error and advances to its separate libfabric initialization issue.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Hardware-topology discovery inside actiond currently fails with:
Create an action-local
/sysmount point and mount sysfs read-only afterentering the existing private mount namespace. Keep the mount
nosuid,nodev, andnoexec, and extend the existing chroot-directory test.The ARM64 guest was rebuilt through actiond. A real remote action reads
/sys/devices/system/cpu/onlineand verifies the sysfs mount is read-only;the original mpi4py integration no longer reports the hwloc topology error
and advances to its separate libfabric initialization issue.