Startup message not being logged

John Horne john.horne at plymouth.ac.uk
Fri Jun 16 18:03:34 CEST 2006


On Fri, 2006-06-16 at 09:16 -0400, Alan DeKok wrote:
> John Horne <john.horne at plymouth.ac.uk> wrote:
> > A minor question really. I have just upgraded a server from Fedora Core
> > 3 (freeradius 1.0.1) to FC5 (freeradius 1.0.5). I notice that when I
> > start freeradius on FC5 (using 'service radiusd start') a message is
> > sent to stdout:
> > 
> >   Fri Jun 16 12:06:59 2006 : Info: Starting - reading configuration 
> >   files ...
> > 
> > Should this happen?
> 
>   Probably not.
>
>From the source code it seems that the message will always appear. The
message is displayed before the radiusd.conf file is read, and since
neither the logdir or log_file directives are set, radiusd sends the
message to stdout.

However. In FC3 the /etc/init.d/radiusd startup script called a function
which actually started radiusd using the 'initlog' command. This hid the
stdout message I now see. In FC5 initlog is deprecated, and they just
start radiusd directly. Hence I now see the message.



John.

-- 
---------------------------------------------------------------
John Horne, University of Plymouth, UK  Tel: +44 (0)1752 233914
E-mail: John.Horne at plymouth.ac.uk       Fax: +44 (0)1752 233839




More information about the Freeradius-Users mailing list