
Brett Goulder [2007-09-04 23:20]:
On Tue, 4 Sep 2007 15:02:40 +0200 Juergen Daubert wrote:
On Mon, Sep 03, 2007 at 03:46:38PM -0400, Brett Goulder wrote:
This causes my system to hang on boot when using sysklogd 1.5 for excessively long amounts of time to the point that it's faster to restart my system into a livecd and edit the init scripts to subvert the problem.
thanks for your report. I cannot reproduce that behaviour here on 3 different boxes and nobody else has reported that problem so far, so I guess it might be specific for your setup only.
Could you please provide more informations and try to debug the problem ?
Strangely, I'm unable to reproduce this problem on my system now, despite the fact nothing has changed since the last time I built sysklogd 1.5, before I narrowed it down to the fact klogd's child was segfaulting, but now klogd seems to run fine... strange.
Brett and me tracked the segfault down, I committed a fix in 1.5-2. The culprit was the CONFIG_KALLSYMS kernel option -- the klogd child tries to open /proc/kallsyms, which is only available if that kernel option is set. If klogd cannot open the file, it would still try to fclose(NULL), which will lead to a segfault. I submitted a patch upstream. Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?