diff --git a/ignore-server-ready.patch b/ignore-server-ready.patch new file mode 100644 index 0000000..02085a8 --- /dev/null +++ b/ignore-server-ready.patch @@ -0,0 +1,13 @@ +--- a/scripts/services/fail2ban ++++ b/scripts/services/fail2ban +@@ -91,7 +91,8 @@ + ($ThisLine =~ /INFO\s+(Stopping all jails|Exiting Fail2ban)/) or + ($ThisLine =~ /INFO\s+Initiated '.*' backend/) or + ($ThisLine =~ /INFO\s+(Added logfile = .*|Set maxRetry = \d+|Set findtime = \d+|Set banTime = \d+)/) or +- ($ThisLine =~ /Unable to find a corresponding IP address for .*: \[Errno -2\] Name or service not known/) ++ ($ThisLine =~ /Unable to find a corresponding IP address for .*: \[Errno -2\] Name or service not known/) or ++ ($ThisLine =~ /: Server ready$/) + ) + { + if ( $Debug >= 6 ) { + diff --git a/logwatch.spec b/logwatch.spec index 55b6fa0..87333e1 100644 --- a/logwatch.spec +++ b/logwatch.spec @@ -12,6 +12,7 @@ Patch1: systemd-deactivated.patch Patch2: sshd-sort-by-count.patch Patch3: zstd-log-support.patch Patch4: logwatch-add-support-for-chronyd.patch +Patch5: ignore-server-ready.patch #Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz BuildRequires: perl-generators BuildRequires: systemd-rpm-macros @@ -138,6 +139,7 @@ echo "# Configuration overrides for specific logfiles/services may be placed her %changelog * Wed Feb 04 2026 Lukáš Zaoral - 7.5.5-10 - add support for chronyd (RHEL-36757) +- ignore normal "Server ready" startup message from fail2ban (RHEL-83940) * Thu Jan 08 2026 Vincent Mihalkovic - 7.5.5-9 - Install and use systemd-tmpfiles.d mechanism