21 Apr
2022
21 Apr
'22
7:42 a.m.
On 4/20/22 20:54, Alan DeKok wrote:
a) chroot works when run normally (as root, not as another user) b) who knows about systemd
Disclaimer: I do not consider myself to be a systemd or chroot() expert. But maybe worth reading: http://0pointer.de/blog/projects/changing-roots.html Eventually one might consider to use the systemd directives Private*= and Protect*= in the systemd service unit for enabling its sandboxing: https://www.freedesktop.org/software/systemd/man/systemd.exec.html#Sandboxin... Ciao, Michael.