stef999 n00b
Joined: 12 Sep 2021 Posts: 4
|
Posted: Sun Sep 12, 2021 5:36 pm Post subject: nftables: nft >= 0.9.9 does not show list of tables |
|
|
Hi
I have just done a full upgrade of one of my PCs.
Almost everything looks good: "emerge --update --deep --newuse @world" and "emerge @preserved-rebuild" and "revdep-rebuild" all do not show anything that needs to be done.
Does anybody know if "net-firewall/nftables" version 0.9.9 (same for 1.0.0 which is not yet marked stable) have changed behaviour concerning printing the list of tables and rules?
My PC that has nftables 0.9.9 installed boots normally.
Then if I execute...
Code: | quad ~ # nft list tables |
...it doesn't output anything.
If I downgrade to v. 0.9.8 then it immediately (no reboot, no firewall restart, etc...) works as expected:
Code: | quad ~ # nft list tables
table ip nat
table ip filter |
Same thing with "nft list ruleset": versions 0.9.9 & 1.0.0 do not output anything, version 0.9.8 works fine.
(btw this obviously means that loading the rules with version 0.9.9 works normally, it's just displaying them later that doesn't work as with version 0.9.8 )
I looked at "man nft" but from what I understand "nft list tables" should still be a valid command.
Does anybody know anything about this?
Thank you
EDIT:
nftables installed with following flags:
version 0.9.8:
Code: | quad ~ # emerge -pv =nftables-0.9.8
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] net-firewall/nftables-0.9.8::gentoo USE="gmp modern-kernel readline -debug -doc -json -python -static-libs -xtables" PYTHON_TARGETS="python3_8 python3_9" 0 KiB |
Version 0.9.9: Code: |
quad ~ # emerge -pv =nftables-0.9.9
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] net-firewall/nftables-0.9.9:0/1::gentoo USE="gmp modern-kernel readline -debug -doc -json -libedit -python -static-libs -xtables" PYTHON_TARGETS="python3_8 python3_9 (-python3_10)" 0 KiB |
Kernel being used:
Code: |
quad ~ # uname -a
Linux quad 4.14.245-gentoo #1 SMP PREEMPT Sun Sep 12 16:23:46 CEST 2021 x86_64 Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz GenuineIntel GNU/Linux |
|
|