[Bug 205671] etc/rc.d/pf: report "pf not running" if /dev/pf doesn't exist

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Mar 27 17:22:41 UTC 2016


--- Comment #3 from commit-hook at 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

  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. This
  means that '/etc/rc.d/pf status' will no longer return 'pfctl: /dev/pf: No
  file or directory' but 'pf.ko is not loaded'.

  PR:           205671
  Submitted by: Johannes Jost Meixner <xmj at FreeBSD.org>


You are receiving this mail because:
You are on the CC list for the bug.

More information about the freebsd-pf mailing list