ERROR 7f951278ea60 -- stderr: '/bin/sh: firewall-cmd: not found'
ERROR 7f951278ea60 -- returned 127

Doesn't anyone else run into this?

It seems that:  image: lscr.io/linuxserver/fail2ban   is using Alpine linux
and doesn't come with firewalld, but that doesn't make any sense.  I asked
on the list in case anyone knew.
Perhaps its because Alpine doesn't support systemd, but surely I can't be
the first person that ran into this..



On Thu, Feb 6, 2025 at 5:46 PM solarflow99 <solarflo...@gmail.com> wrote:

> I have fail2ban running in docker-compose, but I still don't see any of
> the FW rules on the host, I am using image:
> lscr.io/linuxserver/fail2ban:latest
>
>
> # fail2ban-client status sshd | more
> Status for the jail: sshd
> |- Filter
> |  |- Currently failed: 0
> |  |- Total failed:     0
> |  `- File list:        /remotelogs/ssh/secure
> `- Actions
>    |- Currently banned: 56719
>    |- Total banned:     56719
>    `- Banned IP list:
>
>
> From the LOG, its easy to see why:
> ERROR 7f5fc7464300 -- stderr: '/bin/sh: firewall-cmd: not found'
>
>
> Shouldn't this image have firewall-cmd already?  Or am I doing something
> wrong?
>
>
_______________________________________________
Fail2ban-users mailing list
Fail2ban-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fail2ban-users

Reply via email to