Red Hat Bugzilla – Bug 169523
autofs tries to mount from localhost if host not found
Last modified: 2007-11-30 17:11:14 EST
Description of problem:
If the host named in your map can not be found, autofs strips the host
name and looks for the remote mount point on the local host. This results
in two error messages where one would have done.
Example: auto.users map contains
This is already broken by bug 160782, but let's pretend "beta,beta2,beta3" is
a single host name that can't be looked up. In the message log, you get:
automount: mount(nfs): host beta,beta2,beta3: lookup failure
automount: >> mount: special device /fs13/imc does not exist
It's conceivable that this could sometimes lead to a special device being
mounted on your system that ought not to have been mounted.
Version-Release number of selected component (if applicable):
autofs-4.1.4-5 (but not fixed in autofs-4.1.4-9 either)
The autofs-4.1.4-non-replicated-ping.patch is (again) responsible. The first
use of is_local_mount (in get_best_mount) doesn't bother to check the return
code, so if it returns an error then the code continues as if the function had
Thanks, I'll take a look.
The latest rawhide package should address this issue. The version is 4.1.4-11.
Can you give it a try?
Closing due to lack of response.
Should be fixed.