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): autofs-5.0.4-5.i386 How reproducible: always Steps to Reproduce: 1.ls /net/fenlason-desk/ on fenlason-lab1 2. 3. Actual results: home lost+found music tmp Expected results: local mnt Additional info:
Please see: http://people.redhat.com/jmoyer and include as much of the requested debug information as possible. Thanks!
Created attachment 329633 [details] /etc/auto.master
Created attachment 329634 [details] /etc/auto.net
Created attachment 329635 [details] /etc/nsswitch.conf
Created attachment 329636 [details] /etc/sysconfig/autofs
Created attachment 329638 [details] /var/log/debug
Changing /etc/auto.master to say /net -hosts 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 -fstype=nfs,hard,intr,nodev,nosuid \ /local fenlason-desk:/local \ /mnt/local fenlason-desk:/mnt/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. Committed upstream. Ian