From f50848917a79840584a10bc00f6c046fca5040ee Mon Sep 17 00:00:00 2001 From: Ludovic Poujol Date: Mon, 10 Jul 2023 16:41:12 +0200 Subject: [PATCH] fail2ban: Fix cron fail2ban_dbpurge (should be bash instead of sh) --- CHANGELOG.md | 1 + fail2ban/templates/fail2ban_dbpurge.j2 | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 143d8a65..f45bd313 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -39,6 +39,7 @@ The **patch** part changes is incremented if multiple releases happen the same m ### Fixed * elasticsearch: comment the Xlog:gc line instead of changing it completely +* fail2ban: Fix cron fail2ban_dbpurge (should be bash instead of sh) * nagios-nrpe: remount /usr **after** installing the packages * packweb-apache,nagios-nrpe: add missing task and config for PHP 8.2 container * potsfix: add missing `localhost.$mydomain` to mydestination diff --git a/fail2ban/templates/fail2ban_dbpurge.j2 b/fail2ban/templates/fail2ban_dbpurge.j2 index 44c20f4c..26c80f32 100644 --- a/fail2ban/templates/fail2ban_dbpurge.j2 +++ b/fail2ban/templates/fail2ban_dbpurge.j2 @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Juin - Decembre 2022 : #64088 # Purge pour Stretch et Buster