mount to NFS server failed

M. Lewis _fedoralist_ at cajuninc.com
Sun Jul 17 22:31:06 UTC 2005


sly wrote:
> Damian Menscher wrote:
> 
>> On Sun, 17 Jul 2005, sly wrote:
>>
>>> M. Lewis wrote:
>>>
>>>> sly wrote:
>>>>
>>>>> M. Lewis wrote:
>>>>>
>>>>>> sly wrote:
>>>>>>
>>>>>>> on the stkserver i shared with nfs the folder /mnt/stuff
>>>>>
>>>>>
>>>>>
>>>>> Jul 17 17:30:51 stkserver portmap[2894]: connect from 
>>>>> 222.169.100.101 to getport(nfs): request from unauthorized host
>>>>>
>>>>> on the server i had this:
>>>>>
>>>>> # cat /etc/hosts.allow
>>>>> portmap: 222.168.100. : 127.
>>>>>
>>>>> and also tried w/ this:
>>>>>
>>>>> # cat /etc/hosts.allow
>>>>> portmap: 222.168.100.101/255.255.255.0 : 127.
>>>>
>>>>
>>>>
>>>>
>>>> Try (at least temporarily) removing the entry(s) from /etc/hosts.allow
>>>
>>>
>>>
>>> i modified the /etc/hosts.deny file to deny nothing and now it works!
>>
>>
>>
>> You never told us you had an /etc/hosts.deny file.  Out of curiosity, 
>> what was in it?  Not that it should have mattered here anyway....  I 
> 
> 
> i followed the instructions from a book, and it said the /etc/hosts.deny 
> should have:
> 
> portmap: ALL
> 
> and as soon as i deleted this line it worked!
> 

/etc/hosts.deny
# hosts.deny    This file describes the names of the hosts which are
#               *not* allowed to use the local INET services, as decided
#               by the '/usr/sbin/tcpd' server.

So what you had (portmap: ALL) explicitly said to NOT allow portmap from 
ANYONE.

Mike





More information about the fedora-list mailing list