summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/multipath-tools
diff options
context:
space:
mode:
authorLi xin <lixin.fnst@cn.fujitsu.com>2015-07-07 10:51:38 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2015-07-30 21:24:30 +0200
commit7db2e2097a2b724612f13d8762446ddd68484d1e (patch)
tree3ae06bd1128c133ef8ffb8005484451882710d8a /meta-oe/recipes-support/multipath-tools
parent0ba845e49d1dc4da87acd2fd942680f2179b982f (diff)
downloadmeta-openembedded-7db2e2097a2b724612f13d8762446ddd68484d1e.tar.gz
multipath-tools: bug fix
Modify multipathd.service,otherwise it can't be started successfully. Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/multipath-tools')
-rw-r--r--meta-oe/recipes-support/multipath-tools/files/0001-multipathd.service-Error-fix.patch36
-rw-r--r--meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb1
2 files changed, 37 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/multipath-tools/files/0001-multipathd.service-Error-fix.patch b/meta-oe/recipes-support/multipath-tools/files/0001-multipathd.service-Error-fix.patch
new file mode 100644
index 000000000..1e48e1c5f
--- /dev/null
+++ b/meta-oe/recipes-support/multipath-tools/files/0001-multipathd.service-Error-fix.patch
@@ -0,0 +1,36 @@
1From 74ff5e1cf8ef83dabcf6e6b92f87d6761f7f4d51 Mon Sep 17 00:00:00 2001
2From: Li xin <lixin.fnst@cn.fujitsu.com>
3Date: Tue, 7 Jul 2015 11:34:36 +0900
4Subject: [PATCH] multipathd.service: Error fix
5
6Failed to start Device-Mapper Multipath Device Controller.
7
8Upstream-Status: pending
9
10Signed-off-by: Li Xin <lixin.fnst@cn.fujitsu.com>
11---
12 multipathd/multipathd.service | 5 +++--
13 1 file changed, 3 insertions(+), 2 deletions(-)
14
15diff --git a/multipathd/multipathd.service b/multipathd/multipathd.service
16index be3ba3f..b8d3ecd 100644
17--- a/multipathd/multipathd.service
18+++ b/multipathd/multipathd.service
19@@ -6,11 +6,12 @@ DefaultDependencies=no
20 Conflicts=shutdown.target
21
22 [Service]
23-Type=notify
24+Type=forking
25 NotifyAccess=main
26 LimitCORE=infinity
27+PIDFile=/var/run/multipathd.pid
28 ExecStartPre=/sbin/modprobe dm-multipath
29-ExecStart=/sbin/multipathd -d -s
30+ExecStart=/sbin/multipathd
31 ExecReload=/sbin/multipathd reconfigure
32
33 [Install]
34--
351.8.4.2
36
diff --git a/meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb b/meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb
index a3f20bcfb..37b5fef6f 100644
--- a/meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb
+++ b/meta-oe/recipes-support/multipath-tools/multipath-tools_git.bb
@@ -10,6 +10,7 @@ SRC_URI = "git://git.opensvc.com/multipath-tools/.git;protocol=http \
10 file://always-use-libdevmapper.patch \ 10 file://always-use-libdevmapper.patch \
11 file://always-use-libdevmapper-kpartx.patch \ 11 file://always-use-libdevmapper-kpartx.patch \
12 file://do-not-link-libmpathpersist-to-TMPDIR.patch \ 12 file://do-not-link-libmpathpersist-to-TMPDIR.patch \
13 file://0001-multipathd.service-Error-fix.patch \
13 " 14 "
14# 0.5.0 15# 0.5.0
15# 16#