Bug 751766 - Autofs NFS mounts do not work properly from F16 client to F15 server.
Summary: Autofs NFS mounts do not work properly from F16 client to F15 server.
Keywords:
Status: CLOSED DUPLICATE of bug 745781
Alias: None
Product: Fedora
Classification: Fedora
Component: autofs
Version: 16
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Ian Kent
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-07 14:13 UTC by Richard Shaw
Modified: 2011-11-09 02:01 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-11-09 02:01:41 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Richard Shaw 2011-11-07 14:13:44 UTC
Description of problem:
I use autofs to mount a nfs share that contains both the contents of
the various Fedora install DVD's and packages I've built for a local
repository. This has worked quite well on all my Fedora 14 & 15
machines.

I updated my laptop to Fedora 16 and it's having trouble see below:

[richard@laptop local]$ ll
total 0
drwxr-xr-x. 2 root root 0 Nov  6 08:46 gramps
drwxr-xr-x. 2 root root 0 Nov  6 08:46 packages
[richard@laptop local]$ cd packages/
bash: cd: packages/: No such file or directory
[richard@laptop local]$ ll
ls: cannot access packages: No such file or directory
total 0
drwxr-xr-x. 2 root root 0 Nov  6 08:46 gramps
d?????????? ? ?    ?    ?            ? packages
[richard@laptop local]$ pwd
/net/hobbes/var/local

As you can see when I first cd into /net/hobbes/var/local I can see
the packages directory, but when I try to cd into it I can't and then
ls'ing again shows strange output.

Contents of /etc/exports on hobbes:
/var/local/packages                     192.168.0.0/24(ro,sync,all_squash)
/var/local/gramps                       192.168.0.0/24(rw,sync)


Version-Release number of selected component (if applicable):
autofs-5.0.6-2.fc16.x86_64


How reproducible:
Consistently.


Steps to Reproduce:
1. Install autofs
2. start autofs (systemctl enable autofs.service / systemctl start autofs.service)
3. Change to directory (cd /net/hobbes/var/local/packages)
  

Actual results:
Access is denied.


Expected results:
Access succeeds. 

Additional info:
Changing to all directories up to 'packages' works. I have tried a 'restorecon -r ...) on it to make sure it wasn't a selinux issue.

Mounts work fine from my other F15 and F14 system.

Comment 1 Richard Shaw 2011-11-08 02:04:03 UTC
I've tried looking through logs but I've only found the following:

Nov  7 19:38:53 hobbes rpc.mountd[1453]: refused mount request from 192.168.0.2 for /var/local/packages (/var/local/packages): illegal port 59489
Nov  7 19:39:08 hobbes rpc.mountd[1453]: refused mount request from 192.168.0.2 for /var/local/gramps (/var/local/gramps): illegal port 50881
Nov  7 19:40:28 hobbes rpc.mountd[1453]: refused mount request from 192.168.0.2 for /var/local/packages (/var/local/packages): illegal port 43602
Nov  7 19:40:53 hobbes rpc.mountd[1453]: refused mount request from 192.168.0.2 for /var/local/packages (/var/local/packages): illegal port 36317
Nov  7 19:42:34 hobbes rpc.mountd[1453]: refused mount request from 192.168.0.2 for /var/local/packages (/var/local/packages): illegal port 43649
Nov  7 19:51:05 hobbes rpc.mountd[1453]: refused mount request from 192.168.0.2 for /var/local/packages (/var/local/packages): illegal port 45564
Nov  7 19:56:04 hobbes rpc.mountd[1453]: refused mount request from 192.168.0.2 for /var/local/packages (/var/local/packages): illegal port 55659

I searched for a solution but the only thing I could find is an old BZ entry which said to try to mount with the 'insecure' option. After adding it I no longer get the error messages, but the mounts still fail in the same way as above.

Comment 2 Ian Kent 2011-11-08 06:55:15 UTC
I think this is a duplicate of bug 745781.
Please have a look at it and let me know if it is so we can
either close this as a duplicate or add it to the bug list
for the pending F16 update.

Comment 3 Richard Shaw 2011-11-09 00:53:03 UTC
That got it! Thanks!

I rebuilt the rpm from the srpm and everything works fine now.

Richard

Comment 4 Ian Kent 2011-11-09 02:01:41 UTC
(In reply to comment #3)
> That got it! Thanks!
> 
> I rebuilt the rpm from the srpm and everything works fine now.

Great, closing as duplicate then.

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


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