[Gluster-users] nfs.rpc-auth-allow : not working in 3.2.1 (but two patches fix that)

Cedric Lagneau cedric.lagneau at openwide.fr
Thu Jun 16 08:52:47 UTC 2011


Hi,

I'm back with nfs.rpc-auth-allow not working in all glusterfs version.

This two patches have fixed issue in 3.2.0:
http://patches.gluster.com/patch/7104/ 
http://patches.gluster.com/patch/7233/


They have not be commited to 3.2.1 so nfs.rpc-auth-allow is broken for now.

To fix that i need to apply:

__patches 7104__ adapted to 3.2.1:
# diff -u glusterd-volgen.c.3.2.1 glusterd-volgen.c.ok
--- glusterd-volgen.c.3.2.1	2011-06-15 17:18:43.000000000 +0200
+++ glusterd-volgen.c.ok	2011-06-15 17:18:09.000000000 +0200
@@ -1622,7 +1622,7 @@
         if ( !volinfo || !volinfo->volname)
                 return 0;
 
-        if (! strcmp (vme->option, "!nfs.rpc-auth-addr-allow")) {
+        if (! strcmp (vme->option, "!nfs.rpc-auth.addr.allow")) {
                 ret = gf_asprintf (&aa, "rpc-auth.addr.%s.allow",
                                         volinfo->volname);
 
@@ -1635,7 +1635,7 @@
                         return -1;
         }
 
-        if (! strcmp (vme->option, "!nfs.rpc-auth-addr-reject")) {
+        if (! strcmp (vme->option, "!nfs.rpc-auth.addr.reject")) {
                 ret = gf_asprintf (&aa, "rpc-auth.addr.%s.reject",
                                         volinfo->volname);
 

__patches 7233__ as it because there are no change in xlators/nfs/lib/src/rpcsvc.c file between 3.2.0 and 3.2.1.


Why this two patches have not been commited in 3.2.1 release ? 


thanks,


regards,


-- 

Cédric Lagneau



More information about the Gluster-users mailing list