Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#25023 - [autofs] NFS mount doesn't work using server's name, works with ip

Attached to Project: Community Packages
Opened by Nicola Mori (snack) - Tuesday, 05 July 2011, 09:49 GMT
Last edited by Lukas Fleischer (lfleischer) - Tuesday, 05 July 2011, 12:45 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Lukas Fleischer (lfleischer)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
autofs 5.0.6 has problem when mounting NFS shares specifying the server's name. With this configuration:

11 -fstype=nfs,hard,exec,nodev,nosuid,rw,bg,rsize=32768,wsize=32768,noatime,intr static-3-061:/wizard/11

I obtain this error:

$ ls /wizard/11
ls: impossibile accedere a /wizard/11: File o directory non esistente

(it's in italian but basically it says that the directory does not exist). But if I change the config line using the server ip rather than its name, it works:

11 -fstype=nfs,hard,exec,nodev,nosuid,rw,bg,rsize=32768,wsize=32768,noatime,intr 172.16.3.61:/wizard/11

$ ls /wizard/11
lost+found

The problem does not occur with previous version (5.0.5-7), so I think it's not a DNS problem. I'm using kernel26-pae from AUR, maybe the problem is related to this but I'm still puzzled since the previous version of autofs works with the same kernel.


Additional info:
* package version(s)
autofs 5.0.6-1
kernel26-pae 2.6.39.2-1

* config and/or log files etc.


Steps to reproduce:
1) Setup an NFS share mount with autofs, using server's name
2) Try to access to the share
This task depends upon

Closed by  Lukas Fleischer (lfleischer)
Tuesday, 05 July 2011, 12:45 GMT
Reason for closing:  Duplicate
Additional comments about closing:  Dupe of  FS#24994 .
Comment by Nicola Mori (snack) - Tuesday, 05 July 2011, 10:07 GMT
The bug shows up also with stock Arch kernel 2.6.39.2-1.

Loading...