cron script patch
Ivana Varekova <[email protected]>
| Newsgroups | gmane.comp.log.logwatch.devel |
|---|---|
| Message-ID | <[email protected]> |
/I'm going through fedora logwatch patches and this one is not in //upstream branch so I'm sending it here. // //Ivana Hutarova Varekova / _______________________________________________ Logwatch-Devel mailing list [email protected] http://www2.list.logwatch.org:81/mailman/listinfo/logwatch-devel
logwatch-cron.patch
(text/x-patch, 590 B)
diff -up ./cron.pom ./cron
--- ./cron.pom 2009-06-02 14:55:41.000000000 +0200
+++ ./cron 2009-06-02 14:56:10.000000000 +0200
@@ -232,7 +232,7 @@ while (defined($ThisLine = <STDIN>)) {
) ) {
$INCRONDErr{$Error}++;
} elsif ( ($ThisLine =~ /crond/) &&
- (($Error) = ($ThisLine =~ /(failed to open PAM security session: Permission denied)/))
+ (($Error) = ($ThisLine =~ /(failed to open PAM security session: (Permission denied|Module is unknown))/))
) {
$CRONDErr{$Error}++;
} elsif (( ($Error) = ($ThisLine =~ /ERROR: (failed to change SELinux context)/)) or