Re: Blacklistd Issues - Problem Identified

From: Norman Gray <gray_at_nxg.name>
Date: Tue, 18 Apr 2023 18:46:38 UTC
Doug, hello.

On 18 Apr 2023, at 19:18, Doug Hardie wrote:

> Quick answers as I have to leave very soon.
>
>  Blacklistd source is in /usr/src/contrib/blacklistd/bin
>
>  Apply the patch there.
>
>  To recompile it go to /usr/src/usr.sbin/blacklistd and do the make there.

Aha!  Thanks.  The stock version builds OK, so ... onward to step 2!

>  To find the new execuitable go to /usr/obj/usr/src/amd64.amd64/usr.sbin/blacklistd and put the blacklistd there into /usr/libexec

In my install, the products end up in the same directory, rather than in /usr/obj.  I could presumably tweak that (MAKEOBJDIRPREFIX in the environment?), but will forbear to do so for the moment.

I note Michael's point about the config file format.  I do remember looking in the blacklistd source before, trying to understand how it was parsed (or indeed mis-parsed), and I recall that the parsing was a bit... magic.

Best wishes,

Norman


-- 
Norman Gray  :  https://nxg.me.uk