FS#63511 - [freeradius] radiusd user home /var/lib/radiusd does not exist, shadow.service fails
Attached to Project:
Community Packages
Opened by tinywrkb (tinywrkb) - Tuesday, 20 August 2019, 08:43 GMT
Last edited by Christian Hesse (eworm) - Saturday, 16 May 2020, 21:46 GMT
Opened by tinywrkb (tinywrkb) - Tuesday, 20 August 2019, 08:43 GMT
Last edited by Christian Hesse (eworm) - Saturday, 16 May 2020, 21:46 GMT
|
Details
freeradius 3.0.19-3
shadow.service integrity check fails due to the fact /var/lib/radiusd does not exist while it is set in freeradius-sysusers.conf as the home of radiusd user. freeradius daemon does not seem to create this folder. freeradius also does not seem to need it considering the fact that the default config in /etc/raddb/radiusd.conf the var db_dir is set to ${raddbdir} which is /etc. While the config suggests to change db_dir to ${localstatedir}/lib/radiusd (localstatedir is /var) it is not the default. Possible solutions: * Change radiusd home to /etc/raddb * Package needs to create the folder. For example, the RPM package does this: https://github.com/FreeRADIUS/freeradius-server/blob/release_3_0_19/redhat/freeradius.spec#L385 |
This task depends upon
Closed by Christian Hesse (eworm)
Saturday, 16 May 2020, 21:46 GMT
Reason for closing: Fixed
Additional comments about closing: in SVN
Saturday, 16 May 2020, 21:46 GMT
Reason for closing: Fixed
Additional comments about closing: in SVN