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

Benjamin Cleyet-Marrel benjamin.cleyet-marrel at openwide.fr
Mon Aug 8 09:27:04 UTC 2011


Hello,

Just wanted an update on this one .
We submitted a patch for that against 3.1 then again against 3.2.0 and 3.2.1
But it seems that you keep forgetting it in the next release .

This is a claimed feature, it is listed in the documentation, in the 
wiki, in the web site. But it is just not working. And has never been.

Why can't this be fixed for once especially when you look at the patch: 
A typo ( - instead of. ) seriously can't you get it throught to the trunk.

So what is the status of this bug ?
Is it going to be fixed in 3.3 ?
Are you going to test it ?

Thanks

-- 
Benjamin Cleyet-Marrel
http://outsourcing.openwide.fr


On 01/08/2011 11:10, Cedric Lagneau wrote:
> 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
>>
> _______________________________________________
> 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