[Pkg-ceph-commits] [ceph] 01/01: init-lsb.patch to adjust rbdmap LSB header / init order
Dmitry Smirnov
onlyjob at moszumanska.debian.org
Wed Apr 2 14:30:19 UTC 2014
This is an automated email from the git hooks/post-receive script.
onlyjob pushed a commit to branch experimental
in repository ceph.
commit 52c1925 (experimental)
Author: Dmitry Smirnov <onlyjob at member.fsf.org>
Date: Wed Apr 2 12:36:55 2014
init-lsb.patch to adjust rbdmap LSB header / init order
---
debian/patches/init-lsb.patch | 29 +++++++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 30 insertions(+)
diff --git a/debian/patches/init-lsb.patch b/debian/patches/init-lsb.patch
new file mode 100644
index 0000000..ac7112b
--- /dev/null
+++ b/debian/patches/init-lsb.patch
@@ -0,0 +1,29 @@
+Last-Update: 2014-04-02
+Forwarded: https://github.com/ceph/ceph/pull/1587
+Author: Dmitry Smirnov <onlyjob at member.fsf.org>
+Description: correcting rbdmap LSB header / init order:
+ * Require "$remote_fs" since it guarantees /usr availability
+ (rbd executable is in /usr/bin/rbd)
+ * Speed-up init.d rbd mapping on machines acting as MON/OSD
+ by starting rbdmap after /init.d/ceph (when possible) and
+ shutting down rbd before ceph.
+ * Map rbd devices before starting X (helpful when /home is mounted from rbd).
+
+--- a/src/init-rbdmap
++++ b/src/init-rbdmap
+@@ -6,10 +6,13 @@
+ # description: Ceph RBD Mapping
+
+ ### BEGIN INIT INFO
+ # Provides: rbdmap
+-# Required-Start: $network
+-# Required-Stop: $network
++# Required-Start: $network $remote_fs
++# Required-Stop: $network $remote_fs
++# Should-Start: ceph
++# Should-Stop: ceph
++# X-Start-Before: $x-display-manager
+ # Default-Start: 2 3 4 5
+ # Default-Stop: 0 1 6
+ # Short-Description: Ceph RBD Mapping
+ # Description: Ceph RBD Mapping
diff --git a/debian/patches/series b/debian/patches/series
index d2cba7d..f6d3344 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,6 +4,7 @@ fix-defaultweight.patch
gcj.patch
init-osd.patch
init.patch
+init-lsb.patch
logrotate.patch
modules.patch
virtualenv-never-download.patch
--
Alioth's hooks/post-receive on /srv/git.debian.org/git/pkg-ceph/ceph.git
More information about the Pkg-ceph-commits
mailing list