[Bug 271926] security/py-fail2ban: Autocreate run-dir before service starts

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 09 Jun 2023 22:21:24 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271926

            Bug ID: 271926
           Summary: security/py-fail2ban: Autocreate run-dir before
                    service starts
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: cy@FreeBSD.org
          Reporter: drtr0jan@yandex.ru
             Flags: maintainer-feedback?(cy@FreeBSD.org)
          Assignee: cy@FreeBSD.org

Created attachment 242706
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=242706&action=edit
py-fail2ban.patch

There's a case when /var/run dir is mounted as a tmpfs (ex, diskless
environment). So /var/run/fail2ban dir can be absent after system boot (ex,
pidfile is wrotten to separate dir), but fail2ban want to use /var/run/fail2ban
anyway (ex, some action files).
The proposed patch fixes rc-script for autocreating /var/run/fail2ban
directory.

-- 
You are receiving this mail because:
You are the assignee for the bug.