On Thu, 2009-06-18 at 12:33 +0200, Ante Karamatić wrote:
> Guido Günther wrote:
>
> > We're having problems with resource failover with the
> > 2.20090127-0ubuntu1, Fabio recommends to ugrade to 2.20090617. Do you
> > have any plans to update the package?
>
> Once 3.0 gets out, which should be soon, as Fabio said, I'll create PPA
> with backported RHCS for hardy and jaunty.
For hardy you will need at least this patch for debian/
plus the kernel header files patch in debian/patches that I provided to
you to build with kernels < 2.6.26.
The code that use those kernel headers requires newer headers to build,
but it does runtime detection of the kernel and behaves properly also on
older ones (so you can run on hardy without a newer kernel).
Also be aware that gfs2 is to be considered super experimental for
anything other than current linux git tree.
You might need to revert a few changes to build gfs1-kernel as 3.0 is up
to 2.6.29 and won't build with anything older.
All the changes you need to revert are clearly marked in cluster.git.
git whatchanged gfs-kernel/ will show.
In order to avoid issues, I recommend you look at linux-2.6.git/ git
whatchanged fs/dlm include/linux/dlm* since a bunch of bugs have been
fixed there too.
Fabio
diff -Naurd redhat-cluster-2.20090112.orig/debian/control redhat-cluster-2.20090112/debian/control
--- redhat-cluster-2.20090112.orig/debian/control 2009-01-21 11:50:49.000000000 +0100
+++ redhat-cluster-2.20090112/debian/control 2009-01-21 12:33:54.000000000 +0100
@@ -107,7 +107,6 @@
Section: libs
Architecture: any
Depends: ${shlibs:Depends}
-Breaks: udev (<< 136-1)
Description: distributed lock manager - library
DLM is a symmetric general-purpose distributed lock manager. It is
used for example by GFS and the distributed volume manager.
diff -Naurd redhat-cluster-2.20090112.orig/debian/libdlm3.install redhat-cluster-2.20090112/debian/libdlm3.install
--- redhat-cluster-2.20090112.orig/debian/libdlm3.install 2009-01-20 19:19:18.000000000 +0100
+++ redhat-cluster-2.20090112/debian/libdlm3.install 2009-01-21 12:33:54.000000000 +0100
@@ -1,3 +1,3 @@
-lib/udev/rules.d/45-dlm.rules
+etc/udev/rules.d/45-dlm.rules
usr/lib/libdlm_lt.so.3.0
usr/lib/libdlm.so.3.0
diff -Naurd redhat-cluster-2.20090112.orig/debian/libdlm3.preinst redhat-cluster-2.20090112/debian/libdlm3.preinst
--- redhat-cluster-2.20090112.orig/debian/libdlm3.preinst 2009-01-20 19:19:18.000000000 +0100
+++ redhat-cluster-2.20090112/debian/libdlm3.preinst 2009-01-21 12:33:54.000000000 +0100
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-set -e
-
-if [ "$1" = install ] || [ "$1" = upgrade ]; then
- if [ -e "/etc/udev/rules.d/45-dlm.rules" ]; then
- if [ "`md5sum \"/etc/udev/rules.d/45-dlm.rules\" | sed -e \"s/ .*//\"`" = \
- "`dpkg-query -W -f='${Conffiles}' libdlm3 | sed -n -e \"\\\\' /etc/udev/rules.d/45-dlm.rules's/.* //p\"`" ]
- then
- rm -f "/etc/udev/rules.d/45-dlm.rules"
- fi
- fi
-fi
-
-#DEBHELPER#
diff -Naurd redhat-cluster-2.20090112.orig/debian/rules redhat-cluster-2.20090112/debian/rules
--- redhat-cluster-2.20090112.orig/debian/rules 2009-01-20 19:19:18.000000000 +0100
+++ redhat-cluster-2.20090112/debian/rules 2009-01-21 12:33:54.000000000 +0100
@@ -58,9 +58,7 @@
# manual craft
install -d -m 0755 debian/tmp/etc/cluster
- install -d -m 0755 debian/tmp/lib/udev/rules.d
- mv debian/tmp/etc/udev/rules.d/51-dlm.rules debian/tmp/lib/udev/rules.d/45-dlm.rules
- rmdir debian/tmp/etc/udev/rules.d
+ mv debian/tmp/etc/udev/rules.d/51-dlm.rules debian/tmp/etc/udev/rules.d/45-dlm.rules
dh_install --sourcedir=debian/tmp --list-missing
_______________________________________________
Mailing list: https://launchpad.net/~ubuntu-ha
Post to : [email protected]
Unsubscribe : https://launchpad.net/~ubuntu-ha
More help : https://help.launchpad.net/ListHelp