Public bug reported:

Binary package hint: autofs5

Description:    Ubuntu 10.04 LTS
Release:        10.04

autofs5:
  Installed: 5.0.4-3.1ubuntu5
  Candidate: 5.0.4-3.1ubuntu5
  Version table:
 *** 5.0.4-3.1ubuntu5 0
        500 http://it.archive.ubuntu.com/ubuntu/ lucid/main Packages
        100 /var/lib/dpkg/status


When trying to mount nfs shares using /net and -hosts map i receive a failure 
message:

r...@gbrowse-1:~# ls /net/brunello/
ls: cannot access /net/brunello/: No such file or directory

and this is the expected output:

[r...@ribolla ~]# ls -l /net/brunello
total 0
dr-xr-xr-x 6 root root 0 Jun 23 12:08 export

The machine named "ribolla" is a Centos 5.3 where autofs is working as expected.
The expected behaviour can also be seen while browsing a different machine 
called filer, running hardy:

r...@gbrowse-1:~# ls -l /net/filer
total 0
dr-xr-xr-x 4 root root 0 2010-06-23 12:49 home
drwxr-xr-x 2 root root 0 2010-06-23 12:49 opt
dr-xr-xr-x 3 root root 0 2010-06-23 12:49 srv

I suspect that the bug is something related to the parsing of the
exports output of the nfs server.

As a workaround using "/net /etc/auto.net" in auto.master works, but has some 
other issues.
I'll attach the showmount output.

** Affects: autofs5 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
-hosts map does not work with /net nfs shares on a solaris server
https://bugs.launchpad.net/bugs/597654
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to