rpms/logwatch/devel logwatch-7.3.1-automount2.patch, NONE, 1.1 logwatch-7.3.1-mountd.patch, NONE, 1.1 logwatch.spec, 1.48, 1.49

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Nov 28 18:13:29 UTC 2006


Author: varekova

Update of /cvs/dist/rpms/logwatch/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv22298

Modified Files:
	logwatch.spec 
Added Files:
	logwatch-7.3.1-automount2.patch logwatch-7.3.1-mountd.patch 
Log Message:
- add automount and mountd service patch



logwatch-7.3.1-automount2.patch:
 automount |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)

--- NEW FILE logwatch-7.3.1-automount2.patch ---
--- logwatch-7.3.1/scripts/services/automount.pom	2006-11-28 15:16:56.000000000 +0100
+++ logwatch-7.3.1/scripts/services/automount	2006-11-28 15:33:13.000000000 +0100
@@ -19,7 +19,9 @@
          ($ThisLine =~ /^expired .*$/) or
          ($ThisLine =~ /^lookup\(ldap\): got answer, but no first entry for /) or
          ($ThisLine =~ /^>>.*mount: .*$/) or
-         ($ThisLine =~ /lookup_read_master: lookup\(nisplus\): couldn't locat nis\+ table auto.master/) ) {
+         ($ThisLine =~ /lookup_read_master: lookup\(nisplus\): couldn't locat nis\+ table auto.master/) or
+         ($ThisLine =~ /create_(tcp|udp)_client: hostname lookup failed: No such process/) or 
+         ($ThisLine =~ /lookup_mount: exports lookup failed for .*directory/)) {
       # don't care about these
    }
    elsif ( ($ThisMount) = ($ThisLine =~ /^attempting to mount entry (.*)$/) ) {

logwatch-7.3.1-mountd.patch:
 mountd |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

--- NEW FILE logwatch-7.3.1-mountd.patch ---
--- logwatch-7.3.1/scripts/services/mountd.pom	2006-03-20 21:42:57.000000000 +0100
+++ logwatch-7.3.1/scripts/services/mountd	2006-11-28 15:06:14.000000000 +0100
@@ -17,7 +17,8 @@
 
 while (defined($ThisLine = <STDIN>)) {
    if ( ($ThisLine =~ /^Unauthorized access by NFS client .*$/ ) or 
-         ($ThisLine =~ /^NFS client [^ ]+ tried to access .*$/ ) ) {
+         ($ThisLine =~ /^NFS client [^ ]+ tried to access .*$/ ) or
+         ($ThisLine =~ /^[^ ]* exported to both [0-9.]*\/[0-5]* and [0-9.]*\/[0-9]/) ) {
       # don't care about this, as the next line reports the IP again
    }
    elsif ( ($IP,$Mount) = ($ThisLine =~ /^Blocked attempt of (\d+\.\d+\.\d+\.\d+) to mount (.*)$/) ) {


Index: logwatch.spec
===================================================================
RCS file: /cvs/dist/rpms/logwatch/devel/logwatch.spec,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- logwatch.spec	1 Nov 2006 08:28:08 -0000	1.48
+++ logwatch.spec	28 Nov 2006 18:13:27 -0000	1.49
@@ -1,7 +1,7 @@
 Summary: A log file analysis program.
 Name: logwatch
 Version: 7.3.1
-Release: 5%{?dist}
+Release: 6%{?dist}
 License: MIT
 Group: Applications/System
 URL: http://www.logwatch.org/
@@ -14,6 +14,8 @@
 Patch12: logwatch-7.3.1-sendmail2.patch
 Patch13: logwatch-7.3.1-named.patch
 Patch14: logwatch-7.3.1-openvpn.patch
+Patch15: logwatch-7.3.1-mountd.patch
+Patch16: logwatch-7.3.1-automount2.patch
 
 Requires: textutils sh-utils grep mailx
 BuildRoot: %{_tmppath}/logwatch-build
@@ -35,6 +37,8 @@
 %patch12 -p1
 %patch13 -p1
 %patch14 -p1 
+%patch15 -p1
+%patch16 -p1
 
 %install
 
@@ -139,6 +143,9 @@
 %doc License project/CHANGES project/TODO
 
 %changelog
+* Tue Nov 28 2006 Ivana Varekova <varekova at redhat.com> 7.3.1-6
+- add automount and mountd service patch
+
 * Wed Nov  1 2006 Ivana Varekova <varekova at redhat.com> 7.3.1-5
 - fix named patch (#213267)
 - add openvpn patch 




More information about the fedora-cvs-commits mailing list