diff --git a/deduplicate-sudo.patch b/deduplicate-sudo.patch new file mode 100644 index 0000000..ed92d4b --- /dev/null +++ b/deduplicate-sudo.patch @@ -0,0 +1,11 @@ +--- a/conf/services/secure.conf 2016-03-30 23:32:33.000000000 +0200 ++++ b/conf/services/secure.conf 2023-06-27 19:42:42.296713366 +0200 +@@ -24,7 +24,7 @@ + # Use this to ignore certain services in the secure log. + # You can ignore as many services as you would like. + # (we ignore sshd because its entries are processed by the sshd script) +-$ignore_services = sshd Pluto stunnel proftpd saslauthd imapd postfix/smtpd ++$ignore_services = sshd Pluto stunnel proftpd saslauthd imapd postfix/smtpd sudo + + # For these services, summarize only (i.e. don't least each IP, just + # list the number of connections total) diff --git a/logwatch.spec b/logwatch.spec index fac6b81..780df97 100644 --- a/logwatch.spec +++ b/logwatch.spec @@ -1,7 +1,7 @@ Summary: A log file analysis program Name: logwatch Version: 7.4.3 -Release: 17%{?dist} +Release: 18%{?dist} License: MIT Group: Applications/System URL: http://www.logwatch.org/ @@ -30,6 +30,7 @@ Patch11: systemd-noise-filter.patch Patch12: auditd-startup-messages.patch Patch13: ignore-server-ready.patch Patch14: ras-correctable-errors.patch +Patch15: deduplicate-sudo.patch BuildRequires: perl-generators Requires: grep mailx @@ -62,6 +63,7 @@ of the package on many systems. %patch12 -p1 %patch13 -p1 %patch14 -p1 +%patch15 -p1 rm -f scripts/services/*.orig %build @@ -161,6 +163,10 @@ echo "# Configuration overrides for specific logfiles/services may be placed her %{_mandir}/man*/* %changelog +* Tue Jun 27 2023 Pavel Šimovec - 7.4.3-18 +- ignore sudo service as it is already reported in secure service +- Resolves: rhbz#2043951 + * Tue Jun 27 2023 Pavel Šimovec - 7.4.3-17 - do not treat "RAS: Correctable Errors collector initialized" message as an error - Resolves: rhbz#2043946