Red Hat Bugzilla – Bug 481008
Access to /net/fenlason-desk/local stopped working.
Last modified: 2014-08-31 19:29:05 EDT
Description of problem:
fenlason-desk exports two directories: /local and /mnt/local. When I ls /net/fenlason-desk, autofs mounts /mnt/local there, and does not allow me to access /net/fenlason-desk/local.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.ls /net/fenlason-desk/ on fenlason-lab1
home lost+found music tmp
Please see: http://people.redhat.com/jmoyer and include as much of the requested debug information as possible.
Created attachment 329633 [details]
Created attachment 329634 [details]
Created attachment 329635 [details]
Created attachment 329636 [details]
Created attachment 329638 [details]
Changing /etc/auto.master to say
hides this bug. I'm keeping it open pending an actual diagnosis and fix.
lookup_mount: lookup(program): fenlason-desk -> -fstype=nfs,hard,intr,nodev,nosuid \#011\/\l\o\c\a\l\ \f\e\n\l\a\s\o\n\-\d\e\s\k\:\/\l\o\c\a\l\ \\ \#011\/\m\n\t\/\l\o\c\a\l\ \f\e\n\l\a\s\o\n\-\d\e\s\k\:\/\m\n\t\/\l\o\c\a\l
Wow, what on Earth is going on there? Ian, is this after incorporating your patch that changes from select to poll? I wonder if that's mucked up program maps.
FWIW, here's the output from /etc/auto.net:
$ /etc/auto.net fenlason-desk
/local fenlason-desk:/local \
It looks like the quoted flag is never cleared.
Created attachment 329646 [details]
clear the quoted flag after each character is processed
This regression was introduced by autofs-5.0.4-fix-select-fd-limit.patch. The fix is to clear the quoted flag after processing each character. Or, at least I think that's the fix. ;) Jay has agreed to test this patch for us.
Yes, the patch works.
A fix for this has been committed and will appear in autofs versions 5.0.4-6 and later.
(In reply to comment #11)
> Created an attachment (id=329646) [details]
> clear the quoted flag after each character is processed
> This regression was introduced by autofs-5.0.4-fix-select-fd-limit.patch. The
> fix is to clear the quoted flag after processing each character. Or, at least
> I think that's the fix. ;) Jay has agreed to test this patch for us.
Good catch Jeff.