[Bug 236017] security/py-fail2ban: won't change PID-file locate even 'fail2ban_pidfile' assigned.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Feb 27 14:54:35 UTC 2019


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

--- Comment #4 from epopen at gmail.com ---
(In reply to theis from comment #3)
Hi Theis

Sorry my question doesn't clear. try explain again.

In fail2ban.local
socket = /var/run/fail2ban.sock
pidfile = /var/run/fail2ban.pid

After start, both file in /var/run correctly.
-rw-------  1 root  wheel      6  2月 23 23:35 fail2ban.pid
srwx------  1 root  wheel      0  2月 23 23:35 fail2ban.sock=

In the time, got error as below.
# service fail2ban onestatus
fail2ban is not running.

So I config 'fail2ban_pidfile="/var/run/fail2ban.pid"' @ rc.conf
But won't affect.

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

Used default '/var/run/fail2ban.pid' still.
Look like 'fail2ban_pidfile' knob be ignored @ /usr/local/etc/rc.d/fail2ban.

Thanks you a lot.

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


More information about the freebsd-ports-bugs mailing list