[Debian-ha-commits] [pacemaker] 05/05: Resolve init.d-script-missing-dependency-on-remote_fs

Richard Winters devrik-guest at moszumanska.debian.org
Wed Apr 29 08:25:32 UTC 2015


This is an automated email from the git hooks/post-receive script.

devrik-guest pushed a commit to branch master
in repository pacemaker.

commit 810dd92d51d2368b994bf648cc0b0f0d437505bc
Author: Richard B Winters <rik at mmogp.com>
Date:   Wed Apr 29 04:08:29 2015 -0400

    Resolve init.d-script-missing-dependency-on-remote_fs
    
     - After patch 6; Re-enable-Default-Start-Stop.patch, lintian
       reports an error as it finds the string '/usr' in the script
       and suggests that we must depend on $remote_fs to ensure the
       file system is ready and mounted prior to starting pacemaker
    
    Change-Id: Iac48adf837ec6318e55d2ba2e35f574348dc7a38
    Signed-off-by: Richard B Winters <rik at mmogp.com>
---
 ...it-script-missing-dependency-on-remote_fs.patch | 30 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 31 insertions(+)

diff --git a/debian/patches/0008-Fix-init-script-missing-dependency-on-remote_fs.patch b/debian/patches/0008-Fix-init-script-missing-dependency-on-remote_fs.patch
new file mode 100644
index 0000000..c7d1288
--- /dev/null
+++ b/debian/patches/0008-Fix-init-script-missing-dependency-on-remote_fs.patch
@@ -0,0 +1,30 @@
+From: Richard B Winters <rik at mmogp.com>
+Date: Wed, 29 Apr 2015 04:06:06 -0400
+Subject: Fix init script missing dependency on remote_fs
+
+lintian error reported after re-enabling Default Start-Stop:
+
+ - init.d-script-missing-dependency-on-remote_fs
+
+Change-Id: Icef9ba6a1360be8467fa83a1fec8c396cd0a2a44
+Signed-off-by: Richard B Winters <rik at mmogp.com>
+---
+ mcp/pacemaker.in | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/mcp/pacemaker.in b/mcp/pacemaker.in
+index f1ab23e..1b65baa 100644
+--- a/mcp/pacemaker.in
++++ b/mcp/pacemaker.in
+@@ -12,9 +12,9 @@
+ #
+ ### BEGIN INIT INFO
+ # Provides:		pacemaker
+-# Required-Start:	$network corosync
++# Required-Start:	$remote_fs $network corosync
+ # Should-Start:		$syslog
+-# Required-Stop:	$network corosync
++# Required-Stop:	$remote_fs $network corosync
+ # Default-Start:  2 3 4 5
+ # Default-Stop:   0 1 6
+ # Short-Description:	Starts and stops Pacemaker Cluster Manager.
diff --git a/debian/patches/series b/debian/patches/series
index 1d4a58c..551d75b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@
 0005-Fix-stonith-ng-Reset-mainloop-source-IDs.patch
 0006-Re-enable-Default-Start-Stop.patch
 0007-Fix-acl-Do-not-delay-evaluation-of-added-nodes.patch
+0008-Fix-init-script-missing-dependency-on-remote_fs.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-ha/pacemaker.git



More information about the Debian-HA-Commits mailing list