diff --git a/logwatch.spec b/logwatch.spec index 780df97..de72d1f 100644 --- a/logwatch.spec +++ b/logwatch.spec @@ -1,7 +1,7 @@ Summary: A log file analysis program Name: logwatch Version: 7.4.3 -Release: 18%{?dist} +Release: 19%{?dist} License: MIT Group: Applications/System URL: http://www.logwatch.org/ @@ -31,6 +31,7 @@ Patch12: auditd-startup-messages.patch Patch13: ignore-server-ready.patch Patch14: ras-correctable-errors.patch Patch15: deduplicate-sudo.patch +Patch16: polkit-startup-messages.patch BuildRequires: perl-generators Requires: grep mailx @@ -64,6 +65,7 @@ of the package on many systems. %patch13 -p1 %patch14 -p1 %patch15 -p1 +%patch16 -p1 rm -f scripts/services/*.orig %build @@ -163,6 +165,10 @@ echo "# Configuration overrides for specific logfiles/services may be placed her %{_mandir}/man*/* %changelog +* Wed Jun 28 2023 Pavel Šimovec - 7.4.3-19 +- ignore harmless polkit startup messages +- Resolves: rhbz#2043952 + * Tue Jun 27 2023 Pavel Šimovec - 7.4.3-18 - ignore sudo service as it is already reported in secure service - Resolves: rhbz#2043951 diff --git a/polkit-startup-messages.patch b/polkit-startup-messages.patch new file mode 100644 index 0000000..7196be1 --- /dev/null +++ b/polkit-startup-messages.patch @@ -0,0 +1,13 @@ +--- a/scripts/services/secure ++++ b/scripts/services/secure +@@ -273,6 +273,9 @@ + ( $ThisLine =~ /polkit-grant-helper-pam\[\d+\]: pam_thinkfinger\(polkit:auth\): conversation failed/) or + ( $ThisLine =~ /polkitd\(authority=.*\): (Unr|R)egistered Authentication Agent/) or + ( $ThisLine =~ /polkitd\(authority=.*\): Operator of unix-session:/) or ++ ( $ThisLine =~ /polkitd.*Acquired the name .* on the system bus/) or ++ ( $ThisLine =~ /polkitd.*Finished loading, compiling/) or ++ ( $ThisLine =~ /polkitd.*Loading rules from directory /) or + ( $ThisLine =~ /(gdm-session-worker|gdm-password|gnome-screensaver-dialog)\[\d+\]: gkr-pam: no password is available for user/) or + ( $ThisLine =~ /gkr-pam: the password for the login keyring was invalid/) or + ( $ThisLine =~ /groupadd\[\d+\]: group added to /) or # Details in other messages +