Red Hat Bugzilla – Bug 149634
autofs direct map mount fails
Last modified: 2009-01-21 13:27:46 EST
Description of problem: Autofs mounting direct map: /idl
Version-Release number of selected component (if applicable):
How reproducible: fully
Steps to Reproduce:
1.service autofs restart
Feb 24 10:37:44 kodiak automount: starting automounter version
4.1.3-67, path = /-, maptype = yp, mapname = auto.direct
Feb 24 10:37:44 kodiak autofs: automount startup succeeded
Feb 24 10:37:44 kodiak automount: cache_ghost: entry in
yp:auto.direct not valid map format, key /idl
Feb 24 10:37:44 kodiak automount: shut down, path = /-
Top-level direct mounts do not work, and are not intended to work. There is a
work-in-progress to support this feature. Please follow the RHEL 3 bug for
that. Once the feature is stabilized, it will be added to RHEL 3 and 4, so long
as it isn't too intrusive a change.
Created attachment 111389 [details]
Details of the problem
*** This bug has been marked as a duplicate of 138363 ***
The bug that is is a duplicate of (138363) is not publically viewable. Please
open it up so that others can see and track the status. (This is a feature in
very interested in.)
(In reply to comment #11)
> The bug that is is a duplicate of (138363) is not publically viewable. Please
> open it up so that others can see and track the status. (This is a feature in
> very interested in.)
I'm not sure what you need but there are a few things
that are known:
1) it can't be fixed properly in autofs v4.
2) it has been fixed in autofs v5 since the first beta
3) we haven't had any reports this doesn't work correctly.
4) the needed kernel patches have recenty been commited
to the RHEL4 kernel.
5) limited testing of autofs v5 in RHEL4 is underway.
6) it's not yet clear how autofs v5 will be made
available for RHEL4.
I did get direct automounts to work after seeting the DISABLE_DIRECT=0
variable in /etc/sysconfig/autofs.
The issue I'm interested in is the lack of support for top-level direct
mounts. I have some legacy pathnames which are top-level directories and that
cannot be changed. We're also in the process of chaning my whole site from
hard mounts to autofs. If I can't get this feature to work in RHEL4, I'll have
to use some workaround (like symlinking to a non-direct mount point).
(In reply to comment #13)
> I did get direct automounts to work after seeting the DISABLE_DIRECT=0
> variable in /etc/sysconfig/autofs.
> The issue I'm interested in is the lack of support for top-level direct
> mounts. I have some legacy pathnames which are top-level directories and that
> cannot be changed. We're also in the process of chaning my whole site from
> hard mounts to autofs. If I can't get this feature to work in RHEL4, I'll have
> to use some workaround (like symlinking to a non-direct mount point).
You will need to use autofs v5 for the top level mount support.
The only thing that's needed to be able to use v5 is the kernel
update which will be in the RHEL4 U5 kernel.
As I said how we deploy the package in RHEL4 is not clear but we
should be able to make it available somehow for those that who
need it. The problem of course is that we already have an autofs
The autofs5 package was added to RHEL 4, and it has support for top-level direct mounts. Autofs version 5 is also the default in RHEL 5.