[Bug 276533] pfctl gives unknown error -1 when loading address table

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 22 Jan 2024 19:58:15 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=276533

            Bug ID: 276533
           Summary: pfctl gives unknown error -1 when loading address
                    table
           Product: Base System
           Version: 13.2-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: byrnejb@harte-lyne.ca

OS FreeBSd-13.2p9

When loading an address table the pfctl utility throws "unknown error -1".

Following an update to the host system from 13.2-RELEASEp2 to up 13.2-RELEASEp9
a bash script using pfctl to update a BLOCKLIST table began to throw errors and
did not update the table.

The command used in the script is: 

# pfctl -t BLOCKPERM -T replace -f /var/db/pf/pf_block_perm
pfctl: Unknown error: -1

# pfctl -vv -x loud -t BLOCKPERM -T replace -f /var/db/pf/pf_block_perm
No ALTQ support in kernel
ALTQ related functions disabled
pfctl: Unknown error: -1.
debug level set to 'loud'

-- 
You are receiving this mail because:
You are the assignee for the bug.