It's a desired behavior. Refers to the manpage [1]
=== 8< ===
x, destroy [ SETNAME ]
Destroy the specified set or all the sets if none is given.
If the set has got reference(s), nothing is done and no set destroyed.
=== 8< ===
Maybe confuse with the phrase "nothing is done" but
I think, the error/warning message is a desired behavior.
However, the command that prefer the silently ignore as below
# ipset -q destroy
or
# ipset destroy >/dev/null 2>&1
Best regards,
Neutron Soutmun
[1] http://ipset.netfilter.org/ipset.man.html
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1597491
Title:
ipset destroy return "ipset v6.20.1: Set cannot be destroyed: it is in
use by a kernel component"
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ipset/+bug/1597491/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs