]> 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)
committerLuk Claes <luk@debian.org>
Sun, 2 Oct 2011 14:16:46 +0000 (16:16 +0200)
commit760b387b4eecd68df92d56ca27b54bd03ad5577d
treed83399eb60cc83efde4a9e84000fd6fd72e9ad9f
parent7e34717e592a744d7fcd0ce22cfe1c6cfe00fedc
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