Bootstrap overwrite my certs
spawn at rloteck.net
Tue Apr 30 23:17:13 CEST 2019
I recently upgraded to 3.0.19-1 and I noticed after I restarted the
service I was getting the following errors:
Apr 29 22:01:29 freeradius systemd: Starting FreeRADIUS high performance
Apr 29 22:01:30 freeradius sh: make: *** No rule to make target
'server.cnf', needed by 'passwords.mk'. Stop.
Apr 29 22:01:30 freeradius systemd: radiusd.service: Control process
exited, code=exited status=2
Apr 29 22:01:30 freeradius systemd: radiusd.service: Failed with result
Apr 29 22:01:30 freeradius systemd: Failed to start FreeRADIUS high
performance RADIUS server..
Apr 29 22:01:30 freeradius audit: SERVICE_START pid=1 uid=0
auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0
" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
After a lot of digging, I found that a "bootstrap" script on the
/etc/raddb/certs/ directory was being called on
the /usr/lib/systemd/system/radiusd.service. This script overwrote my
current certificate files. I had to comment out the ExecStartPre=/bin/sh
/etc/raddb/certs/bootstrap to fix the problem. I am not sure if anyone else
encountered this problem before. Is this being addressed on future releases?
More information about the Freeradius-Users