[Bug 1431] flush set doesn't work as expected in script

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Tue Jul 14 05:22:57 CEST 2020


https://bugzilla.netfilter.org/show_bug.cgi?id=1431

--- Comment #3 from James Zeng <jimmyz.z at gmail.com> ---
My previous comment about the alternative approach to delete set - add set is
inaccurate, it works in this kind of test but not in real world applications,
since if the set is referenced by any rule, nft will not allow you to delete
it.

The only workaround is flush ruleset and reload all.

I don't think this breaks atomicity though, since in the failing case, the set
is left in previous state, not a intermittent state.

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20200714/bcff7131/attachment.html>


More information about the netfilter-buglog mailing list