Removed some funzziness from the smnotify-path.patch
This commit is contained in:
parent
8bea6d77d5
commit
50559afdb0
@ -1,20 +1,9 @@
|
|||||||
commit 02968aa55972b680fa00273188da281d7612ca3e
|
diff -up nfs-utils-1.1.3/utils/statd/sm-notify.c.orig nfs-utils-1.1.3/utils/statd/sm-notify.c
|
||||||
Author: Steve Dickson <steved@redhat.com>
|
--- nfs-utils-1.1.3/utils/statd/sm-notify.c.orig 2008-07-27 17:01:45.000000000 -0400
|
||||||
Date: Fri Sep 14 14:19:50 2007 -0400
|
+++ nfs-utils-1.1.3/utils/statd/sm-notify.c 2008-07-28 04:30:37.000000000 -0400
|
||||||
|
@@ -26,11 +26,13 @@
|
||||||
|
|
||||||
Changed the default paths in sm-notify to
|
#include "config.h"
|
||||||
/var/lib/nfs/statd which is where the locking
|
|
||||||
state is kept in Red Hat distros.
|
|
||||||
|
|
||||||
Signed-off-by: Steve Dickson <steved@redhat.com>
|
|
||||||
|
|
||||||
diff --git a/utils/statd/sm-notify.c b/utils/statd/sm-notify.c
|
|
||||||
index 98c03f9..862889f 100644
|
|
||||||
--- a/utils/statd/sm-notify.c
|
|
||||||
+++ b/utils/statd/sm-notify.c
|
|
||||||
@@ -24,11 +24,13 @@
|
|
||||||
#include <errno.h>
|
|
||||||
#include <grp.h>
|
|
||||||
|
|
||||||
+#define STATD_PATH_XTN "statd/"
|
+#define STATD_PATH_XTN "statd/"
|
||||||
+
|
+
|
||||||
@ -28,10 +17,9 @@ index 98c03f9..862889f 100644
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
diff --git a/utils/statd/sm-notify.man b/utils/statd/sm-notify.man
|
diff -up nfs-utils-1.1.3/utils/statd/sm-notify.man.orig nfs-utils-1.1.3/utils/statd/sm-notify.man
|
||||||
index dd03b8d..69b7059 100644
|
--- nfs-utils-1.1.3/utils/statd/sm-notify.man.orig 2008-07-27 17:01:45.000000000 -0400
|
||||||
--- a/utils/statd/sm-notify.man
|
+++ nfs-utils-1.1.3/utils/statd/sm-notify.man 2008-07-28 04:30:37.000000000 -0400
|
||||||
+++ b/utils/statd/sm-notify.man
|
|
||||||
@@ -33,7 +33,7 @@ but this is configurable.
|
@@ -33,7 +33,7 @@ but this is configurable.
|
||||||
For each NFS client or server machine to be monitored,
|
For each NFS client or server machine to be monitored,
|
||||||
.B rpc.statd
|
.B rpc.statd
|
||||||
|
@ -23,7 +23,7 @@ Source14: rpcsvcgssd.init
|
|||||||
Source15: nfs.sysconfig
|
Source15: nfs.sysconfig
|
||||||
|
|
||||||
Patch00: nfs-utils-1.0.5-statdpath.patch
|
Patch00: nfs-utils-1.0.5-statdpath.patch
|
||||||
Patch01: nfs-utils-1.1.2-smnotifypath.patch
|
Patch01: nfs-utils-1.1.0-smnotify-path.patch
|
||||||
Patch02: nfs-utils-1.1.0-exp-subtree-warn-off.patch
|
Patch02: nfs-utils-1.1.0-exp-subtree-warn-off.patch
|
||||||
|
|
||||||
%if %{enablefscache}
|
%if %{enablefscache}
|
||||||
|
Loading…
Reference in New Issue
Block a user