Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 May 2022 12:55:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 263774] service pf reload does not check that pf is running
Message-ID:  <bug-263774-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263774

            Bug ID: 263774
           Summary: service pf reload does not check that pf is running
           Product: Base System
           Version: 13.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: conf
          Assignee: bugs@FreeBSD.org
          Reporter: byrnejb@harte-lyne.ca

Created attachment 233719
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D233719&action=
=3Dedit
diff to add pf running check to pf_rsync command in /etc/rc.d/pf

The command "service pf reload" (service pf resync) does not check that "pf=
" is
actually running.  As reload or re-syncing a rule-set without pf actually
running makes no sense one may infer that anyone doing this expects that pf=
 is
actually running.  In that case a warning that it is not would be useful.

A diff to add this to /etc/rc.d/pf is attached.

--=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-263774-227>