From nobody Sat Oct 04 14:05:07 2025 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4cf6jv54d6z68xXL for ; Sat, 04 Oct 2025 14:05:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4cf6jv4Qjdz3xkJ for ; Sat, 04 Oct 2025 14:05:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1759586707; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Nia6u4vI3Ke2yd5T4rCGtGilLJLtMb1IDFP2O8lnlmc=; b=UhzzPhCoLQJIkCIzMWTDjK6kHIHJJgu7svQjsZcyESF2/BOgLJ5cMuD18IPSjMxxw/1nNg OCYB+T0q1nZdmxvqF3V4U/1dDYQc7FAfp2Jen2ziiwKzioG4KK5JOgmNJ8x9Kd/81ejRe9 jHiZ1iq/6I6qJkOBLLPxvRzfgD3r8cU0XlMVLBrh75x+1WWyh4m28q2pWFpI/kurAAyujc 3iogTnDEkF6NtYOs5pghYdlKk4rZVqlmx19cN7qgAZCaqWToo1xZkeFKkkDwe3d4U08HR+ xBs96EpbszZAluMxmjWuh4NrebBFSofqL2+dh0V0Frh9z969pKbRQgML0Mmh8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1759586707; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Nia6u4vI3Ke2yd5T4rCGtGilLJLtMb1IDFP2O8lnlmc=; b=Xcqyr1NtjoiDITIobdVN9CcmgA01k+mA0G1pkki5/DgFtbMp0gkPXtFhqNbuZilI2cpe5N CeooJ+KnXTfQnW5z5OOWaH6TmSWwLuqQ4OOvIWXdfw6Sf2Pc9c3LEezUz7NkZvjYKjFNVJ CFKQLnazAP+SWSFwNtucAiP3LJjo1verT8DCKMecGnxFdJlWO6nKMLWX0RAoA3FDYdTogi z89e/3EmXzIcpvg6Q3Z8KcLEgQ/PO1+c/iIMg01s7KzrtV0JrSCC68gBVc1MCJiqaKiwox K6Z/YBeZBWrNCMpeWxbJlfb5JXqYSKxecdo4bYNXFE+oiT3thmR8x+5QP6A8dA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1759586707; a=rsa-sha256; cv=none; b=aVe7or/EaSFYnJNbA71WTmINAfEXsIIJN3ncFbD+mp6WLKjntlTJIf65qciDAa3Z1X6ftR KSymgrxl2fzitt+iVkQEEYu2hPs3D4oZw9caJRZXOjOYpYeZxjQOe8RNRm6u9kOV2Uxf3A TDrhlJQldz+WQX3z4BVSoPsf63dxGVDxVstyrrdK2DShNv6tBFp0wmJafDCPcG9rOOirg2 zCmh8HotuexoK1a7SxsetTzCkCt7Qwu3yQhGoaW8LR7ZWkZwl3Y1qQlMhgb9U6P3e5L0Um oTb5lb1+CgRypNX7vtJI03hMvxlD7QGOEIzDepXCYrpPM0+iY2WkPJYd5nU0KA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4cf6jv3fltzlSx for ; Sat, 04 Oct 2025 14:05:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 594E57ur064452 for ; Sat, 4 Oct 2025 14:05:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 594E579Z064451 for bugs@FreeBSD.org; Sat, 4 Oct 2025 14:05:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 289994] pfctl: confusing error message when trying to flush tables in non-existent anchor Date: Sat, 04 Oct 2025 14:05:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: novel@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D289994 Bug ID: 289994 Summary: pfctl: confusing error message when trying to flush tables in non-existent anchor Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: novel@FreeBSD.org Executing a command like that, where the "not/real" does not exist: tulp# pfctl -a not/real -F all Ethernet rules cleared rules cleared nat cleared pfctl: Operation not supported by device tulp#=20 It fails half way, and the specific failing entity is Tables: tulp# pfctl -a not/real -F Tables pfctl: Operation not supported by device tulp#=20 However, the "show" operation displays a more understandable (in my opinion) error message: tulp# pfctl -a not/real -s Tables pfctl: Anchor does not exist. tulp#=20 I wonder if `pfctl -a not/real -F ` should behave the same, i.e. print that anchor does not exist? --=20 You are receiving this mail because: You are the assignee for the bug.=