mgetty uses wrong logfile
Gert Doering (gert@greenie.muc.de)
Tue, 14 Apr 1998 22:27:51 +0200
Hi,
Olaf Foellinger wrote:
> though I do have configured mgetty in policy.h to use /var/log for
> logfiles
>
> #define LOG_PATH "/var/log/log_mg.%s"
>
> it still logs to /tmp/log_mg.ttyS0. I runs on Linux. What can I check
> now ?
Have you:
- recompiled mgetty
- re*installed* mgetty
Are you running the mgetty binary that you just installed? And not
something that might be in /sbin/mgetty while you installed
/usr/local/sbin/mgetty?
If the mgetty version number is recent enough, you can ask mgetty where
the log file will be, with "-V":
$ mgetty -V
mgetty+sendfax by Gert Doering
experimental test release 1.1.14-Apr02
log file written to '/var/log/mgetty.<ttyX>'
config file read from '/usr/local/etc/mgetty+sendfax/mgetty.config'
gert
--
USENET is *not* the non-clickable part of WWW!
//www.muc.de/~gert/
Gert Doering - Munich, Germany gert@greenie.muc.de
fax: +49-89-35655025 gert.doering@physik.tu-muenchen.de