Skip to navigation

Bug Fix Advisory nfs-utils bug fix and enhancement update

Advisory: RHBA-2011:1048-1
Type: Bug Fix Advisory
Severity: N/A
Issued on: 2011-07-21
Last updated on: 2011-07-21
Affected Products: Red Hat Enterprise Linux (v. 5 server)
Red Hat Enterprise Linux Desktop (v. 5 client)

Details

An updated nfs-utils package that fixes various bugs and adds one enhancement is
now available for Red Hat Enterprise Linux 5.

The nfs-utils package provides a daemon for the kernel Network File System (NFS)
server, and related tools such as the mount.nfs, umount.nfs, and showmount
programs.

This update fixes the following bugs:

* With an automounter in use, mounting a large number of NFS file systems (that
is, 500 and more) over the TCP protocol at the same time caused the process to
run out of privileged ports. Consequent to this, many of these mount attempts
may have failed with an error message written to the system log. This update
applies a patch to wait for a period of time specified by the "retry=" option
before attempting to establish a connection with the NFS mount daemon again.
(BZ#240790)

* Due to an error in the RPM spec file, the rpc.statd daemon may have been
incorrectly running as the root user. This error has been fixed so that
rpc.statd now runs as rpcuser. (BZ#495066)

* By providing the "-d" command line option, the rpc.gssd daemon allows a user
to specify a directory or directories in which to look for Kerberos credential
files. Previously, an attempt to specify a value other than "/tmp" caused the
daemon to fail with the following error:

rpc.gssd: ccachedir path name too long

With this update, this error no longer occurs, and the "-d" option can now be
used as expected. (BZ#498134)

* Due to an error in the RPM spec file, the nfsnobody user was assigned a
different UID and GID on 32-bit and 64-bit architectures. This error has been
fixed, and the nfsnobody user is now created with UID and GID 65534 on both
32-bit and 64-bit architectures. (BZ#511876)

* When an NFS file system was mounted over the UDP protocol from a server that
did not allow the use of the TCP protocol, an attempt to unmount it failed,
because the umount.nfs utility incorrectly used TCP. With this update, a patch
has been applied to address this issue so that umount.nfs no longer uses an
incorrect protocol. (BZ#513466)

* Previously, the nfs and nfslock init scripts incorrectly returned exit code 0
even when the respective service was stopped. This update corrects this error,
and when the corresponding service is stopped, these init scripts now return a
non-zero exit code as expected. (BZ#534133, BZ#542020)

* The NFS mount daemon allows a user to disable a particular version of the NFS
protocol by changing the value of the "MOUNTD_NFS_V1" option in the
/etc/sysconfig/nfs configuration file to "no". Previously, an attempt to unmount
a shared file system from a server with such configuration failed with an error.
This update applies a patch that addresses this issue so that shared file
systems can now be unmounted as expected. (BZ#595675)

* Prior to this update, running "nfsstat -s -o rpc" command produced output with
incorrect labels in a table header. With this update, the underlying source code
has been adapted to make sure that all columns now have the correct name.
(BZ#617669)

As well, this update adds the following enhancement:

* The mount.nfs4 utility has been updated to provide a new mount option,
"lookupcache=", which allows the NFS client to control how it caches files and
directories. (BZ#511312)

All users of nfs-utils are advised to upgrade to this updated package, which
fixes these bugs and adds this enhancement.


Solution

Before applying this update, make sure that all previously-released errata
relevant to your system have been applied.

This update is available via Red Hat Network. Details on how to use the Red
Hat Network to apply this update are available at
https://access.redhat.com/kb/docs/DOC-11259

Updated packages

Red Hat Enterprise Linux (v. 5 server)

SRPMS:
nfs-utils-1.0.9-54.el5.src.rpm
File outdated by:  RHBA-2013:1301
    MD5: 1e64e5f60531b01f9ed03f28cad8df49
SHA-256: a30865efdb6a1b212d8dbd7b6c9441d38fc47e20d11a90a76d7869c561b890b9
 
IA-32:
nfs-utils-1.0.9-54.el5.i386.rpm
File outdated by:  RHBA-2013:1301
    MD5: dc018f4987e626bb702302846ccb46a6
SHA-256: 315d7cb0f1fa0b22c38fe9b6e18ef8e7e63ad238194f592ebc160101902d59d1
 
IA-64:
nfs-utils-1.0.9-54.el5.ia64.rpm
File outdated by:  RHBA-2013:1301
    MD5: 4fd4ceed2f1b91f53bf509201f4917fd
SHA-256: 5be7669ce696130fef36afeb9961181c68ce151fc7b22352cc888d2adcf75100
 
PPC:
nfs-utils-1.0.9-54.el5.ppc.rpm
File outdated by:  RHBA-2013:1301
    MD5: 5d3c713215306365e345dbc5fdf20349
SHA-256: 504b84f8993722bcb260dbbccd09c9e1f97ec5370f4565f9ab49b5c932922f40
 
s390x:
nfs-utils-1.0.9-54.el5.s390x.rpm
File outdated by:  RHBA-2013:1301
    MD5: 3b80a8a1217d6a6aede41128e17d0719
SHA-256: d1982ca43854ced6dd84fca509568f40f012197108d739f7f47bbd0f4ee6f25a
 
x86_64:
nfs-utils-1.0.9-54.el5.x86_64.rpm
File outdated by:  RHBA-2013:1301
    MD5: 8351f9fdf0c16dd5fdfcca67e299e504
SHA-256: 66962a8db391d12a910b4ea4701a324adab6e2311a9ecf496575989f4b5012fe
 
Red Hat Enterprise Linux Desktop (v. 5 client)

SRPMS:
nfs-utils-1.0.9-54.el5.src.rpm
File outdated by:  RHBA-2013:1301
    MD5: 1e64e5f60531b01f9ed03f28cad8df49
SHA-256: a30865efdb6a1b212d8dbd7b6c9441d38fc47e20d11a90a76d7869c561b890b9
 
IA-32:
nfs-utils-1.0.9-54.el5.i386.rpm
File outdated by:  RHBA-2013:1301
    MD5: dc018f4987e626bb702302846ccb46a6
SHA-256: 315d7cb0f1fa0b22c38fe9b6e18ef8e7e63ad238194f592ebc160101902d59d1
 
x86_64:
nfs-utils-1.0.9-54.el5.x86_64.rpm
File outdated by:  RHBA-2013:1301
    MD5: 8351f9fdf0c16dd5fdfcca67e299e504
SHA-256: 66962a8db391d12a910b4ea4701a324adab6e2311a9ecf496575989f4b5012fe
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

495066 - rpc.statd is running as root
498134 - rpc.gssd ccachedir option not working
511312 - Add support for lookupcache= option in nfsv4
511876 - [RHEL 5] nfsnobody uid/gid values incorrectly depend on architecture
513466 - Failure to Unmount UDP NFS Filesystems
534133 - nfs and nfslock init script returns incorrect error code when not running
542020 - service nfs status is not returning a proper exit code when stopped
595675 - Cannot unmount NFS share if Mount version 1 is disabled.
617669 - nfsstat names some values wrong


Keywords

nfs, nfs-utils


These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/