On 2014-09-01, Andrew Lester <martinblan...@gmail.com> wrote: > This is probably a very simple question, but for the life of me I have not > been able to > locate a solution. I am running a RADIUS server on OpenBSD 5.5 stable (+ > openssl patches) > using FreeRADIUS 2.2.0p2 from the ports tree. When I first installed > FreeRADIUS, it worked > great. However, when I rebooted the system, radiusd would no longer start. I > discovered > the run_dir of /var/lrun/radiusd, which houses the PID file and socket, was > missing. I > re-created the directory and changed its ownership to _freeradius. After > that, it > started working again. But whenever the system reboots, the entire > /var/run/radiusd > directory gets deleted somehow.
/var/run is intentionally cleared at boot. But the rc.d script is set up to recreate this, so if you use the standard startup method of adding "radiusd" to pkg_scripts, this should be done automatically.