Bug Fix Advisory autofs bug fix and enhancement update

Advisory: RHBA-2008:0702-4
Type: Bug Fix Advisory
Severity: N/A
Issued on: 2008-07-24
Last updated on: 2008-07-24
Affected Products: Red Hat Desktop (v. 4)
Red Hat Enterprise Linux AS (v. 4)
Red Hat Enterprise Linux ES (v. 4)
Red Hat Enterprise Linux WS (v. 4)
OVAL: N/A

Details

An updated autofs package that fixes several bugs and adds an enhancement
is now available.

The autofs utility controls the operation of the automount daemon, which
automatically mounts and unmounts file systems after a period of
inactivity. File systems can include network file systems, CD-ROMs,
diskettes, and other media.

This updated package fixes the following bugs:

* the automount daemon did not log enough information to troubleshoot
replicated server-selection problems.

* for multi-map configurations, autofs did not detect updates to NIS maps.
In order to detect updates, the autofs service had to be reloaded. In this
updated package, updates to NIS maps are detected.

* when a NIS or LDAP backend became unavailable, the automount daemon
would shut down. Errors similar to "lookup(yp): read_map for [/directory]
failed: Can't communicate with portmapper" were logged to
"/var/log/messages". In this updated package, the automount dameon no
longer shuts down when a NIS or LDAP backend becomes unavailable.

* when using CIFS mounts, the automounter passed a leading ":" character
with the command sent to mount.cifs, causing CIFS mounts to fail.

* in certain situations, automounter interpreted comments in map files,
instead of ignoring them. This may have caused mounts to fail.

* previously, the automount daemon issued RPC pings to hosts for both
replicated and single mount points. This increased latency. In this updated
package, the automount daemon no longer issues RPC pings for single mount
entries.

* negative caching only occurred for failed mounts, and not failed
lookups. This caused delays, resulting in commands such as "date" taking
more than two seconds to run. Errors such as the following may have
occurred:

lookup(program): lookup for [mount-name] failed
failed to mount [/mount/point]

* map entries that started with a colon escape were misinterpreted by the
NFS mount module, resulting in failed local mounts.

* autofs failed to start if an "automount" entry was not configured in
"/etc/nsswitch.conf".

* if options for the autofs-ldap-auto-master utility were stored in the
"LDAPAUTOMASTER" variable, configured in "/etc/sysconfig/autofs", the
automounter failed to find the master map in LDAP.

* the nsswitch binary incorrectly freed memory returned from the YP client
library, resulting in a crash.

* autofs failed to mount NFSv4 mount points when the client was also the
NFSv4 server. Such mounts require the NFS service to be running on the
local machine. Using the "port=[NFS-port]" option, or adding the
"nosymlink" option to the master map entry, prevents autofs from attempting
a "bind" mount.

As well, the logging level can now be changed dynamically while the autofs
daemon is running.

Users of autofs are advised to upgrade to this updated package, which
resolves these issues 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
http://kbase.redhat.com/faq/FAQ_58_10188

Updated packages

Red Hat Desktop (v. 4)

SRPMS:
autofs-4.1.3-234.src.rpm     19d157f7bf5c9512f1b4c02df1236a16
 
IA-32:
autofs-4.1.3-234.i386.rpm     733ffe8bb8ba54d2b1dfe1de38c78cb5
 
x86_64:
autofs-4.1.3-234.x86_64.rpm     3072456bf614f3ade68290f749e9b268
 
Red Hat Enterprise Linux AS (v. 4)

SRPMS:
autofs-4.1.3-234.src.rpm     19d157f7bf5c9512f1b4c02df1236a16
 
IA-32:
autofs-4.1.3-234.i386.rpm     733ffe8bb8ba54d2b1dfe1de38c78cb5
 
IA-64:
autofs-4.1.3-234.ia64.rpm     ca2408d2a1511d7fb2b26658ff34f89c
 
PPC:
autofs-4.1.3-234.ppc.rpm     e33660eb842bc09fcd435d560bb4ad23
 
s390:
autofs-4.1.3-234.s390.rpm     e0815dec58c6325ea26d7e5abe9e0ec1
 
s390x:
autofs-4.1.3-234.s390x.rpm     52ead618bb499bd129063983b3abd69d
 
x86_64:
autofs-4.1.3-234.x86_64.rpm     3072456bf614f3ade68290f749e9b268
 
Red Hat Enterprise Linux ES (v. 4)

SRPMS:
autofs-4.1.3-234.src.rpm     19d157f7bf5c9512f1b4c02df1236a16
 
IA-32:
autofs-4.1.3-234.i386.rpm     733ffe8bb8ba54d2b1dfe1de38c78cb5
 
IA-64:
autofs-4.1.3-234.ia64.rpm     ca2408d2a1511d7fb2b26658ff34f89c
 
x86_64:
autofs-4.1.3-234.x86_64.rpm     3072456bf614f3ade68290f749e9b268
 
Red Hat Enterprise Linux WS (v. 4)

SRPMS:
autofs-4.1.3-234.src.rpm     19d157f7bf5c9512f1b4c02df1236a16
 
IA-32:
autofs-4.1.3-234.i386.rpm     733ffe8bb8ba54d2b1dfe1de38c78cb5
 
IA-64:
autofs-4.1.3-234.ia64.rpm     ca2408d2a1511d7fb2b26658ff34f89c
 
x86_64:
autofs-4.1.3-234.x86_64.rpm     3072456bf614f3ade68290f749e9b268
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

240972 - autofs does not log enough data to troubleshoot replicated server selection
240973 - RFE: Allow debugging to be enabled on the fly
249909 - Need to strip : for mount.cifs support.
305261 - autofs configuration file with comments not at the beginning of line are interpreted, not ignored
429340 - autofs fails if nsswitch.conf doesn't have automount entry
434991 - glibc reports invalid free for nsswitch binary
435032 - autofs fails to mount nfs4 when client and server are same machine
450844 - automount segfault on SIGHUP after negative lookups



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/