]> git.decadent.org.uk Git - nfs-utils.git/commit
mount.nfs: submarvellous messages from mount.nfs
authorMax Matveev <makc@redhat.com>
Tue, 16 Aug 2011 11:57:43 +0000 (07:57 -0400)
committerSteve Dickson <steved@redhat.com>
Tue, 16 Aug 2011 16:46:07 +0000 (12:46 -0400)
commit54f06bfefc4841657aa585dd791ebd2f65a3c299
tree4c62abb1cd759ce3792afddb3ba67975bc75891e
parent151a82d9c80315caff7081f16916d1913a67033a
mount.nfs: submarvellous messages from mount.nfs

Consider a setup where mountd on the server is controlled via
tcp_wrappers (usual RHEL setup) and will not process calls from a
particular client because of something in /etc/hosts.deny.

When such client attempts to do v3 mount, the error message printed
by mount.nfs is misleading.

This patch changes that error message from:
    mount.nfs: Argument list too long
to
    mount.nfs: access denied by server while mounting server:/export

Signed-off-by: Steve Dickson <steved@redhat.com>
utils/mount/stropts.c