On 02/15/2018 06:39 AM, Glenn Faustino wrote:
On Thu, Feb 15, 2018 at 1:48 PM, Sebastien Marie <sema...@online.fr> wrote:
On Thu, Feb 15, 2018 at 12:29:23AM +0000, Stuart Henderson wrote:
On 2018-02-14, Glenn Faustino <glenn.faust...@gmail.com> wrote:

Did you upgrade your packages after upgrading to -current? Can you
share your /etc/pfstat.conf?
Every time I upgrade to -current I also update packages.
Try forcing pfstat to update (pkg_delete and pkg_add maybe, if that
doesn't help then build it yourself from ports). If that helps then let
me know because we need to figure out what change necessitated this and
track down which ports need REVISION bumps to force updates..

I had a similar problem with pftop (pftop-0.7p16).

$ doas pftop
pftop: DIOCGETSTATUS: Permission denied

After forcing a reinstall (pkg_delete + pkg_add) it works again.

 From my /var/log/messages, the previous reinstall (done using pkg_ad -u)
was from Jan 20:

$ grep pftop /var/log/messages
Dec 30 10:10:58 alf pkg_add: Added pftop-0.7p16->0.7p16
Jan 20 11:20:49 alf pkg_add: Added pftop-0.7p16->0.7p16
Feb 15 06:40:54 alf pkg_delete: Removed pftop-0.7p16
Feb 15 06:41:03 alf pkg_add: Added pftop-0.7p16

Sebastien Marie

After deleting and installing pfstat it now works, thanks guys!

Feb 15 14:26:37 OpenBSD pkg_delete: Removed pfstat-2.5p1
Feb 15 14:27:02 OpenBSD pkg_add: Added pfstat-2.5p1

$ doas pfstat -q -d /var/db/pfstat.db



I'm experiencing the exact same issues for both pfstat and pftop however, running pkg_delete / pkg_add doesn't seem to work for me as a fix :-(

pfstat -q -p
ioctl: DIOCGETSTATUS: Permission denied
pf_query: query_counters() failed

pftop: DIOCGETSTATUS: Permission denied

uname -a : 6.2 GENERIC.MP#408 amd64 <- also CURRENT updated a few days ago



Reply via email to