Coda File System

Re: Mounting replicated volumes

From: Jan Harkes <jaharkes_at_cs.cmu.edu>
Date: Thu, 17 Jan 2002 09:55:30 -0500
On Thu, Jan 17, 2002 at 12:29:53AM -0500, Tom Carroll wrote:
> My setup has two servers running coda-5.3.17.
> 
> The servers share a replicated volume.
> 
> When I mount a replicated volume, I receiving a hanging symlink.
> 
> The ls -al output follows:
> 
> lrw-r--r--    1 70       nogroup         7 Jan 16 23:50 mnt1 -> #mnt1

What are the server's ip-addresses? If there is a '0' in them, then this
could very well be caused by the bug that Ivan Popov found yesterday.

I'm expecting to have 5.3.18 with the following fix out before the end
of the week.

Jan


Index: util.c
===================================================================
RCS file: /afs/cs/project/coda-src/cvs/coda/coda-src/util/util.c,v
retrieving revision 4.19
retrieving revision 4.20
diff -u -u -r4.19 -r4.20
--- util.c	2001/08/31 17:17:56	4.19
+++ util.c	2002/01/16 16:52:13	4.20
@@ -285,7 +285,7 @@
     if ( host->h_length != len ) 
 	return 0;
 
-    if ( strncmp(addr, host->h_addr_list[0], len) == 0 ) 
+    if ( memcmp(addr, host->h_addr_list[0], len) == 0 ) 
 	return 1;
     else 
 	return 0;
Received on 2002-01-17 09:55:39