[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


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205671

--- 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

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. This
  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 at FreeBSD.org>

Changes:
  head/etc/rc.d/pf

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


More information about the freebsd-pf mailing list