24.03.2013 18:08 полÑзоваÑÐµÐ»Ñ "Stuart Henderson" <[email protected]> напиÑал: > > On 2013/03/24 17:37, Vadim Zhukov wrote: > > 2013/3/24 Stuart Henderson <[email protected]>: > > > On 2013/03/24 15:00, alex wrote: > > >> Hi! > > >> > > >> With current snapshot i386 kernel ( dmesg.txt): > > >> > > >> #pfstat -c /etc/pfstat.conf -q -d /var/db/pfstat.d > > >> ioctl: DIOCGETSTATUS: Permission denied > > >> pf_query: query_counters() failed > > > > > > Update pfstat. > > > > No, he is right: > > > > $ sudo pfctl -si > > pfctl: DIOCGETSTATUS: Permission denied > > > > -- > > WBR, > > Vadim Zhukov > > > > Your kernel and userland are not in sync.
More technically, missing "make includes" in sys/ before rebuilding pfctl. :) Sorry for stupidity... But ENOPERM is, probably, not the best answer in this case - ENOENT should match better, know?
