autofs5 only checks 127.0.0.1 for localhost bind mounts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autofs5 (Ubuntu) |
Confirmed
|
Wishlist
|
Unassigned |
Bug Description
Binary package hint: autofs5
Description: Ubuntu 9.10
Release: 9.10
autofs5:
Installed: 5.0.4-3
Candidate: 5.0.4-3
Version table:
*** 5.0.4-3 0
500 http://
100 /var/lib/
When using autofs5 with local mounts, the Karmic installer references the machine name as 127.0.1.1 and localhost as 127.0.0.1.
In our network, we have every users account data on each users machine on the /users/ directory managed by autofs.
The machine hosting the users directory is referenced by the machines name, here : zoidberg
On my recent karmic install, the /etc/hosts was :
127.0.0.1 localhost
127.0.1.1 zoidberg
So when generating the mount options, the zoidberg ip was 127.0.1.1 and was not considered as local and not mounted with bind.
Removing the 127.0.1.1 line and setting zoidberg as 127.0.0.1 resolved the problem.
Autofs shound check the 127.*.*.* addresses as local instead of 127.0.0.1 only.
Changed in autofs5 (Ubuntu): | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |