Displaying 1 result from an estimated 1 matches for "nfstables".
Did you mean:
nf_tables
2024 Jul 13
1
[Bug 1759] New: flush and delete nft commands need an option to ignore non-existant objects
...ure that a
particular table/chain/whatever does not exist or is flushed, since the nft
delete and flush commands fail if the object does not exist.
e.g.
nft delete table sometests
works if the table sometests existed, but aborts (and thus does not execute
other commands in a script like /etc/nfstables.conf) with an error if it does
not exist.
Therefore, it is more or less useless, since it cannot be used in a script
because of the risk to break the script.
It should be default or at least an option to have it succeed if the object
does not exist, i.e.
nft delete table sometests
should ens...