summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Zoffoli <xmerlin@gentoo.org>2007-10-28 17:07:06 +0000
committerChristian Zoffoli <xmerlin@gentoo.org>2007-10-28 17:07:06 +0000
commit243a9f0cdf642847a09f3f608dbfdeb644bfa8a8 (patch)
tree60ee2cb9262880f253979fa832e18e33170dc087 /sys-cluster/drbd
parentFixing Qt dependency for amd64. (diff)
downloadhistorical-243a9f0cdf642847a09f3f608dbfdeb644bfa8a8.tar.gz
historical-243a9f0cdf642847a09f3f608dbfdeb644bfa8a8.tar.bz2
historical-243a9f0cdf642847a09f3f608dbfdeb644bfa8a8.zip
Enhancement: now the init script promote DRBD devices to primary role when enabled in drbd.conf, thanks to Francisco Javier <ffelix@sshinf.com>.
Package-Manager: portage-2.1.3.9
Diffstat (limited to 'sys-cluster/drbd')
-rw-r--r--sys-cluster/drbd/ChangeLog6
-rw-r--r--sys-cluster/drbd/Manifest22
-rw-r--r--sys-cluster/drbd/files/drbd-8.0.rc9
3 files changed, 23 insertions, 14 deletions
diff --git a/sys-cluster/drbd/ChangeLog b/sys-cluster/drbd/ChangeLog
index 55dfba8e7f54..7bbbd09b69e2 100644
--- a/sys-cluster/drbd/ChangeLog
+++ b/sys-cluster/drbd/ChangeLog
@@ -1,6 +1,10 @@
# 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.77 2007/10/25 09:27:45 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/ChangeLog,v 1.78 2007/10/28 17:07:06 xmerlin Exp $
+
+ 28 Oct 2007; Christian Zoffoli <xmerlin@gentoo.org> files/drbd-8.0.rc:
+ Enhancement: now the init script promote DRBD devices to primary
+ role when enabled in drbd.conf, thanks to Francisco Javier <ffelix@sshinf.com>.
*drbd-0.7.25 (25 Oct 2007)
diff --git a/sys-cluster/drbd/Manifest b/sys-cluster/drbd/Manifest
index 40c86c1240af..872eded92fe7 100644
--- a/sys-cluster/drbd/Manifest
+++ b/sys-cluster/drbd/Manifest
@@ -5,10 +5,10 @@ AUX drbd-0.7.rc 1629 RMD160 ad1ea38cd85a1d1260164d24f890cc38317433a3 SHA1 14a5e9
MD5 22f62e08545dc9d867c17e844b629896 files/drbd-0.7.rc 1629
RMD160 ad1ea38cd85a1d1260164d24f890cc38317433a3 files/drbd-0.7.rc 1629
SHA256 1d9d4fb35ef63a7c0517ed5e599b080f0f7e2b20ef8218c8c008d1acb1526734 files/drbd-0.7.rc 1629
-AUX drbd-8.0.rc 2982 RMD160 38044e973e12545781cb6838d12fb172c8fcf1fd SHA1 df40a5a68d8d132cd4d328fd5a6cdea6478e7714 SHA256 47c0c39794b370bed7152eea1227c115d7b961ecb469d8cb9a3220c9dc543e12
-MD5 342ba71b8133e15c02289719e284f069 files/drbd-8.0.rc 2982
-RMD160 38044e973e12545781cb6838d12fb172c8fcf1fd files/drbd-8.0.rc 2982
-SHA256 47c0c39794b370bed7152eea1227c115d7b961ecb469d8cb9a3220c9dc543e12 files/drbd-8.0.rc 2982
+AUX drbd-8.0.rc 3053 RMD160 af6413f983dcf0855e24ad079fbe2c2a86f0f115 SHA1 76d094e723646be46109e19cb2dcf8124e7a954c SHA256 ac6587ac7d66a430765c622ef922869f9319fbccb49e49aefa8dce13392eeff1
+MD5 e40b4648c73bbfa6984d75f683a55170 files/drbd-8.0.rc 3053
+RMD160 af6413f983dcf0855e24ad079fbe2c2a86f0f115 files/drbd-8.0.rc 3053
+SHA256 ac6587ac7d66a430765c622ef922869f9319fbccb49e49aefa8dce13392eeff1 files/drbd-8.0.rc 3053
DIST drbd-0.7.24.tar.gz 292132 RMD160 3f8e5540e1040ec30926c1f7e114c56c499151e2 SHA1 b38846eb3cbb8aa356e3c28ebf4c4da6e971b06d SHA256 bdeec861bdab2b9a43eda2da743f3e7fd3974126d589f853ed2b22e1f27da5e4
DIST drbd-0.7.25.tar.gz 287737 RMD160 992eaf67114d027f7f2891d35e96dc939e9f60a2 SHA1 9f507ffd41306409357e1eb4e6f73e3671acad28 SHA256 1ad7c91416026b70afc92bcbe64df16f685807f5608ff52ab52a5201935ccd6e
DIST drbd-8.0.6.tar.gz 495421 RMD160 7b920592d2d74e897cc904fbbfa010a088ad62ec SHA1 6c19883b19813ee0a3d02a07d89e6ba21517edb9 SHA256 f08eb9a1fade6a089fefd5652d394f516531857890e83757f67ec54144ae50a2
@@ -24,10 +24,10 @@ EBUILD drbd-8.0.6-r1.ebuild 1419 RMD160 5df77a199cb3237803164ee19816e6fd45f29342
MD5 ae32fcab8c3325ff82d8e7e7f5eee144 drbd-8.0.6-r1.ebuild 1419
RMD160 5df77a199cb3237803164ee19816e6fd45f29342 drbd-8.0.6-r1.ebuild 1419
SHA256 2c6d247bab3f0ee6c166ffc7528941f0f859a7dfe2798bb50523cbcb72c01c46 drbd-8.0.6-r1.ebuild 1419
-MISC ChangeLog 13153 RMD160 b89fd97762661a9917ade7a9867c595c57ae1c3e SHA1 49c1ecfb9d2d4dfd0a1f6ee779b2ae3dcdda997a SHA256 50079bd82527d3318a462c65590957385c47885e74446fbfa81109f2f5ba2b7c
-MD5 2dfeecf85ff205ba9c0fe8d75e117584 ChangeLog 13153
-RMD160 b89fd97762661a9917ade7a9867c595c57ae1c3e ChangeLog 13153
-SHA256 50079bd82527d3318a462c65590957385c47885e74446fbfa81109f2f5ba2b7c ChangeLog 13153
+MISC ChangeLog 13376 RMD160 486f0bb957899cad99728d42998c1f14cd648558 SHA1 206c1102ae5699465dbb6455532d83a4af4faa3d SHA256 5137cba8720fd41a518aca91105469eb20ce5df10d753e447607ae976bbc02a5
+MD5 a36a19229f3a644d44f55031b987e4b7 ChangeLog 13376
+RMD160 486f0bb957899cad99728d42998c1f14cd648558 ChangeLog 13376
+SHA256 5137cba8720fd41a518aca91105469eb20ce5df10d753e447607ae976bbc02a5 ChangeLog 13376
MISC metadata.xml 229 RMD160 4dcf17b88c5f4db2e817f473f3e8269b0bff2e6e SHA1 e6315be43241c55bdc0d12a42fa05632c5ff9b79 SHA256 49e13d2d49bef7298e3bb665ebeceeff9b0880fae5ff639cb8405993504f244f
MD5 58f295ba7477091e41340647670f3231 metadata.xml 229
RMD160 4dcf17b88c5f4db2e817f473f3e8269b0bff2e6e metadata.xml 229
@@ -44,7 +44,7 @@ SHA256 a69e32325f00ec3ed5234b5774d768011d5d79e478216801c1c82883444f5054 files/di
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
-iD8DBQFHIGGZgMUyd/cdjWsRAhbxAJoD70w5XlP4eUpXomzLF+MCEjttBwCfQOK2
-/QvJYbGPGRW8UbbbHZbZEao=
-=mcre
+iD8DBQFHJMHDgMUyd/cdjWsRAjgsAJ9t0masfbKknbeHV3BHZf15biW6cwCbBB1M
+CziM67QTN+0j9vJGF+lnewc=
+=7umi
-----END PGP SIGNATURE-----
diff --git a/sys-cluster/drbd/files/drbd-8.0.rc b/sys-cluster/drbd/files/drbd-8.0.rc
index a19b7df26231..1b0d430cbcbf 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.2 2007/07/03 14:55:13 xmerlin Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd/files/drbd-8.0.rc,v 1.3 2007/10/28 17:07:06 xmerlin Exp $
opts="${opts} reload"
@@ -99,8 +99,13 @@ start() {
einfon "Waiting for connection "
$DRBDADM wait-con-int
- echo
ret=$?
+ echo
+
+ einfon "Become primary if configured "
+ $DRBDADM sh-b-pri all
+ echo
+
eend $ret
return $ret
}