Greetings:

My NIS auto.net has an entry that looks similar to:

   my_dir -fstype=fuse,reconnect,allow_other [EMAIL PROTECTED]:/my_dir

It works fine with CentOS 4 x86, x86_64 and ia64 distributions using autofs4. I
installed CentOS 5 x86_64 which uses autofs5 and this NIS mount failed.

Note: In order to allow NIS to properly provide the auto.net entry, I needed to
make a minor change to the /var/yp/Makefile to allow '#' in the NIS database.

The 'automount -v -d' reports in /var/messages something like:

   Jun  8 19:02:23 c1 automount[27076]: attempting to mount entry /net/my_dir
   Jun  8 19:02:24 c1 automount[27076]: parse_mount: parse(sun): invalid 
location
   Jun  8 19:02:24 c1 automount[27076]: failed to mount /net/my_dir


Does autofs-5.0.1/modules/parse_sun.c 'validate_location' function need to
allow the '#' to get this working again? If it's something simple like this,
would it be possible to add this to the next release?

When I manually use sshfs on the CentOS 5 machine it works fine. Also,
it works when I add the entry to the /etc/fstab. The version of
sshfs and fuse I'm using is:

    SSHFS version 1.8
    FUSE library version: 2.6.5
    fusermount version: 2.6.5
    using FUSE kernel interface version 7.8

Your assistance is greatly appreciated.

Thanks,
Anthony

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to