Freeradius 3.0.21 with chroot enables fails to start from the Systemd unit file.

Michael Ströder michael at stroeder.com
Thu Apr 21 11:42:58 UTC 2022


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#Sandboxing

Ciao, Michael.


More information about the Freeradius-Users mailing list