[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Boot Messages
From: |
Marcus Brinkmann |
Subject: |
Re: Boot Messages |
Date: |
Mon, 15 Apr 2002 02:07:30 +0200 |
User-agent: |
Mutt/1.3.28i |
On Sat, Apr 13, 2002 at 03:03:55PM -0700, Kenneth Stailey wrote:
> I "hot wired" include/confpaths.h by putting PATH_KLOG into it and the
> resulting binary did have /dev/klog support but then syslogd put the messages
> into /var/log/user.log not /var/log/kern.log
>
> from /etc/syslog.conf
> kern.* /var/log/kern.log
> user.* /var/log/user.log
I can not explain this. syslogd.c logs kernel messags from the klog file
with the function printsys, which uses DEFSPRI which has the LOG_KERN bit
set. Could you run in debug mode and/or set a breakpoint on printsys to see
what is going on?
> > On Sat, Apr 13, 2002 at 02:46:13PM -0700, Kenneth Stailey wrote:
> > > What am I doing wrong here?
> > >
> > > # mkdir cvs
> > > # cd cvs
> > > # cvs -d:pserver:address@hidden:/cvsroot/inetutils login
> > > [just hit enter for the password]
> > > # cvs -z3 -d:pserver:address@hidden:/cvsroot/inetutils co -r
> > > release1_4_0 inetutils
> > > [inetutils downloads]
> > > # mkdir inetutils-obj
> > > # cd inetutils
> > > # ./autogen.sh
> > > [blah]
> > > # cd ../inetutils-obj
> > > # ../inetutils/configure --with-path-klog=/dev/klog
> > > [blah]
> > > # make
> > > [blah]
> > > # make install
> > >
> > > The resulting syslogd does not have /dev/klog support.
This might very well be because of the trailing "no" in the "paths" file.
You could try to understand and debug the IU_CONFIG_PATHS macro in
acinclude.m4, where the error would lie. Somehow the precedence is messed
up here.
If you have /dev/klog, it should also find and use it automatically. If
that doesn't work, the error must again be in the IU_CONFIG_PATHS macro.
Maybe it is the same bug even.
Thanks,
Marcus
--
`Rhubarb is no Egyptian god.' Debian http://www.debian.org address@hidden
Marcus Brinkmann GNU http://www.gnu.org address@hidden
address@hidden
http://www.marcus-brinkmann.de