Bug 428486 - Unable to navigate to loop-mounted directories within an export.
Unable to navigate to loop-mounted directories within an export.
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: nfs-utils (Show other bugs)
All Linux
low Severity medium
: rc
: ---
Assigned To: Steve Dickson
Depends On:
  Show dependency treegraph
Reported: 2008-01-11 19:59 EST by Ray Van Dolson
Modified: 2011-12-08 10:35 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2011-12-08 10:35:42 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Ray Van Dolson 2008-01-11 19:59:10 EST
Description of problem:
Say I have a directory /export:


Where /disc1 and disc2 have been mounted as such:

mount -o loop,ro /root/disc1.iso /export/disc1
mount -o loop,ro /root/disc1.iso /export/disc1

And /export is exported as such:

/export   *(ro,sync,no_subtree_check,no_root_squash)

When a client mounts this directory:

# mount -t nfs host:/export /mnt
# cd /mnt
# ls -l

This operation takes a long time and eventually returns a directory listing. 
However, upon cd'ing to one of the subdirectories disc1 or disc2 these
directories show no contents.

It appears the only way is to explicitly export each directory (/export/disc1,
/export/disc2) separately.

This appears to be a bug:


Fixed here in 1.1.1-git:



  - Am I correct in stating that this is a bug?
  - Is the above mentioned fix feasible for backport to nfs-utils 1.0.6 in
RHEL4?  If so, I can open an SR to request having this done.

This issue also exists in RHEL5 (nfs-utils 1.0.9).  May open a separate bug for
that as well.

Note You need to log in before you can comment on or make changes to this bug.