bug-gnu-radius
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gnu-radius] For solaris systems /usr/adm is not correct


From: Maurice Makaay
Subject: [Bug-gnu-radius] For solaris systems /usr/adm is not correct
Date: Mon, 10 Nov 2003 23:44:50 +0100

Hi,

In configure.ac I see:

----------------------------------------------------------------------
case $target in
....
        *-*-solaris*)   SHADOW_SUPPORT=yes
                        ST="SYSV";;
....
....
....
case "$ST" in
        "SYSV")         RADLOG_DIR="/usr/adm"
                        RADPID_DIR='$(sysconfdir)/raddb'
                        ;;
....
----------------------------------------------------------------------

Only Solaris systems will set ST="SYSV" (and configure.ac is the only
file in which I can find the string "SYSV" being used). So the "/usr/adm" 
path seems to be set only for Solaris systems. However: this path does not 
exist on (modern) Solaris systems. Solaris system do have "/var/adm"
(and also "/var/log"). Starting up radiusd on a Solaris system will 
therefore dump some startup information on STDERR (because the logfile
"/usr/adm/radius.log" could not be opened for writing). Setting the
log directory in the raddb/config does not completely solve this, because
information is logged before the config file is read.

Proposal: change the RADLOG_DIR from "/usr/adm" to "/var/adm" or "/var/log" 
for Solaris systems.


Regards,

-- Maurice Makaay




reply via email to

[Prev in Thread] Current Thread [Next in Thread]