ignore sudo service as it is already reported in secure service

This commit is contained in:
Pavel Šimovec 2023-06-27 19:52:51 +02:00
parent 9c58dc3dd0
commit a456364609
2 changed files with 18 additions and 1 deletions

11
deduplicate-sudo.patch Normal file
View File

@ -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)

View File

@ -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 <psimovec@redhat.com> - 7.4.3-18
- ignore sudo service as it is already reported in secure service
- Resolves: rhbz#2043951
* Tue Jun 27 2023 Pavel Šimovec <psimovec@redhat.com> - 7.4.3-17
- do not treat "RAS: Correctable Errors collector initialized" message as an error
- Resolves: rhbz#2043946