From: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
To: akuster808 <akuster808@gmail.com>
Cc: yocto@lists.yoctoproject.org
Subject: Re: [meta-security][PATCH] fail2ban: update to 1.1.0+
Date: Sun, 21 Jul 2024 23:16:49 +0200 [thread overview]
Message-ID: <871q3m8mym.fsf@prevas.dk> (raw)
In-Reply-To: <6080b3ef-fd52-43e0-a7a1-17e81c21455f@gmail.com> (akuster's message of "Thu, 18 Jul 2024 10:14:48 -0400")
akuster808 <akuster808@gmail.com> writes:
> On 7/8/24 9:11 AM, Rasmus Villemoes wrote:
>> From: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
>>
>> Current 1.0.2 version does not work with scarthgap or later releases,
>> as the asynchat module has been removed (as scheduled) from python's
>> stdlib as of v3.12.
>>
>> fail2ban 1.1.0 also does not work out-of-the-box, as the distutils
>> module which the pyinotify and systemd backends depend has also been
>> removed.
>>
>> So update the recipe to point at commit ac62658c10f4, which fixes
>> those two backends to no longer depend on distutils.
>>
>> Upstream's out-of-the-box ban action now uses the 'nft'
>> command. People can still override and customize that in
>> jail.conf/jail.local, but to make the recipe useful without
>> customizing things back to use iptables, change the dependency
>> iptables->nftables.
>>
>> Since 1.1.0, fail2ban has been python3-only, so the recipe becomes
>> somewhat simpler since the whole do_compile preparation step can be
>> removed.
>
> I am seeing an install error, see:
> https://errors.yoctoproject.org/Errors/Details/791129/
Hm, I assume that's a WORKDIR->UNPACKDIR fallout. I'm on scarthgap,
where UNPACKDIR doesn't exist, so I think my patch is correct for that
branch. I'm happy to send a separate version for master, but I can't
test that myself currently.
I do think it's simply a matter of replacing the WORKDIR in
${WORKDIR}/initd by UNPACKDIR, but I'm not completely sure.
Rasmus
prev parent reply other threads:[~2024-07-21 21:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-08 13:11 [meta-security][PATCH] fail2ban: update to 1.1.0+ Rasmus Villemoes
2024-07-18 14:14 ` akuster808
2024-07-21 21:16 ` Rasmus Villemoes [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871q3m8mym.fsf@prevas.dk \
--to=rasmus.villemoes@prevas.dk \
--cc=akuster808@gmail.com \
--cc=yocto@lists.yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox