[users] fail2ban upgrade challenge

Dries Verachtert dries at ulyssis.org
Sat Apr 12 17:14:15 CEST 2008


On Friday 11 April 2008 04:53:34 am John Thomas wrote:
> John Thomas wrote:
> > I don't know much.  I noticed the fail2ban.conf file has moved socket=
> > /tmp/fail2ban.sock to /var/run/fail2ban/fail2ban.sock and
> > /var/run/fail2ban/ does not exist.  I tried creating /var/run/fail2ban/,
> > but that did not help.  I am guessing a permission issue, but don't know
> > where to start.
>
> I did a bit more digging and made some headway, I think the following
> works.
>
> 1. service fail2ban stop
> 2. yum update
> 3. mkdir /var/run/fail2ban
> 4. service fail2ban start
>
> Also, I think there now an error in:
> /etc/rc.d/init.d/fail2ban
> the line:
> rm -rf /tmp/fail2ban.sock # in case of unclean shutdown
> should be:
> rm -rf /var/run/fail2ban/fail2ban.sock # in case of unclean shutdown

Thanks for the info!
I've changed this in the spec file, the next rpms should fix this..

kind regards,
Dries



More information about the users mailing list