You are not logged in.
I've been using nftables on several machines for 2 years and I'm puzzled by this recent nft behavior: sudo nft list ruleset does not display anything while it used to do so.
I have good reasons to believe that the rules defined in /etc/nftables.conf are valid and received by netfilter for 3 reasons:
worked before
sudo nft -f /etc/nftables.conf; echo "rc: $?" => 0 . Introducing syntax errors, I get the expected 1
I can curl myself from the LAN on 8000 (allowed by the conf) but not on 8001, conf edition changes this behavior, but my log prefix does not allow me to see all the dropped packets in journalctl -k --grep anymore: some show up, others do not
I ruled out a few obvious possible explanations but I do not understand what to do with this case where things kinda work while being broken in the same time.
Amongst the weird part
sudo nft --version : empty, exit code 0Linux tr1an9vlvm 7.1.8-arch1-3 #1 SMP PREEMPT_DYNAMIC Tue, 11 Aug 2026 09:16:08 +0000 x86_64 GNU/LinuxAny idea on what could be causing this? Any breaking change I missed recently?
Last edited by zar3bski (Yesterday 08:42:12)
Offline
# systemctl status nftables.service
# systemctl cat nftables.service
# ip netns identify
# lsmod | grep -P '^nft?_'
# type nft
# pacman -Qo nft
# pacman -Qkk nftablesOffline
Hi Dimich.
Thanks a lot for your answer. I checked all of this yesterday, had a look at aa-log and completely missed what strikes me this morning
ALLOWED konsole open owner @{PROC}/@{pid}/task/@{tid}/children comm=konsole requested_mask=r denied_mask=r
ALLOWED konsole open @{PROC}/@{pid}/task/@{tid}/children comm=konsole requested_mask=r denied_mask=r
DENIED nft file_inherit /dev/pts/3 comm=nft requested_mask=wr denied_mask=wr
ALLOWED konsole open owner @{PROC}/@{pid}/task/@{tid}/children comm=konsole requested_mask=r denied_mask=rI did not take the reflex to update https://apparmor.pujol.io/ as apparmor upgrade and it looks like it fooled me.
Your check list is perfect. Thanks.
Offline
I'm new to this forum and I'm not sure how I can set [Solved], for I can't edit the title of the initial post
Offline
If you can't edit the title in the initial post it's likely because you're hitting the char limit, try shortening it a bit
Offline