Unprivileged chroot()
Unprivileged chroot()
Posted Mar 19, 2021 18:32 UTC (Fri) by l0kod (subscriber, #111864)In reply to: Unprivileged chroot() by kentonv
Parent article: Unprivileged chroot()
Posted Mar 19, 2021 21:56 UTC (Fri)
by kentonv (subscriber, #92073)
[Link] (1 responses)
That seems like a disappointing limitation though... any program that uses this feature will mysteriously break when run in a chroot.
Posted Mar 21, 2021 10:50 UTC (Sun)
by smurf (subscriber, #17840)
[Link]
Much better to use systemd-nspawn or some other tool that sets up a "real" file system namespace. The unprivileged chroot(2) will work there.
Unprivileged chroot()
Unprivileged chroot()