Bootstrap overwrite my certs
Rafael Leiva-Ochoa
spawn at rloteck.net
Tue Apr 30 23:17:13 CEST 2019
Hi Everyone,
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[1]: Starting FreeRADIUS high performance
RADIUS server....
Apr 29 22:01:30 freeradius sh[1970]: make: *** No rule to make target
'server.cnf', needed by 'passwords.mk'. Stop.
Apr 29 22:01:30 freeradius systemd[1]: radiusd.service: Control process
exited, code=exited status=2
Apr 29 22:01:30 freeradius systemd[1]: radiusd.service: Failed with result
'exit-code'.
Apr 29 22:01:30 freeradius systemd[1]: Failed to start FreeRADIUS high
performance RADIUS server..
Apr 29 22:01:30 freeradius audit[1]: SERVICE_START pid=1 uid=0
auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0
msg='unit=radiusd comm="systemd
" 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?
Thanks,
Rafael
More information about the Freeradius-Users
mailing list