Re: [PATCH nft v3] datatype: accept a numeric cgroupsv2 id on input
Pablo Neira Ayuso <[email protected]> Wed, 5 Aug 2026 23:10:24 +0200
| Newsgroups | gmane.comp.security.firewalls.netfilter.devel |
|---|---|
| Message-ID | <anOmwIoDMaE-Aodr@chamomile> |
On Sat, Aug 01, 2026 at 12:57:47PM +0530, Avinash Duduskar wrote:
> nft prints non-existent cgroup names as the raw id using PRIu64, but
> cgroupv2_type_parse() only stats /sys/fs/cgroup/<identifier>, so the
> listing does not load back:
>
> # nft list set ip t s
> table ip t {
> set s {
> type cgroupsv2
> elements = { 50834 }
> }
> }
> # nft delete element ip t s { 50834 }
> Error: cgroupv2 path fails: No such file or directory
Thanks, I have applied this v3.
I made a few minimal changes to the script, add a .nodump file instead
of the empty stubs.