Control socket directory doesn't exist after systemd stopping service

Alan DeKok aland at deployingradius.com
Wed Nov 30 12:19:59 UTC 2022


On Nov 29, 2022, at 10:26 PM, Matthew McTague <matthew.mctague at vetta.nz> wrote:
> Is there any better / transparent way to do this, or to stop systemd from removing the directory when stopping the service?

  See Nick's reply for details.

> Or would it be better to use /var/run/radiusd.sock for the socket and avoid the usage of a subdirectory?

  Absolutely not.  As I said, the radius service should not have write permissions to the /var/run directory.  It needs a subdirectory for security reasons.

  Alan DeKok.



More information about the Freeradius-Users mailing list