import logwatch-7.5.5-6.el9

c9-beta imports/c9-beta/logwatch-7.5.5-6.el9
MSVSphere Packaging Team 1 year ago
commit 00b1353773

1
.gitignore vendored

@ -0,0 +1 @@
SOURCES/logwatch-7.5.5.tar.gz

@ -0,0 +1 @@
f4e8ed4f846758be78b3d55791a867d70a197226 SOURCES/logwatch-7.5.5.tar.gz

@ -0,0 +1,14 @@
diff --git a/scripts/services/cron b/scripts/services/cron
index 869b515..45b857f 100644
--- a/scripts/services/cron
+++ b/scripts/services/cron
@@ -63,6 +63,9 @@ while (defined($ThisLine = <STDIN>)) {
if ($ThisLine =~ s/^CMD \((.+)\)\s*$/$1/) {
$Runs->{$User}->{$ThisLine}++;
$ExecutedCommand{$PID} = {command=>$ThisLine, user=>$User};
+ } elsif ($ThisLine =~ /^CMDEND/) {
+ # Ignore - already counted above
+ next;
} elsif ($ThisLine =~ s/^CMD FINISH \((.+)\)\s*$/$1/) {
$Runs->{$User}->{$ThisLine}++;
} elsif ($ThisLine =~ s/^(END|CMD START) \((.+)\)\s*$/$1/) {

@ -0,0 +1,13 @@
diff --git a/scripts/services/systemd b/scripts/services/systemd
index f1da2ac..44cc7a9 100644
--- a/scripts/services/systemd
+++ b/scripts/services/systemd
@@ -70,7 +70,7 @@ while (defined(my $ThisLine = <STDIN>)) {
# crond will never restart process when it is restarted
$ThisLine =~ /^crond\.service: Found left-over process \d+ \(.*\) in control group while starting unit\. Ignoring\.$/ or
$ThisLine =~ /^Received SIGINT\./ or
- $ThisLine =~ /^Deactivated / or
+ $ThisLine =~ /: Deactivated / or
$ThisLine =~ /^Detected (architecture|virtualization) / or
$ThisLine =~ /^Found device / or
$ThisLine =~ /Got automount request for \/proc\// or

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save