From 1d42de54469e3f368dc3a2b170afa7b7a8019124 Mon Sep 17 00:00:00 2001 From: Dmitry Smirnov Date: Thu, 3 Apr 2014 01:23:19 +1100 Subject: [PATCH] init.d: correcting rbdmap 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). --- src/init-rbdmap | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/init-rbdmap b/src/init-rbdmap index 5486379f0a42..a6f47b36229d 100755 --- a/src/init-rbdmap +++ b/src/init-rbdmap @@ -7,8 +7,11 @@ ### 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 -- 2.47.3