[Sheepdog] Segmentation fault when getting obj information

FUJITA Tomonori fujita.tomonori at lab.ntt.co.jp
Thu Apr 8 16:29:46 CEST 2010


On Thu, 08 Apr 2010 13:57:59 +0200
Wido den Hollander <wido at pcextreme.nl> wrote:

> Hi,
> 
> I just decreased my cluster (node failed...) from 4 to 3 nodes and now
> it works fine, i haven't tested the patch yet.
> 
> But i just updated to the latest git revision and now compiling on my
> node fails.

Seems that PATH_MAX define is missing. What distribution do you use?

This patch works?


diff --git a/collie/collie.c b/collie/collie.c
index eed948b..796807f 100644
--- a/collie/collie.c
+++ b/collie/collie.c
@@ -12,6 +12,7 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>
+#include <linux/limits.h>
 #include <sys/syslog.h>
 
 #include "collie.h"



More information about the sheepdog mailing list