- Issued:
- 2011-12-06
- Updated:
- 2011-12-06
RHBA-2011:1723 - 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 several bugs and adds various enhancements
is now available for Red Hat Enterprise Linux 6.
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.
Bug fixes:
- The autofs utility did not reset the map entry status on a reload request. As
a result, newly added map entries that had previously recorded a mount failure
failed to work. With this update, autofs resets the map entry status on a reload
request and map entries are mounted as expected. (BZ#704935).
- The autofs utility could have terminated with a segmentation fault when
attempting certain mounts. This occurred due to a race condition between mount
handling threads for mounts that had previously recorded a mount failure. The
automount cache map entry is now verified to be valid. (BZ#704939).
- The automount(8) man page referred to a non-existent man page. This was caused
by a typographical error in the code. With this update, the man page reference
has been corrected and the man page is displayed as expected. (BZ#704940).
- Due to a deadlock, autofs could stop responding when attempting to mount map
entries that were nested within maps. With this update, the underlying code has
been changed and, where possible, nested map entries mount correctly.
(BZ#704929).
- Prior to this update, automount could terminate unexpectedly with a pthreads
error. This occurred because attempts to acquire the master map lock
occasionally failed as the lock was held by another thread. With this update,
the underlying code has been adapted to wait for a short time before failing.
(BZ#704933).
- When retrieving paged results from an LDAP (Lightweight Directory Access
Protocol) server, autofs handled certain cases incorrectly, which caused the
query to not obtain all results. This update adds the code that handles these
additional cases. (BZ#704927, BZ#704928).
- Prior to this update, if a key entry of an automount map began with an
asterisk (*) sign, the daemon failed with a segmentation fault because the sign
was not matched correctly. With this update, such asterisk signs are handled
correctly. (BZ#704937).
- When using GSSAPI authentication, the fact that an incorrect authentication
host name was being used caused the connection to fail. This update now gets the
correct host name for the connection. (BZ#704228).
- automount was not performing sufficient sanity checks of server names in its
configuration. This update corrects the configuration entry parsing.
(BZ#692816).
- Error reporting for invalid mount locations was unclear. This update improves
the error reporting. (BZ#700136).
- When an automount map key is present in a file map and is also present in an
included map source, if the file map entry was removed and a lookup performed
before a re-load was issued, the map lookup would have failed. This update
corrects the logic used to determine if the lookup needs to continue into
included maps. (BZ#703332).
- When reloading maps that include a combination of direct and indirect maps, it
was possible for automount to deadlock due to incorrect lock ordering.
(BZ#718927).
- There was inadvertent use of a small amount of GPLv3-licensed code from Samba
in autofs. While this was permissible, it would have entailed explicitly
relicensing autofs from "GPLv2 or later" to "GPLv3", which is not intended for
autofs at this time. Therefore, the Samba-derived code has been replaced in
order to maintain the "GPLv2 or later" licensing status of autofs.
Enhancements:
- This update adds the "--dumpmaps" option to the automount command, which
allows you to dump the maps from their source as seen by the automount daemon.
(BZ#704416).
- This update adds simple Base64 encoding for LDAP and thus allows hashing of
the password entries in the /etc/autofs_ldap_auth.conf configuration file.
(BZ#704932).
All autofs users are advised to upgrade to this updated package, which provides
numerous bug fixes and enhancements.
Solution
Before applying this update, make sure all previously-released errata
relevant to your system have been applied.
This update is available via the 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
Affected Products
- Red Hat Enterprise Linux Server 6 x86_64
- Red Hat Enterprise Linux Server 6 i386
- Red Hat Enterprise Linux Server - Extended Life Cycle Support 6 i386
- Red Hat Enterprise Linux Workstation 6 x86_64
- Red Hat Enterprise Linux Workstation 6 i386
- Red Hat Enterprise Linux Desktop 6 x86_64
- Red Hat Enterprise Linux Desktop 6 i386
- Red Hat Enterprise Linux for IBM z Systems 6 s390x
- Red Hat Enterprise Linux for Power, big endian 6 ppc64
- Red Hat Enterprise Linux for Scientific Computing 6 x86_64
- Red Hat Enterprise Linux Server from RHUI 6 x86_64
- Red Hat Enterprise Linux Server from RHUI 6 i386
- Red Hat Enterprise Linux Server - Extended Life Cycle Support 6 x86_64
- Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 6 s390x
- Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension 6 x86_64
- Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension 6 i386
- Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems) 6 s390x
Fixes
- BZ - 692816 - automount does not perform a sanity check of server name in configuration
- BZ - 703332 - autofs fails to find duplicate key after key removal
- BZ - 704416 - RFE: automounter to dump maps
- BZ - 704927 - autofs should support paged results from ldap server
- BZ - 704928 - autofs should support paged results from ldap server on ppc64 and s390x
- BZ - 704937 - Segmentation fault when looking up '*.'
- BZ - 704939 - automount segfaults in lookup_mount
- BZ - 704940 - autofs-5.0.1-0.rc2.131.el5_4.1 is missing man 8 auto.master
- BZ - 718927 - Lock ordering problem on re-load of direct maps
- BZ - 725931 - Fix GPL v3 dependency in autofs
CVEs
(none)
References
(none)
Red Hat Enterprise Linux Server 6
SRPM | |
---|---|
autofs-5.0.5-39.el6.src.rpm | SHA-256: d9c3810560cbd11f2e0d61ea8de02c4b04692d335c5a68782b35baf114779884 |
x86_64 | |
autofs-5.0.5-39.el6.x86_64.rpm | SHA-256: b066ac213750f95c01a33414601f3fe11e4cbad22a3dab8e67a87c2fe97dbbdb |
autofs-5.0.5-39.el6.x86_64.rpm | SHA-256: b066ac213750f95c01a33414601f3fe11e4cbad22a3dab8e67a87c2fe97dbbdb |
autofs-debuginfo-5.0.5-39.el6.x86_64.rpm | SHA-256: 6298633a1ae73db473d2564e745071c421d6b111b5b16686291c7ab96d5b9496 |
autofs-debuginfo-5.0.5-39.el6.x86_64.rpm | SHA-256: 6298633a1ae73db473d2564e745071c421d6b111b5b16686291c7ab96d5b9496 |
i386 | |
autofs-5.0.5-39.el6.i686.rpm | SHA-256: 60c8696a18fd47a327bb783b8d9d68e97753c805196fb0ae34092d31a747c5d6 |
autofs-debuginfo-5.0.5-39.el6.i686.rpm | SHA-256: 9b030531325a5b9f90e62986ffc993139c7f63cabc8cb64c4f76f15e8ee04e43 |
Red Hat Enterprise Linux Server - Extended Life Cycle Support 6
SRPM | |
---|---|
autofs-5.0.5-39.el6.src.rpm | SHA-256: d9c3810560cbd11f2e0d61ea8de02c4b04692d335c5a68782b35baf114779884 |
x86_64 | |
autofs-5.0.5-39.el6.x86_64.rpm | SHA-256: b066ac213750f95c01a33414601f3fe11e4cbad22a3dab8e67a87c2fe97dbbdb |
autofs-debuginfo-5.0.5-39.el6.x86_64.rpm | SHA-256: 6298633a1ae73db473d2564e745071c421d6b111b5b16686291c7ab96d5b9496 |
i386 | |
autofs-5.0.5-39.el6.i686.rpm | SHA-256: 60c8696a18fd47a327bb783b8d9d68e97753c805196fb0ae34092d31a747c5d6 |
autofs-debuginfo-5.0.5-39.el6.i686.rpm | SHA-256: 9b030531325a5b9f90e62986ffc993139c7f63cabc8cb64c4f76f15e8ee04e43 |
Red Hat Enterprise Linux Workstation 6
SRPM | |
---|---|
autofs-5.0.5-39.el6.src.rpm | SHA-256: d9c3810560cbd11f2e0d61ea8de02c4b04692d335c5a68782b35baf114779884 |
x86_64 | |
autofs-5.0.5-39.el6.x86_64.rpm | SHA-256: b066ac213750f95c01a33414601f3fe11e4cbad22a3dab8e67a87c2fe97dbbdb |
autofs-debuginfo-5.0.5-39.el6.x86_64.rpm | SHA-256: 6298633a1ae73db473d2564e745071c421d6b111b5b16686291c7ab96d5b9496 |
i386 | |
autofs-5.0.5-39.el6.i686.rpm | SHA-256: 60c8696a18fd47a327bb783b8d9d68e97753c805196fb0ae34092d31a747c5d6 |
autofs-debuginfo-5.0.5-39.el6.i686.rpm | SHA-256: 9b030531325a5b9f90e62986ffc993139c7f63cabc8cb64c4f76f15e8ee04e43 |
Red Hat Enterprise Linux Desktop 6
SRPM | |
---|---|
autofs-5.0.5-39.el6.src.rpm | SHA-256: d9c3810560cbd11f2e0d61ea8de02c4b04692d335c5a68782b35baf114779884 |
x86_64 | |
autofs-5.0.5-39.el6.x86_64.rpm | SHA-256: b066ac213750f95c01a33414601f3fe11e4cbad22a3dab8e67a87c2fe97dbbdb |
autofs-debuginfo-5.0.5-39.el6.x86_64.rpm | SHA-256: 6298633a1ae73db473d2564e745071c421d6b111b5b16686291c7ab96d5b9496 |
i386 | |
autofs-5.0.5-39.el6.i686.rpm | SHA-256: 60c8696a18fd47a327bb783b8d9d68e97753c805196fb0ae34092d31a747c5d6 |
autofs-debuginfo-5.0.5-39.el6.i686.rpm | SHA-256: 9b030531325a5b9f90e62986ffc993139c7f63cabc8cb64c4f76f15e8ee04e43 |
Red Hat Enterprise Linux for IBM z Systems 6
SRPM | |
---|---|
autofs-5.0.5-39.el6.src.rpm | SHA-256: d9c3810560cbd11f2e0d61ea8de02c4b04692d335c5a68782b35baf114779884 |
s390x | |
autofs-5.0.5-39.el6.s390x.rpm | SHA-256: 451cd84d2463c731d29d18f9aef296dcf1da7c048f31f4cbcd0826900468a56b |
autofs-debuginfo-5.0.5-39.el6.s390x.rpm | SHA-256: 6e5c4f06f34a2b4c92a30be2526f48f8c3df4b8b10eb250195b4987e7c1a3f70 |
Red Hat Enterprise Linux for Power, big endian 6
SRPM | |
---|---|
autofs-5.0.5-39.el6.src.rpm | SHA-256: d9c3810560cbd11f2e0d61ea8de02c4b04692d335c5a68782b35baf114779884 |
ppc64 | |
autofs-5.0.5-39.el6.ppc64.rpm | SHA-256: 7868422a9cf8074df28fe8e6e26fc5c715c7c57a0d5058387e402a4d6c952b89 |
autofs-debuginfo-5.0.5-39.el6.ppc64.rpm | SHA-256: 954bf8c72d16f3738be376c28073fc43250567b8d1c396e0477a0c7faa084ce4 |
Red Hat Enterprise Linux for Scientific Computing 6
SRPM | |
---|---|
autofs-5.0.5-39.el6.src.rpm | SHA-256: d9c3810560cbd11f2e0d61ea8de02c4b04692d335c5a68782b35baf114779884 |
x86_64 | |
autofs-5.0.5-39.el6.x86_64.rpm | SHA-256: b066ac213750f95c01a33414601f3fe11e4cbad22a3dab8e67a87c2fe97dbbdb |
autofs-debuginfo-5.0.5-39.el6.x86_64.rpm | SHA-256: 6298633a1ae73db473d2564e745071c421d6b111b5b16686291c7ab96d5b9496 |
Red Hat Enterprise Linux Server from RHUI 6
SRPM | |
---|---|
autofs-5.0.5-39.el6.src.rpm | SHA-256: d9c3810560cbd11f2e0d61ea8de02c4b04692d335c5a68782b35baf114779884 |
x86_64 | |
autofs-5.0.5-39.el6.x86_64.rpm | SHA-256: b066ac213750f95c01a33414601f3fe11e4cbad22a3dab8e67a87c2fe97dbbdb |
autofs-debuginfo-5.0.5-39.el6.x86_64.rpm | SHA-256: 6298633a1ae73db473d2564e745071c421d6b111b5b16686291c7ab96d5b9496 |
i386 | |
autofs-5.0.5-39.el6.i686.rpm | SHA-256: 60c8696a18fd47a327bb783b8d9d68e97753c805196fb0ae34092d31a747c5d6 |
autofs-debuginfo-5.0.5-39.el6.i686.rpm | SHA-256: 9b030531325a5b9f90e62986ffc993139c7f63cabc8cb64c4f76f15e8ee04e43 |
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems) 6
SRPM | |
---|---|
autofs-5.0.5-39.el6.src.rpm | SHA-256: d9c3810560cbd11f2e0d61ea8de02c4b04692d335c5a68782b35baf114779884 |
s390x | |
autofs-5.0.5-39.el6.s390x.rpm | SHA-256: 451cd84d2463c731d29d18f9aef296dcf1da7c048f31f4cbcd0826900468a56b |
autofs-debuginfo-5.0.5-39.el6.s390x.rpm | SHA-256: 6e5c4f06f34a2b4c92a30be2526f48f8c3df4b8b10eb250195b4987e7c1a3f70 |
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension 6
SRPM | |
---|---|
autofs-5.0.5-39.el6.src.rpm | SHA-256: d9c3810560cbd11f2e0d61ea8de02c4b04692d335c5a68782b35baf114779884 |
x86_64 | |
autofs-5.0.5-39.el6.x86_64.rpm | SHA-256: b066ac213750f95c01a33414601f3fe11e4cbad22a3dab8e67a87c2fe97dbbdb |
autofs-debuginfo-5.0.5-39.el6.x86_64.rpm | SHA-256: 6298633a1ae73db473d2564e745071c421d6b111b5b16686291c7ab96d5b9496 |
i386 | |
autofs-5.0.5-39.el6.i686.rpm | SHA-256: 60c8696a18fd47a327bb783b8d9d68e97753c805196fb0ae34092d31a747c5d6 |
autofs-debuginfo-5.0.5-39.el6.i686.rpm | SHA-256: 9b030531325a5b9f90e62986ffc993139c7f63cabc8cb64c4f76f15e8ee04e43 |
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems) 6
SRPM | |
---|---|
autofs-5.0.5-39.el6.src.rpm | SHA-256: d9c3810560cbd11f2e0d61ea8de02c4b04692d335c5a68782b35baf114779884 |
s390x | |
autofs-5.0.5-39.el6.s390x.rpm | SHA-256: 451cd84d2463c731d29d18f9aef296dcf1da7c048f31f4cbcd0826900468a56b |
autofs-debuginfo-5.0.5-39.el6.s390x.rpm | SHA-256: 6e5c4f06f34a2b4c92a30be2526f48f8c3df4b8b10eb250195b4987e7c1a3f70 |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.