From: Paul Kench <paulke...@yahoo.co.uk>;
To: Chris Boot <deb...@bootc.net>;
Subject: Re: Bug#729055: ulogd2 won't start, fails with ulogd: libnfnetlink.c:1566: nfnl_query: Assertion `h' failed.
Sent: Sat, Nov 9, 2013 7:08:40 AM

So a stale old ulog was the issue. Now I feel a bit silly.

Thanks for the help.

I got it working after the upgrade to 2. I think the upgrade left 2 ulog files in logrotate.d, and I may have altered the wrong one, and that may have caused a stale ulog when the log rotated. I'll see what happens.

Thanks for the help.

Paul

Sent from Yahoo Mail on Android



From: Chris Boot <deb...@bootc.net>;
To: <729...@bugs.debian.org>;
Cc: Paul Kench <paulke...@yahoo.co.uk>;
Subject: Re: Bug#729055: ulogd2 won't start, fails with ulogd: libnfnetlink.c:1566: nfnl_query: Assertion `h' failed.
Sent: Fri, Nov 8, 2013 10:37:38 PM

On 08/11/13 21:11, Chris Boot wrote:
> On 08/11/13 20:08, Paul Kench wrote:
>> Think this is it.
>
> It is indeed, thanks very much. It looks like something coming from
> libnetfilter-log; I'll have to investigate further to see exactly what's
> going on.

Paul,

Do you have any other instances of ulogd running at all? Or any other
utilities that might make use of NFLOG?

Basically, the error you are seeing appears to stem from a bug in one of
ulogd's error paths. This same path can be called either if
libnetfilter-log cannot bind to a particular group number, or if the
socket is unable to be made non-blocking via an fcntl() call.

Something fails within input/packet/ulogd_inppkt_NFLOG.c in the start()
function, which jumps to the out_bind goto label. This then proceeds to
close the nflog handle on line 621 and *then* attempt to unbind from a
few protocol families on lines 623-5. The unbind causes the crash
because the handle was freed just before.

To be clear: something on your system is causing this error path to be
followed, and a bug in ulogd2 is then causing the crash. I'll fix the
bug in ulogd, but that by itself won't make ulogd work on your system.


Regards,
Chris

--
Chris Boot
deb...@bootc.net
GPG: 1DE8 6AB0 1897 A330 D973  D77C 50DD 5A29 FB09 9999
-- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to