Add systemd-logind patch (rhbz#812880)
This commit is contained in:
parent
71e34720e0
commit
63e79b16a7
12
logwatch-systemd-logind.patch
Normal file
12
logwatch-systemd-logind.patch
Normal file
@ -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 = <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: (New|Removed) session/)
|
||||
) {
|
||||
# Ignore these entries
|
||||
} elsif ($ThisLine =~ /^spop3d/ || $ThisLine =~ /^pop\(\w+\)\[\d+\]:/) {
|
||||
@ -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 <jsynacek@redhat.com> - 7.4.0-10.20120425svn100
|
||||
- Update to revision 100
|
||||
|
||||
Loading…
Reference in New Issue
Block a user