Red Hat Bugzilla – Bug 118806
/net-mounted subdirs become invisible after enclosing dir is remounted
Last modified: 2007-11-30 17:10:38 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040312
Description of problem:
If a host exports say both /mnt and /mnt/dir, when /mnt becomes
inactive, if you access /mnt/dir again, you get the contents of
/mnt/dir before /mnt/dir was mounted there.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.export /mnt and /mnt/dir on host A, where /mnt/dir is the mount
point of a separate directory
2.cd /net/A/mnt/dir on another host
3.wait until the /net/A/mnt times out
4.ls /net/A/mnt/dir (not just ls . ! :-)
Actual Results: You get an empty dir
Expected Results: The contents of the /mnt/dir filesystem
mount shows that /net/A/mnt was mounted *after* /net/A/mnt/dir; that's
probably why the problem occurs.
Could you please post your configuration files? Thanks.
Server or client? On the autofs-running host, all I did was to
uncomment the auto.net entry. On the server, I just exported a
directory and a few other mountpoints within it.
Please try the package located here:
There was a patch committed here that fixes the mount order issue. Let me know
if this resolves your problem.
I haven't heard anything back on this for some time. If the problem persists,
please re-open this bugzilla. I'm closing this bug as WORKSFORME, since the
problem is fixed in my environment.