Re: mount to NFS server failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2005-07-17 at 18:23 -0400, 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

well DUH,  you are trying to set up portmap for use in hosts.allow, and
here it was denied.  Deny always takes precedence over allow so of
course it was failing.

Whenever you are using entries in hosts.deny or hosts.allow, you always
check the other to make sure one does not override the other.

> 
> and as soon as i deleted this line it worked!
> 
> > suspect one of your other changes fixed the problem.
> > 
> > Damian Menscher
> 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux