(Here is a copy of a bug I filed for the debian package, #134539)

Package: radiusd-freeradius
Version: 0.4-1

The default directory for the radutmp and radwtmp files is
/var/log/radiusd-freeradius/

However, we have specified a different directory (/var/log/) to store these
files in /etc/raddb/radiusd.conf

The radwho program still looks in /var/log/radiusd-freeradius/ for the
rad(u/w)tmp files, as indicated by a "strace radwho".

A quick fix has been to create symbolic links to the real location of the
rad(u/w)tmp files:

bugs:/var/log/radiusd-freeradius# ls -al
total 7
drwxr-xr-x    3 root     freerad      1024 Feb 18 16:46 .
drwxr-xr-x   15 root     root         5120 Feb 18 06:41 ..
drwxr-xr-x    2 freerad  freerad      1024 Dec 14 02:38 radacct
lrwxrwxrwx    1 root     root           10 Feb 18 16:46 radutmp ->
../radutmp
lrwxrwxrwx    1 root     root           10 Feb 18 16:45 radwtmp ->
../radwtmp

Andrew Tait
System Administrator
Country NetLink Pty, Ltd
E-Mail: [EMAIL PROTECTED]
WWW: http://www.cnl.com.au
30 Bank St Cobram, VIC 3644, Australia
Ph: +61 (03) 58 711 000
Fax: +61 (03) 58 711 874

"It's the smell! If there is such a thing." Agent Smith - The Matrix



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

Reply via email to