[Bug 496932] Re: Keepalived haven't LVS support
Edwin K
edwin at kalle.org
Fri Jan 22 10:37:54 GMT 2010
Meanwhile here's a patch:
diff -Nur keepalived-1.1.17/configure.in keepalived-1.1.17.new/configure.in
--- keepalived-1.1.17/configure.in 2009-02-15 21:12:21.000000000 +0100
+++ keepalived-1.1.17.new/configure.in 2010-01-22 10:56:33.259617929 +0100
@@ -102,7 +102,7 @@
dnl ----[ Checks for LVS and VRRP support ]----
IPVS_SUPPORT="_WITHOUT_LVS_"
if test "$enable_lvs" != "no"; then
- AC_CHECK_HEADER([net/ip_vs.h],
+ AC_CHECK_HEADER([linux/ip_vs.h],
[IPVS_SUPPORT="_WITH_LVS_"],
[
IPVS_SUPPORT="_WITHOUT_LVS_"
diff -Nur keepalived-1.1.17/keepalived/include/check_data.h keepalived-1.1.17.new/keepalived/include/check_data.h
--- keepalived-1.1.17/keepalived/include/check_data.h 2009-03-05 09:27:20.000000000 +0100
+++ keepalived-1.1.17.new/keepalived/include/check_data.h 2010-01-22 10:57:42.931617947 +0100
@@ -41,7 +41,7 @@
#else
#define SCHED_MAX_LENGTH IP_VS_SCHEDNAME_MAXLEN
#endif
-#include <net/ip_vs.h>
+#include <linux/ip_vs.h>
#else
#define SCHED_MAX_LENGTH 1
#endif
diff -Nur keepalived-1.1.17/keepalived/include/ipvswrapper.h keepalived-1.1.17.new/keepalived/include/ipvswrapper.h
--- keepalived-1.1.17/keepalived/include/ipvswrapper.h 2009-03-05 09:28:09.000000000 +0100
+++ keepalived-1.1.17.new/keepalived/include/ipvswrapper.h 2010-01-22 10:58:05.623617909 +0100
@@ -48,7 +48,7 @@
#elif _KRNL_2_6_
#include "../libipvs-2.6/libipvs.h"
#endif
- #include <net/ip_vs.h>
+ #include <linux/ip_vs.h>
#endif
#ifndef IP_VS_TEMPLATE_TIMEOUT
diff -Nur keepalived-1.1.17/keepalived/libipvs-2.4/libipvs.h keepalived-1.1.17.new/keepalived/libipvs-2.4/libipvs.h
--- keepalived-1.1.17/keepalived/libipvs-2.4/libipvs.h 2002-07-11 21:28:49.000000000 +0200
+++ keepalived-1.1.17.new/keepalived/libipvs-2.4/libipvs.h 2010-01-22 10:58:57.739617851 +0100
@@ -10,7 +10,7 @@
#ifndef _LIBIPVS_H
#define _LIBIPVS_H
-#include <net/ip_vs.h>
+#include <linux/ip_vs.h>
/*
* The default IPVS_SVC_PERSISTENT_TIMEOUT is a little larger than average
diff -Nur keepalived-1.1.17/keepalived/libipvs-2.6/libipvs.h keepalived-1.1.17.new/keepalived/libipvs-2.6/libipvs.h
--- keepalived-1.1.17/keepalived/libipvs-2.6/libipvs.h 2005-02-14 00:17:08.000000000 +0100
+++ keepalived-1.1.17.new/keepalived/libipvs-2.6/libipvs.h 2010-01-22 11:01:08.439617837 +0100
@@ -10,7 +10,7 @@
#ifndef _LIBIPVS_H
#define _LIBIPVS_H
-#include <net/ip_vs.h>
+#include <linux/ip_vs.h>
#define MINIMUM_IPVS_VERSION_MAJOR 1
#define MINIMUM_IPVS_VERSION_MINOR 1
--
Keepalived haven't LVS support
https://bugs.launchpad.net/bugs/496932
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to keepalived in ubuntu.
More information about the Ubuntu-server-bugs
mailing list