Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Feb 2019 08:12:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 236017] security/py-fail2ban: won't change PID-file locate even 'fail2ban_pidfile' assigned.
Message-ID:  <bug-236017-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 236017
           Summary: security/py-fail2ban: won't change PID-file locate
                    even  'fail2ban_pidfile' assigned.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: epopen@gmail.com
                CC: theis@gmx.at
                CC: theis@gmx.at
             Flags: maintainer-feedback?(theis@gmx.at)

Hi

Because directory '/var' mount by tmpfs, and can't create fail2ban default
pid/sock file directory '/var/run/fail2ban'.
So plan modify these to '/var/run'.

File '/usr/local/etc/rc.conf.d/fail2ban' added and one line only like below
'fail2ban_pidfile=3D"/var/run/fail2ban.pid"'
(Without 'fail2ban_enable=3D"YES"', because fail2ban start very slowly in b=
oot
time, so start it after boot completed.)

But won't affect, still '/var/run/fail2ban/fail2ban.pid'.
(Even 'fail2ban_enable=3D"YES"' added same)

Tried to trace by 'sh -x /usr/local/etc/rc.d/fail2ban' and got result below.
   + fail2ban_pidfile=3D/var/run/fail2ban.pid
Look like '/usr/local/etc/rc.conf.d/fail2ban' affect.

How-To-Repeat:
run rc script '/usr/local/etc/rc.d/fail2ban'

--=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-236017-7788>