Re: Is it a bug -- mount does not work on 127.0.0.1/127.0.1.1 interfaces? [RESOLVED]
I found what the problem was about half an hour ago -- the clue was
found in logfiles
/var/log/syslog.1:Apr 24 10:29:19 vega mountd: refused mount
request from 127.0.1.1 for /export/home (/export/home): unmatched host
I got confused with my old configuration (Red Hat 7.3) where 'mount'
command resolved computer name into DHCP assigned ip address and not to
loopback/127.0.1.1 as it happens in Debian Wheezy/Squeezy.
Once I modified /etc/exports to
everything started to work as expected-- 'mount' has changed it's
behavior what required an adjustment on my part.
Thank you Don,
On 4/24/2014 12:14 PM, Dom wrote:
On 24/04/14 18:51, Snow Leopard wrote:
OS: wheezy / squeeze
Could somebody explain what wrong?
Why mount refuses to mount through loopback interface?
The issue can be reproduced in your system with next set of commands
root# mkdir -p /exports/home
root# cat >> /etc/exports
This is allowing access to all clients on network 192.168.0.0
root# exportfs -ra
root# mount -t nfs 127.0.0.1:/export/home /mnt
You haven't allowed access to clients on network 127.0.0.0
You probably need something like this in /etc/exports:
(all on one line, that probably got wrapped)
No bug. Just wrong configuration.