[plug] NFS problem

Matt Kemner zombie at networx.net.au
Tue Dec 1 09:26:58 WST 1998


On Tue, 1 Dec 1998, John Summerfield wrote:

> Not the kernel. However, I do suspect that the kernels and the version of
> nfs I have installed have some incompatibility.

No, I think it's just that the new nfs needs a different configuration..
As I keep saying, I got bitten by it too.

> If there is some incompatibility, the kernel writers should know about it.

If there was, the NFS people should know about it, not necessarily the
kernel writers.

> > Try adding the explicit lines
> > 
> > rpc.mountd: emu.os2.ami.com.au: ALLOW
> > rpc.mountd: 192.168.1.2: ALLOW
> > 
> > to your /etc/hosts.allow

Did you add these lines?
Did they make a difference?
Try adding
mountd: emu.............:ALLOW
mountd: 192............:ALLOW
(ie without the rpc.)

> mountd[2139] 12/01/98 07:34 NFS mount of /redhat attempted from 192.168.1.2
> mountd[2139] 12/01/98 07:34 check unknown clnt addr 192.168.1.2
> mountd[2139] 12/01/98 07:34 Unauthorized access by NFS client 192.168.1.2.
> mountd[2139] 12/01/98 07:34 Blocked attempt of 192.168.1.2 to mount /redhat
> mountd[2139] 12/01/98 07:34     mount res = 13

That's the exact error I got. I fixed it with hosts.allow.

> open("/etc/hosts.allow", O_RDONLY)      = 1
> fstat(1, {st_mode=S_IFREG|0644, st_size=182, ...}) = 0
> mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4000b000
> read(1, "#\n# hosts.allow\tThis file desc"..., 4096) = 182

 - Matt



More information about the plug mailing list