logwatch/logwatch-systemd-logind.patch
Jan Synacek 67036da2a1 Update secure-update patch
Update systemd-logind patch
2012-05-04 13:02:41 +02:00

13 lines
772 B
Diff

--- 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 = <STDIN>)) {
( $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\[\d+\]: (New|Removed) session/)
) {
# Ignore these entries
} elsif ($ThisLine =~ /^spop3d/ || $ThisLine =~ /^pop\(\w+\)\[\d+\]:/) {