- Issued:
- 2008-05-21
- Updated:
- 2008-05-21
RHBA-2008:0354 - Bug Fix Advisory
Synopsis
autofs bug fix and enhancement update
Type/Severity
Bug Fix Advisory
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
An updated autofs package that fixes various bugs and adds enhancements is
now available.
Description
The autofs utility controls the operation of the automount daemon. The
automount daemon automatically mounts file systems when you use them, and
unmounts them when they are not busy.
This updated package fixes the following bugs:
- often autofs did not report that a mount request did not find the key in
the automount map.
- during heavy mount and unmount activity, "/etc/mtab" could become out of
sync with "/proc/mounts".
- when mounting a local file system, autofs failed to create mount point
directories for nested and multi-mount map entries.
- for replicated server entries, the NFS version parameter when probing for
availability was incorrect in some cases.
- unmounting large file systems failed due to autofs using a 32 bit version
of the fstat system call.
- autofs issued spurious errors when some file systems were mounted.
- 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.
- autofs was unable to mount map entries that used a macro variable without
an assigned value.
- program map entries were never removed from the internal cache, causing
changes to not be seen.
- mounting a directory owned by a group with a large number of members
caused a "do_mount_indirect: failed to get group info from getgrgid_r"
error.
- when Kerberos authentication was used for maps stored on an LDAP server,
a segmentation fault sometimes occurred when stopping autofs.
- automatic LDAP schema detection is now used when the schema is not set in
the configuration.
- the features section of autofs(5) had a typing error in the wild-card
entry.
- using the "--timeout" option with white space did not work correctly.
- autofs failed to start if an "automount" entry was not configured in
"/etc/nsswitch.conf".
- autofs failed to handle map specifications that contained an attribute
value that was the same as a schema attribute.
- autofs could deadlock if multiple simultaneous mount requests were made
for a program map.
- autofs was unable to mount directories from an NFS server when the
directory name contained spaces.
- the "-hosts" inbuilt map incorrectly handled exports with spaces.
- sending a HUP signal to the autofs daemon caused the removal of all
direct map entries from the internal cache.
- autofs incorrectly parsed LDAP master map entries that contained spaces.
- server probing was done for all mount requests, even if there was only
one mount location.
- by default, the master map names "auto_master" and "auto.master" are now
checked.
- if an indirect map key was greater than 255 characters, autofs failed to
start instead of logging an error.
- during mounting, if a portmapper communication failure occurred, autofs
would shutdown.
- when using sub-mount maps, a mount and expire occurring at the same time
sometimes resulted in a segmentation fault due to a race condition.
As well, this updated package adds the following enhancements:
- the logging level can now be changed dynamically while the autofs daemon
is running.
- if debugging is enabled, restarting the autofs service now logs this to
the system log.
- autofs now provides similar LDAP functionality to that available for
other services that use nss_ldap.
- added an option to allow global mount options given in the autofs
configuration, or specified in a master map entry, to be appended to or
replaced by options in individual map entries.
- a "%" prefix can now be used to indicate upper-case characters when using
case-insensitive LDAP schema.
- the "*" character can now be used as a wildcard in LDAP maps.
- random server selection can be used for replicated mount map entries.
All users of autofs are advised to upgrade to this updated package, which
resolves these issues and adds these enhancements.
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
Affected Products
- Red Hat Enterprise Linux Server 5 x86_64
- Red Hat Enterprise Linux Server 5 ia64
- Red Hat Enterprise Linux Server 5 i386
- Red Hat Enterprise Linux Workstation 5 x86_64
- Red Hat Enterprise Linux Workstation 5 i386
- Red Hat Enterprise Linux Desktop 5 x86_64
- Red Hat Enterprise Linux Desktop 5 i386
- Red Hat Enterprise Linux for IBM z Systems 5 s390x
- Red Hat Enterprise Linux for Power, big endian 5 ppc
- Red Hat Enterprise Linux Server from RHUI 5 x86_64
- Red Hat Enterprise Linux Server from RHUI 5 i386
Fixes
- BZ - 238529 - autofs can return incorrect status from mount under heavy load
- BZ - 246111 - multi-mount maps fail, can not map a hierarchy
- BZ - 249574 - autofs passes a wrong program version to the nfs NULL proc
- BZ - 249738 - Autofs5 failed unmounting Solaris NFS server share
- BZ - 250922 - automount[2281]: open_mount: (mount):cannot open mount module iso9660 (/usr/lib/autofs/mount_iso9660.so: cannot open shared object file: No such file or directory)
- BZ - 251993 - RFE: Allow debugging to be enabled on the fly
- BZ - 253625 - autofs fails to mount nfs4 when client and server are same machine
- BZ - 254226 - autofs reload and condrestart fail if map is originally empty
- BZ - 254227 - log "/etc/init.d/autofs reload" invocations to the system log
- BZ - 256781 - Program maps never see changes
- BZ - 263081 - autofs 5 and large groups
- BZ - 286541 - autofs-5.0.1-0.rc2.43.0.2.x86_64 segfaults when '/etc/init.d/autofs stop' is run
- BZ - 298171 - Allows autofs to do automount lookups via nscd through LDAP
- BZ - 306681 - autofs version 5 should not require common schema to be pre-configured
- BZ - 322741 - minor typo in autofs(5) manpage page in "wildcard" section
- BZ - 332291 - autofs fails if nsswitch.conf doesn't have automount entry
- BZ - 333691 - autofs should use acturate time when using pthread_cond_timedwait
- BZ - 333701 - auto.master(5) needs to document the mount options append entry
- BZ - 333771 - autofs fails if LDAP attribute value is the same as a standard autofs attribute name
- BZ - 333781 - autofs can deadlock with multiple simulaneous access to a submount map
- BZ - 333821 - Export directory with spaces in the name causes problems
- BZ - 333831 - /net does not seem to work with 5.0.1-19 or 5.0.2-6
- BZ - 336961 - Reloading autofs map incorrectly removes all map entries
- BZ - 336971 - Add support for the "%" hack for case insensitive attribute schemas
- BZ - 336991 - autofs should match LDAP wildcard entries with "*" as the key as well as "/"
- BZ - 337431 - automounter load balancing with replicated servers
- BZ - 350171 - /etc/init.d/autofs does not handle basedns with spaces
- BZ - 359661 - RHEL3 U5: [autofs4] automounter won't use auto_master in LDAP
- BZ - 399041 - If a map entry is > 255 chars, automounter fails
- BZ - 404231 - CRM #1598404 Automount process shuts down unexpectedly
CVEs
(none)
References
(none)
Red Hat Enterprise Linux Server 5
SRPM | |
---|---|
autofs-5.0.1-0.rc2.88.src.rpm | SHA-256: d0c10b95a6a84d3884b1ed97f6465caae739fb28bdcc53631fc08425531b7b7d |
x86_64 | |
autofs-5.0.1-0.rc2.88.x86_64.rpm | SHA-256: ddf52ee1d03fd37c72ffe419652a5c52daa7da825d325473503f788b61847692 |
ia64 | |
autofs-5.0.1-0.rc2.88.ia64.rpm | SHA-256: f5f8e07a2dfb8e558219f67a9b82945c33b6310e652f7c48059b6e4db49e817a |
i386 | |
autofs-5.0.1-0.rc2.88.i386.rpm | SHA-256: 60b92509c053bc2db4b7a454ed78ea24f98f286dcd29a5756b8c94ad384716a2 |
Red Hat Enterprise Linux Workstation 5
SRPM | |
---|---|
autofs-5.0.1-0.rc2.88.src.rpm | SHA-256: d0c10b95a6a84d3884b1ed97f6465caae739fb28bdcc53631fc08425531b7b7d |
x86_64 | |
autofs-5.0.1-0.rc2.88.x86_64.rpm | SHA-256: ddf52ee1d03fd37c72ffe419652a5c52daa7da825d325473503f788b61847692 |
i386 | |
autofs-5.0.1-0.rc2.88.i386.rpm | SHA-256: 60b92509c053bc2db4b7a454ed78ea24f98f286dcd29a5756b8c94ad384716a2 |
Red Hat Enterprise Linux Desktop 5
SRPM | |
---|---|
autofs-5.0.1-0.rc2.88.src.rpm | SHA-256: d0c10b95a6a84d3884b1ed97f6465caae739fb28bdcc53631fc08425531b7b7d |
x86_64 | |
autofs-5.0.1-0.rc2.88.x86_64.rpm | SHA-256: ddf52ee1d03fd37c72ffe419652a5c52daa7da825d325473503f788b61847692 |
i386 | |
autofs-5.0.1-0.rc2.88.i386.rpm | SHA-256: 60b92509c053bc2db4b7a454ed78ea24f98f286dcd29a5756b8c94ad384716a2 |
Red Hat Enterprise Linux for IBM z Systems 5
SRPM | |
---|---|
autofs-5.0.1-0.rc2.88.src.rpm | SHA-256: d0c10b95a6a84d3884b1ed97f6465caae739fb28bdcc53631fc08425531b7b7d |
s390x | |
autofs-5.0.1-0.rc2.88.s390x.rpm | SHA-256: 7a8ff5e9f6dbf6f04ac0af072c8778e3d4e9bb37b9bf78481d70dcf0f0e45c4e |
Red Hat Enterprise Linux for Power, big endian 5
SRPM | |
---|---|
autofs-5.0.1-0.rc2.88.src.rpm | SHA-256: d0c10b95a6a84d3884b1ed97f6465caae739fb28bdcc53631fc08425531b7b7d |
ppc | |
autofs-5.0.1-0.rc2.88.ppc.rpm | SHA-256: e8f968060ca63695afeee5d6d1544e56e1a1efb811f458714b4a6cef34898914 |
Red Hat Enterprise Linux Server from RHUI 5
SRPM | |
---|---|
autofs-5.0.1-0.rc2.88.src.rpm | SHA-256: d0c10b95a6a84d3884b1ed97f6465caae739fb28bdcc53631fc08425531b7b7d |
x86_64 | |
autofs-5.0.1-0.rc2.88.x86_64.rpm | SHA-256: ddf52ee1d03fd37c72ffe419652a5c52daa7da825d325473503f788b61847692 |
i386 | |
autofs-5.0.1-0.rc2.88.i386.rpm | SHA-256: 60b92509c053bc2db4b7a454ed78ea24f98f286dcd29a5756b8c94ad384716a2 |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.