crazy-max/docker-fail2ban

Warning message is always triggered: already exists and will be overriden

kosli opened this issue · 1 comments

kosli commented

I am using docker-compose with the container and the mentioned warning message is always triggered as the symbolic link already exists:

if [ -f "/etc/fail2ban/action.d/${action}" ]; then

So the check should be if the file exists and is NOT already the right target?

This warning is legit if you're overriding a core action. You can change the action filename in your data folder if this is not done on purpose.