On Thu, 2008-12-18 at 08:42 +0000, Bazan, Wojciech wrote: > Hello, > > > > Are there any known issues with auto direct automounts on RHEL.... > (see details below) > > > > # uname -r > > 2.6.9-78.0.8.ELsmp > > # more /etc/redhat-release > > Red Hat Enterprise Linux AS release 4 (Nahant Update 7) > > # rpm -qi autofs-4.1.3-234 > > Name : autofs Relocations: (not > relocatable) > > Version : 4.1.3 Vendor: Red Hat, Inc. > > Release : 234 Build Date: Thu 19 Jun > 2008 05:18:46 PM BST > > Install Date: Tue 16 Dec 2008 06:08:11 PM GMT Build Host: > hs20-bc1-5.build.redhat.com > > Group : System Environment/Daemons Source RPM: > autofs-4.1.3-234.src.rpm > > Size : 960684 License: GPL > > Signature : DSA/SHA1, Tue 01 Jul 2008 02:32:36 PM BST, Key ID > 219180cddb42a60e > > Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla> > > Summary : A tool for automatically mounting and unmounting > filesystems. > > Description : > > Autofs controls the operation of the automount daemons. The automount > > daemons automatically mount filesystems when you use them and > > unmount them after a period of inactivity. Filesystems can include > > network filesystems, CD-ROMs, floppies, and other media. > > > > Install this package if you want a program for automatically mounting > > and unmounting filesystems. If your Red Hat Linux machine is on a > > network, you should install autofs. > > > > > > Although the configuration seems to be perfectly fine: > > > > # more /etc/auto.master > > … > > /misc /etc/auto.misc > > /net /etc/auto.net > > /- /etc/auto.direct > > > > # more /etc/auto.direct > > … > > /PKGrep <host>:/export/PKGrep > > > > It does not want to start autofs saying: > > > > automount[9521]: cache_ghost: entry in file:/etc/auto.direct not valid > map format, key /PKGrep > > > > > > Auto direct work however if we do not use the dir directly under root.
That's right, the pseudo direct mount support in version 4 has several limitations and this is one. Ian _______________________________________________ autofs mailing list autofs@linux.kernel.org http://linux.kernel.org/mailman/listinfo/autofs