Bug 404931 - No such file or directory from valid mount point
Summary: No such file or directory from valid mount point
Status: CLOSED DUPLICATE of bug 371341
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: autofs
Version: 5.1
Hardware: All
OS: Linux
Target Milestone: ---
: ---
Assignee: Jeff Moyer
QA Contact: Brock Organ
Depends On:
TreeView+ depends on / blocked
Reported: 2007-11-29 20:00 UTC by Jack Neely
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-11-30 01:39:32 UTC
Target Upstream Version:

Attachments (Terms of Use)
syslog from autofs (4.41 KB, text/plain)
2007-11-29 20:02 UTC, Jack Neely
no flags Details

Description Jack Neely 2007-11-29 20:00:58 UTC
Description of problem:
I'm using autofs to bind mount directories from AFS to mount points under /ncsu.
 When autofs first mounts a mount point the command that triggers it returns No
such file or directory but the mount is mounted correctly.

$ ls /ncsu/sfcallic
ls: /ncsu/sfcallic: No such file or directory
$ ls /ncsu
$ ls /ncsu/sfcallic
<directory listing>

I have the following map defined:

/ncsu  ldap://ldap.ncsu.edu/nisMapName=auto_ncsu,ou=mounts,dc=ncsu,dc=edu
--timeout=180 --debug

This mostly affects a script that is used to os.stat() a directory under /ncsu
to verify it is a valid "locker" and then run a .environment script in that
locker to set up the environment for the contained application.

Version-Release number of selected component (if applicable):

How reproducible:
Oddly.  It seems to most frequently happen at the console of the machine in
question.  Less so if you are ssh'd into the machine.

Comment 1 Jack Neely 2007-11-29 20:02:27 UTC
Created attachment 273221 [details]
syslog from autofs

This contains some logs from autofs with --debug.  I don't see a specific
problem it says its able to mount the directory and this was from an instance
where ls /ncsu/sfcallic returned no such file or directory.

Comment 2 Jack Neely 2007-11-29 20:09:33 UTC
This doesn't seem to affect root, just normal users.

I can confirm the behavior with autofs-5.0.1-0.rc2.42.i386.rpm,
autofs-5.0.1-0.rc2.55.i386.rpm, and autofs-5.0.1-0.rc2.43.0.2.i386.rpm

Comment 3 Ian Kent 2007-11-30 01:39:32 UTC

*** This bug has been marked as a duplicate of 371341 ***

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