Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Feb 2019 14:54:33 +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-3JrqIoO7KW@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-236017-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-236017-7788@https.bugs.freebsd.org/bugzilla/>

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

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

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

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

After start, both file in /var/run correctly.
-rw-------  1 root  wheel      6  2=E6=9C=88 23 23:35 fail2ban.pid
srwx------  1 root  wheel      0  2=E6=9C=88 23 23:35 fail2ban.sock=3D

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

So I config 'fail2ban_pidfile=3D"/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=3D/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.

--=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-3JrqIoO7KW>