autofs5 only checks 127.0.0.1 for localhost bind mounts

Bug #517139 reported by Neil Armstrong
22
This bug affects 4 people
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://fr.archive.ubuntu.com karmic/universe Packages
        100 /var/lib/dpkg/status

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.

Chuck Short (zulcss)
Changed in autofs5 (Ubuntu):
importance: Undecided → Wishlist
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.