containers / containers/bubblewrap
bubblewrap should fall back to MS_MOVE if pivot_root() fails
Open
- Dominant language
- C
- Stars
- 8.7k
- Forks
- 386
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 11
Description
`pivot_root()` does not work in the initramfs. As a fallback, `MS_MOVE` can be used together with `chroot()` to mimick `pivot_root()` somewhat. bubblewrap should use this fallback if `pivot_root()` is not possible (e.g. when running bubblewrap from the initramfs) so that bubblewrap can be used from the initramfs.
Currently running bubblewrap from the initramfs fails with `bwrap: pivot_root: Invalid argument`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.