diff --git a/logwatch-systemd-logind.patch b/logwatch-systemd-logind.patch new file mode 100644 index 0000000..7ff4524 --- /dev/null +++ b/logwatch-systemd-logind.patch @@ -0,0 +1,12 @@ +--- scripts/services/secure.orig 2012-05-03 13:46:11.000000000 +0200 ++++ scripts/services/secure 2012-05-03 13:58:32.679534406 +0200 +@@ -266,7 +266,8 @@ while (defined($ThisLine = )) { + ( $ThisLine =~ /gdm-session-worker\[\d+\]: pam_namespace\(gdm:session\): Unmount of [^ ]* failed, Device or resource busy/) or + ( $ThisLine =~ /pkexec: pam_systemd(.*): /) or + ( $ThisLine =~ /pkexec: \S+: Executing command /) or +- ( $ThisLine =~ /su: pam_systemd(.*): Failed to parse message: /) ++ ( $ThisLine =~ /su: pam_systemd(.*): Failed to parse message: /) or ++ ( $ThisLine =~ /systemd-logind: (New|Removed) session/) + ) { + # Ignore these entries + } elsif ($ThisLine =~ /^spop3d/ || $ThisLine =~ /^pop\(\w+\)\[\d+\]:/) { diff --git a/logwatch.spec b/logwatch.spec index 82475a9..5f7d9d5 100644 --- a/logwatch.spec +++ b/logwatch.spec @@ -31,6 +31,8 @@ Patch11: logwatch-dovecot-proxy.patch Patch12: logwatch-secure-update.patch # not yet in upstream Patch13: logwatch-mail-headers.patch +# not yet in upstream +Patch14: logwatch-systemd-logind.patch Requires: textutils sh-utils grep mailx Requires: perl(Date::Manip) BuildArchitectures: noarch @@ -56,6 +58,7 @@ of the package on many systems. %patch11 -p0 %patch12 -p0 %patch13 -p0 +%patch14 -p0 rm -f scripts/services/*.orig %build @@ -151,6 +154,7 @@ echo "# Configuration overrides for specific logfiles/services may be placed her - Add dovecot-proxy patch (rhbz#812883) - Add secure-update patch (rhbz#809314) - Add mail-headers patch (rhbz#811185) +- Add systemd-logind patch (rhbz#812880) * Wed Apr 25 2012 Jan Synáček - 7.4.0-10.20120425svn100 - Update to revision 100