I want to run freeradius (Debian Sarge 0.9.3) under daemontools, but I
can't get the auth-logging and other messages to stderr. I mean e.g. a
line like this:

Sun Aug 15 14:19:14 2004 : Auth: Login OK: [EMAIL PROTECTED] (from
client localhost port 0)

This is in my radiusd.conf:

log_file = /dev/stderr
log_auth = yes

But when I tell radiusd in radiusd.conf to write to
/var/log/freeradius/radiusd.log everything is ok.

The only thing I see are the normal startup things (stdout and stderr
are exec'd together in the run file):

Sun Aug 15 14:36:39 2004 : Info: Starting - reading configuration files
...

Sun Aug 15 14:36:39 2004 : Info: Using deprecated naslist file.  Support
for this will go away soon.

Sun Aug 15 14:36:39 2004 : Info: Using deprecated clients file.  Support
for this will go away soon.

Sun Aug 15 14:36:39 2004 : Info: Using deprecated realms file.  Support
for this will go away soon.

The -y and -lstderr options (as mentioned in the FAQ) don't work either
and are deprecated according to the manpage. The manpage is talking
about a log_dir entry while I can only see a logdir (without underscore)
entry.

Anyone here who can tell me what's going on? 

Richard.

# cat run
#!/bin/sh
exec 2>&1
exec /usr/sbin/freeradius -f


-- 
___________________________________________________________________
Recursion: see recursion

+------------------------------------------------------------------+
| Richard Lucassen, Utrecht                                        |
| Public key and email address:                                    |
| http://www.lucassen.org/mail-pubkey.html                         |
+------------------------------------------------------------------+

-- 
___________________________________________________________________
Recursion: see recursion

+------------------------------------------------------------------+
| Richard Lucassen, Utrecht                                        |
| Public key and email address:                                    |
| http://www.lucassen.org/mail-pubkey.html                         |
+------------------------------------------------------------------+

Attachment: 00000001.mimetmp
Description: PGP signature

Attachment: pgpeytunLt3l9.pgp
Description: PGP signature

Reply via email to