On Sun, 17 Feb 2013, John Brendler wrote: > When using 'ipset test' against a 'nomatch' entry in a 'net:hash' set, > I get a kernel error of "Directory not empty". > > This is using linux-3.7.5 with ipset-6.16. > > A quick demonstration may be clearer than a verbose description. This > shows creation of a net:hash ipset which works fine, except that'ipset > test' against a 'nomatch' entry results in an error. > > What am I doing wrong? > ------------------------------------------------------------------------ > ~ # ipset create tester hash:net > > ~ # ipset add tester 192.168.0.0/24 > > ~ # ipset add tester 192.168.128.0/23 > > ~ # ipset add tester 192.168.129.1 nomatch > > ~ # ipset test tester 192.168.129.1 > ipset v6.16: Kernel error received: Directory not empty That's a harmless bug - the internal error code is not converted into the no match result text. Thanks for the reporting, the return code was checked in the testsuite and not the textual message. It'll be fixed in the next release. Best regards, Jozsef - E-mail : kadlec@xxxxxxxxxxxxxxxxx, kadlecsik.jozsef@xxxxxxxxxxxxx PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt Address : Wigner Research Centre for Physics, Hungarian Academy of Sciences H-1525 Budapest 114, POB. 49, Hungary -- To unsubscribe from this list: send the line "unsubscribe netfilter" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html