We have a system with an NIS yp home directory.  Running a Whitebox
distribution, so Redhatish, with vanilla 2.6.24 kernel, automounter
5.0.3 unpatched.

The typical configuration is a home directory automounted via NFS.

Opening up two ssh terminals to a machine in question gives the
following (as an example):

Terminal 1:
$ whoami
sbiggs
$ cd ~/lower_directory
$ /bin/pwd
/home/sbiggs/lower_directory
$

Terminal 2 is a root prompt:
# pkill -9 automount
#

Back to Terminal 1:
$ /bin/pwd
/home/sbiggs/lower_directory
$

Then, on Terminal 2:
#  /etc/init.d/autofs start
Starting automount: done.
#

Back to Terminal 1:
$ /bin/pwd
lower_directory
$

Running automount -fd gives a log of it mounting /home as part of its
startup.  Does that throw away all of the mounts even if they are
already mounted?

Again at Terminal 1:
$ cd .
$ /bin/pwd
/home/sbiggs/lower_directory
$

Only as part of the "cd ." does automount mount "sbiggs" again.

We are being plagued by this issue. We have a huge amount of automounted
directories and at any given time, quite a few of them have the
erroneous relative path/lost mount point CWD.

Can anybody give any insight as to what to do about this?  Is this a
known bug?

TIA
 

-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may 
contain
confidential information.  Any unauthorized review, use, disclosure or 
distribution
is prohibited.  If you are not the intended recipient, please contact the 
sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to