Some pynfs updates
Subsystems (2)
Bruce,
Please pull this branch from github: https://github.com/ffilz/pynfs/commits/master
The git log is below.
Thanks
Frank
commit 2ddd13347e2769801e1c72c8e8d32cef1bcb3fe0
Author: Frank S. Filz <[email protected]> Date: Wed May 22 17:11:02 2013 -0700
Make LOOK10 accept MSG_ACCEPTED: GARBAGE_ARGS as well as NFS4ERR_BADXDR
The Ganesha server does XDR for the whole request before starting to process COMPOUND. As a result, LOOK10 causes an XDR failure that Ganesha responds at RPC layer and never gets to NFS layer to return NFS4ERR_BADXDR.
commit 1eda552a5183e71351fc84c53b9561b8a9cab4f1
Author: Frank S. Filz <[email protected]> Date: Wed May 1 16:14:41 2013 -0700
Make some tests runable by request
Ganesha can pass several tests that were made inoperable. The original FLAGS: for these were commented out and FLAGS:
is left blank so these tests only run if requested for.
Plus a few tests had duplicate names.
commit a6548ab80a68787dc3fcb5c8531d4d189d77c3a9
Author: Frank S. Filz <[email protected]> Date: Wed May 1 16:06:56 2013 -0700
Make mode 000 tests expect NFS4_OK when run as root
They will warn if NFS4ERR_ACCESS is returned.
J. Bruce Fields
AppliedQuoted 2 lines · Frank Filz
Please pull this branch from github:
https://github.com/ffilz/pynfs/commits/master
Thanks, applied (actually from git://github.com/ffilz/pynfs.git master).
Quoted 7 lines
commit
a6548ab80a68787dc3fcb5c8531d4d189d77c3a9Author: Frank S. Filz <[email protected]> Date: Wed May 1 16:06:56 2013 -0700Make mode 000 tests expect
NFS4_OKwhen run as rootThey will warn if
NFS4ERR_ACCESSis returned.
... though I'm not sure about this one. root-squashing is completely normal, I'm not convinced it merits a warning.
--b.
Quoted 10 lines · J. Bruce Fields
Quoted 2 lines · Frank Filz
Please pull this branch from github:
https://github.com/ffilz/pynfs/commits/masterThanks, applied (actually from
git://github.com/ffilz/pynfs.gitmaster).Quoted 4 lines
commit
a6548ab80a68787dc3fcb5c8531d4d189d77c3a9Author: Frank S. Filz <[email protected]> Date: Wed May 1 16:06:56 2013 -0700
Quoted 6 lines
Quoted 3 lines
Make mode 000 tests expect
NFS4_OKwhen run as rootThey will warn if
NFS4ERR_ACCESSis returned.... though I'm not sure about this one. root-squashing is completely normal, I'm not convinced it merits a warning.
Oh, didn't think about that, good point. Would you like me to submit a patch to make it an acceptable return?
Frank
Quoted 13 lines · Frank Filz
Quoted 12 lines · J. Bruce Fields
Quoted 2 lines · Frank Filz
Please pull this branch from github:
https://github.com/ffilz/pynfs/commits/masterThanks, applied (actually from
git://github.com/ffilz/pynfs.gitmaster).Quoted 6 lines
commit
a6548ab80a68787dc3fcb5c8531d4d189d77c3a9Author: Frank S. Filz <[email protected]> Date: Wed May 1 16:06:56 2013 -0700Make mode 000 tests expect
NFS4_OKwhen run as root
Quoted 7 lines
Quoted 4 lines
Quoted 1 line
They will warn if
NFS4ERR_ACCESSis returned.... though I'm not sure about this one. root-squashing is completely normal, I'm not convinced it merits a warning.
Oh, didn't think about that, good point. Would you like me to submit a patch to make it an acceptable return?
In the uid=0 case, yes, I think that's best.
--b.
Quoted 16 lines · J. Bruce Fields
Quoted 15 lines · Frank Filz
Quoted 14 lines · J. Bruce Fields
Quoted 2 lines · Frank Filz
Please pull this branch from github:
https://github.com/ffilz/pynfs/commits/masterThanks, applied (actually from
git://github.com/ffilz/pynfs.gitmaster).Quoted 7 lines
commit
a6548ab80a68787dc3fcb5c8531d4d189d77c3a9Author: Frank S. Filz <[email protected]> Date: Wed May 1 16:06:56 2013 -0700Make mode 000 tests expect
NFS4_OKwhen run as rootThey will warn if
NFS4ERR_ACCESSis returned.
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
... though I'm not sure about this one. root-squashing is completely normal, I'm not convinced it merits a warning.
Oh, didn't think about that, good point. Would you like me to submit a patch to make it an acceptable return?
In the uid=0 case, yes, I think that's best.
If you want to pull again, I just added a new patch to do so.
Tested the mode000 tests with root, squashed and not, and with a non-root user. Pass in all cases against Ganesha.
Frank
Quoted 23 lines · Frank Filz
Quoted 22 lines · J. Bruce Fields
Quoted 20 lines · Frank Filz
Quoted 10 lines · J. Bruce Fields
Quoted 2 lines · Frank Filz
Please pull this branch from github:
https://github.com/ffilz/pynfs/commits/masterThanks, applied (actually from
git://github.com/ffilz/pynfs.gitmaster).Quoted 4 lines
commit
a6548ab80a68787dc3fcb5c8531d4d189d77c3a9Author: Frank S. Filz <[email protected]> Date: Wed May 1 16:06:56 2013 -0700Quoted 6 lines
Quoted 3 lines
Make mode 000 tests expect
NFS4_OKwhen run as rootThey will warn if
NFS4ERR_ACCESSis returned.... though I'm not sure about this one. root-squashing is completely normal, I'm not convinced it merits a warning.
Oh, didn't think about that, good point. Would you like me to submit a patch to make it an acceptable return?
Quoted 6 lines
Quoted 1 line
In the uid=0 case, yes, I think that's best.
If you want to pull again, I just added a new patch to do so.
Tested the mode000 tests with root, squashed and not, and with a non-root user. Pass in all cases against Ganesha.
Thanks!--b.