summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Zoffoli <xmerlin@gentoo.org>2007-07-03 14:55:13 +0000
committerChristian Zoffoli <xmerlin@gentoo.org>2007-07-03 14:55:13 +0000
commitf680a072cecfc2f531a341dcd9a381567ca504dc (patch)
tree6e8e2d9c47243b79bf1087b3f19d28d79f965b34 /sys-cluster
parentversion bump + the same two security fixes as for 1.5.2-r3. This solves bug ... (diff)
downloadgentoo-2-f680a072cecfc2f531a341dcd9a381567ca504dc.tar.gz
gentoo-2-f680a072cecfc2f531a341dcd9a381567ca504dc.tar.bz2
gentoo-2-f680a072cecfc2f531a341dcd9a381567ca504dc.zip
Added a little workaround to prevent drbd crashes.
(Portage version: 2.1.2.2)
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/drbd/ChangeLog5
-rw-r--r--sys-cluster/drbd/files/drbd-8.0.rc3
2 files changed, 6 insertions, 2 deletions
diff --git a/sys-cluster/drbd/ChangeLog b/sys-cluster/drbd/ChangeLog
index b0a4a3de31b6..f832de1a58a3 100644
--- a/sys-cluster/drbd/ChangeLog
+++ b/sys-cluster/drbd/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-cluster/drbd
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/ChangeLog,v 1.68 2007/06/28 18:38:42 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/ChangeLog,v 1.69 2007/07/03 14:55:13 xmerlin Exp $
+
+ 03 Jul 2007; Christian Zoffoli <xmerlin@gentoo.org> files/drbd-8.0.rc:
+ Added a little workaround to prevent drbd crashes.
28 Jun 2007; Christian Zoffoli <xmerlin@gentoo.org> drbd-0.7.24.ebuild,
-drbd-8.0.2-r1.ebuild, -drbd-8.0.3.ebuild:
diff --git a/sys-cluster/drbd/files/drbd-8.0.rc b/sys-cluster/drbd/files/drbd-8.0.rc
index 87e1968ec42c..a19b7df26231 100644
--- a/sys-cluster/drbd/files/drbd-8.0.rc
+++ b/sys-cluster/drbd/files/drbd-8.0.rc
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/files/drbd-8.0.rc,v 1.1 2007/05/07 15:48:57 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/files/drbd-8.0.rc,v 1.2 2007/07/03 14:55:13 xmerlin Exp $
opts="${opts} reload"
@@ -112,6 +112,7 @@ stop() {
if ! grep -q '^/dev/drbd' /proc/mounts &>/dev/null; then
if [ -e ${PROC_DRBD} ]; then
${DRBDADM} down all
+ sleep 3
${RMMOD} drbd
fi
ret=$?