Date: Sat, 5 Aug 2006 08:51:23 -0700 From: Luigi Rizzo <rizzo@icir.org> To: Joao Barros <joao.barros@gmail.com> Cc: freebsd-hackers@freebsd.org, Gleb Smirnoff <glebius@freebsd.org> Subject: syslog bug ? (was Re: [PATCH] add header "pppoe:" in ng_pppoe.c printfs) Message-ID: <20060805085123.B74697@xorpc.icir.org> In-Reply-To: <70e8236f0608041642v5c7a85a9u4e4422bb6f08822f@mail.gmail.com>; from joao.barros@gmail.com on Sat, Aug 05, 2006 at 12:42:12AM %2B0100 References: <70e8236f0608030735m519d880fgebeca7108b859244@mail.gmail.com> <20060804150302.GD96644@cell.sick.ru> <70e8236f0608040848x304a671cle6d490f43735737b@mail.gmail.com> <20060804182123.GH96644@cell.sick.ru> <70e8236f0608041642v5c7a85a9u4e4422bb6f08822f@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Aug 05, 2006 at 12:42:12AM +0100, Joao Barros wrote: ... > I patched and recompiled the kernel. > After booting I notice that no messages from ppp are logged by syslog > (messages|ppp.log) What is your OS version ? i hit a similar problem some time ago, and it seems that the syslog client code remembers any error on the socket (e.g. ICMP host/port unreachable messages) and does not retry afterwards (or for some time, or there is some bug in handling the error condition). I am a bit fuzzy on the details because this was some 3 years ago on a 4.x client. Your problem is likely because ppp starts before the syslog daemon, the initial message fails and then you get nothing anymore. the vsyslog code in 6.x (libc/gen/syslog.c) is slightly different from the one in 4.11. cheers luigi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060805085123.B74697>