Subject: RE: CFS on NetBSD 1.5.2/Sparc?
To: Brian A. Seklecki <lavalamp@burghcom.com>
From: Bill Dorsey <dorsey@lila.com>
List: port-sparc
Date: 10/17/2001 09:29:29
Brian,

Thanks for your reply.  It led me right to the problem.  I had not
originally
thought it was an authentication problem as rpcinfo -p worked:

% rpcinfo -p
   program vers proto   port  service
    100000    4   tcp    111  portmapper
    100000    3   tcp    111  portmapper
    100000    2   tcp    111  portmapper
    100000    4   udp    111  portmapper
    100000    3   udp    111  portmapper
    100000    2   udp    111  portmapper
    100000    4     0    111  portmapper
    100000    3     0    111  portmapper
    100000    2     0    111  portmapper
    100005    1   udp   1021  mountd
    100005    3   udp   1021  mountd
    100005    1   tcp   1016  mountd
    100005    3   tcp   1016  mountd
    100003    2   udp   2049  nfs
1092830567    2   udp   2049

But when I used the localhost argument:

% rpcinfo -p localhost
rpcinfo: can't contact portmapper: RPC: Authentication error; why = Client
credential too weak

A check of authlog revealed:

Oct 17 09:17:34 noname rpcbind: connect from 127.0.0.1 to dump(): request
from unauthorized host

Which led me to realize that libwrap() was blocking access from localhost
due to a missing "ALL: LOCAL" line in my /etc/hosts.allow file.

Once that problem was corrected, I was able to successfully mount the cfs
volume
using "mount -o intr,-2 127.0.0.1:/null /crypt".

Thanks again!

--
Bill Dorsey