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

Cedric Lagneau cedric.lagneau at openwide.fr
Mon Aug 1 09:10:59 UTC 2011


same in 3.2.2.

i.e. #gluster volume set preprod nfs.rpc-auth-allow "192.168.10.*" : not working, *ANY* nfs client ips can mount the volume.

we have submit a patch, then use patch from others. But why i'ts not commited to a release ? wiki explain this feature.


thanks,


----- Mail transféré -----
> 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
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://gluster.org/cgi-bin/mailman/listinfo/gluster-users
> 



More information about the Gluster-users mailing list