On Wed, Nov 23, 2011 at 03:58:51PM -0600, Bruce Dubbs wrote:
> 
> I started to work on this last weekend.  Got nfs-utils to build, but, like
> you, couldn't get nfs3 to work.  I intend to address it next week.  Sorry I
> can't do it sooner.
> 
 I've got it working!  Unfortunately, I've been through a lot of
revisions without any obvious change to the results, so I'll need to
rip the nfs stack out and start again so that I can see which parts
are needed.  Along the way, I had it working with -o,nolock but only
in r/o mode although I specified r/w, and only for a share mounted
by root.  I was starting to think I might have to go with that and
use ssh to update my notes.

 For the moment, there are four obvious changes in play -

1. Attached patch for libtirpc - a combination of yours, plus one
from debian.  Use automake.  This item, in particular, is of
uncertain utility at the moment.

2. Drop portmap for rpcbind.

3. Edit /etc/services to allow rpcbind on port 111 udp and tcp.

4. Drop my /etc/hosts.deny.  I replaced portmap with rpcbind in
hosts.allow, but running rpcbind in the foreground gave me a couple
of scary messages, something like 'unable to set hostname' or maybe
'unable to get address'.  For the moment, this change is key to
having it working, but obviously not a good idea.  So, I need to
find what rpcbind should really be called in hosts.allow.

 I've also got a fifth change - in ~/.bashrc on my desktops I use
rpcinfo to check that my server is exporting my notes.  That program
has moved from /usr/sbin to /usr/bin, so I've had to change
~/.bashrc.

 ${DEITY}, I thought last night was late enough ;-)

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce
 A combination of -remove-nis-2.patch and debian's -remove-des-crypt.diff

diff -Naur libtirpc-0.2.2.orig/src/Makefile.am libtirpc-0.2.2/src/Makefile.am
--- libtirpc-0.2.2.orig/src/Makefile.am 2011-05-02 13:10:40.000000000 +0100
+++ libtirpc-0.2.2/src/Makefile.am      2011-11-24 01:41:21.114621824 +0000
@@ -50,7 +50,7 @@
         rpc_callmsg.c rpc_generic.c rpc_soc.c rpcb_clnt.c rpcb_prot.c \
         rpcb_st_xdr.c svc.c svc_auth.c svc_dg.c svc_auth_unix.c svc_generic.c \
         svc_raw.c svc_run.c svc_simple.c svc_vc.c getpeereid.c \
-        auth_time.c auth_des.c authdes_prot.c des_crypt.c
+        auth_time.c
 
 ## XDR
 libtirpc_la_SOURCES += xdr.c xdr_rec.c xdr_array.c xdr_float.c xdr_mem.c 
xdr_reference.c xdr_stdio.c
diff -Naur libtirpc-0.2.2.orig/src/rpc_soc.c libtirpc-0.2.2/src/rpc_soc.c
--- libtirpc-0.2.2.orig/src/rpc_soc.c   2011-05-02 13:10:40.000000000 +0100
+++ libtirpc-0.2.2/src/rpc_soc.c        2011-11-24 01:39:57.628024997 +0000
@@ -519,6 +519,7 @@
  * Create the client des authentication object. Obsoleted by
  * authdes_seccreate().
  */
+#ifdef NEVER
 AUTH *
 authdes_create(servername, window, syncaddr, ckey)
        char *servername;               /* network name of server */
@@ -546,6 +547,7 @@
        dummy = authdes_seccreate(servername, window, NULL, ckey);
        return (dummy);
 }
+#endif
 
 /*
  * Create a client handle for a unix connection. Obsoleted by clnt_vc_create()
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to