I noticed some discussion on this about 3 weeks back.  I've just
upgraded to FreeRadius 0.5 on a RH 7.0 server.  It's working great.  I
noticed that it puts this in the log when I start it:

Mon Mar 25 12:07:49 2002 : Error: Failed writing process id to file
/var/run/radiusd.pid: Permission denied 

In the radiusd.conf file, I have the user/group for radius to run at as
freerad/freerad.  If I "touch /var/run/radiusd.pid" and "chown
freerad.freerad /var/run/radiusd.pid", FreeRadius will write the pid to
the file.  But when I stop (or restart) FreeRadius, the pidfile is
deleted and then can't be recreated.  So it seems FreeRadius is dropping
root before it tries to write the pid file.  

Does this matter?  It seems to throw off the RedHat init script a bit,
but other than that it seems to not be a problem.  I wonder about log
rotation later on, or anything other such thing that might bite me
later.  Any comments?

Thanks,
- Dan

-- 
- Dan Perik
Computer Services Department
Lapilo Center
New Tribes Mission - PNG



- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to