After a clean rpmbuild of 2.0.3, radiusd -X yielded some errors processing files in /etc/raddb. I ran strace and found permission denied on relevant files. The rpm installed files in this dir with ownership root.root, so naturally radiusd cannot read them. Is it preferable to allow read access to the files (I have no passwords in these files, using SQL) or to change the ownership? Andrew
Hi,
After a clean rpmbuild of 2.0.3, radiusd -X yielded some errors processing files in /etc/raddb. I ran strace and found permission denied on relevant files. The rpm installed files in this dir with ownership root.root, so naturally radiusd cannot read them. Is it preferable to allow read access to the files (I have no passwords in these files, using SQL) or to change the ownership?
chown -R radiusd:radiusd /etc/raddb alan
Andrew Long wrote:
After a clean rpmbuild of 2.0.3, radiusd -X yielded some errors processing files in /etc/raddb. I ran strace and found permission denied on relevant files. The rpm installed files in this dir with ownership root.root, so naturally radiusd cannot read them. Is it preferable to allow read access to the files (I have no passwords in these files, using SQL) or to change the ownership?
The .spec file for the RPM hasn't been updated in a *long* time. It needs to be fixed to match the current server configuration. Alan DeKok.
participants (3)
-
A.L.M.Buxey@lboro.ac.uk -
Alan DeKok -
Andrew Long