Question regarding Git config management
Alan DeKok
aland at deployingradius.com
Fri May 29 15:26:19 CEST 2015
On May 29, 2015, at 9:17 AM, Sebastian Hagedorn <Hagedorn at uni-koeln.de> wrote:
> I would, but I have found another problem. We use user and group "radiusd". When I try to start radiusd with that user, the following happens:
>
> $ /usr/sbin/radiusd -d /etc/raddb
> radiusd: Cannot change ownership of log file /var/log/radius/radius.log: Operation not permitted
>
> But the log file actually belongs to radiusd:
>
> $ ll /var/log/radius/radius.log
> -rw-r----- 1 radiusd radiusd 5322 29. Mai 15:03 /var/log/radius/radius.log
>
> With strace I was able to see that the chown tries to set the user to UID 0, i.e. root:
Because you don't have "user = radiusd" in radiusd.conf. This is documented in radiusd.conf.
The server assumes it starts as "root". If you don't have "user = radiusd", it tries to chown() the log files to "root".
Alan DeKok.
More information about the Freeradius-Users
mailing list