Re: [PATCH 0/3] Fix umount.nfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Chuck Lever wrote:
> Hi Steve-
> 
> This short series addresses a couple of problems found with
> umount.nfs.  See RH bugzilla 492598.
> 
> After this series is applied, umount.nfs will send UMNT requests from
> a privileged source port.  This appears to match the behavior of
> umount.nfs before nfs-utils 1.1.5, and is required when the "secure"
> export option is used on the server.
> 
> A minor problem with the value returned by nfs_mount_protocol() is
> also addressed.  This might affect umount.nfs and NFSv2/v3
> version/protocol fallback by sending MNT and UMNT requests using
> the wrong transport protocol.
> 
> ---
> 
> Chuck Lever (3):
>       umount.nfs: Fix return value of nfs_mount_protocol()
>       umount.nfs: Use a privileged port when sending UMNT requests
>       support: Provide an API for creating a privileged RPC client
> 
> 
>  support/include/nfsrpc.h |   11 +++-
>  support/nfs/rpc_socket.c |  140 ++++++++++++++++++++++++++++++++++++++++++++--
>  utils/mount/network.c    |    4 +
>  3 files changed, 145 insertions(+), 10 deletions(-)
> 
All three patched tested and committed.

steved.
--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux