Date: Sun, 27 Mar 2016 17:22:41 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-rc@FreeBSD.org Subject: [Bug 205671] etc/rc.d/pf: report "pf not running" if /dev/pf doesn't exist Message-ID: <bug-205671-4805-aBkilGTnR3@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-205671-4805@https.bugs.freebsd.org/bugzilla/> References: <bug-205671-4805@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D205671 --- Comment #3 from commit-hook@freebsd.org --- A commit references this bug: Author: kp Date: Sun Mar 27 17:22:27 UTC 2016 New revision: 297315 URL: https://svnweb.freebsd.org/changeset/base/297315 Log: pf: Friendly error message for status if pf.ko is not loaded Check if pf.ko is loaded (i.e. /dev/pf exists) before trying to use it. T= his means that '/etc/rc.d/pf status' will no longer return 'pfctl: /dev/pf: No such file or directory' but 'pf.ko is not loaded'. PR: 205671 Submitted by: Johannes Jost Meixner <xmj@FreeBSD.org> Changes: head/etc/rc.d/pf --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-205671-4805-aBkilGTnR3>