Package: nftables Version: 0.9.0-2 Severity: normal nft export does not work; none of the options can be used without error and one option mentioned in error msgs does does not appear in the manpage.
# nft export ruleset json Error: this output type is not supported export ruleset json ^^^^^^^^^^^^^^^^^^^^ # nft export ruleset xml Error: this output type is not supported export ruleset xml ^^^^^^^^^^^^^^^^^^^ # nft export ruleset vm Error: syntax error, unexpected newline, expecting json export ruleset vm ^ # nft export vm Error: syntax error, unexpected newline, expecting json export vm ^ # nft export xml Error: this output type is not supported export xml ^^^^^^^^^^^ # nft export json Error: this output type is not supported export json ^^^^^^^^^^^^ and the invalid formatting argument error msg is inconsistent: # nft export ruleset foo Error: syntax error, unexpected string, expecting xml or json or vm export ruleset foo ^^^ -- System Information: Debian Release: 10.4 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-9-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages nftables depends on: ii dpkg 1.19.7 ii libc6 2.28-10 ii libgmp10 2:6.1.2+dfsg-4 ii libjansson4 2.12-1 ii libnftables0 0.9.0-2 ii libreadline7 7.0-5 nftables recommends no packages. nftables suggests no packages. -- Configuration Files: /etc/nftables.conf changed: flush ruleset -- no debconf information