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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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

Loading...