Skip to contentSkip to conversation

multipath-tools: disable the systemd service start automatically

PATCH New Yi Zhao 1 participant 1 message Aug 21, 2018

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/1 multipath-tools: disable the systemd service start automatically

We don't offer /etc/multpath.conf but an example configure file /etc/multipath.conf.example. When the servcie start by default, it will get the error: /etc/multipath.conf was not met
So disable the service by default.

---
 meta-oe/recipes-support/multipath-tools/multipath-tools_0.7.7.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-support/multipath-tools/multipath-tools_0.7.7.bb +2 -1
index 213ce15..5cc1546 100644
@@ -63,7 +63,7 @@ SRC_URI = "git://git.opensvc.com/multipath-tools/.git;protocol=http \
            file://0030-Always-use-devmapper.patch \
            file://0031-Always-use-devmapper-for-kpartx.patch \
            "
-          
+
 LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2"
 
 SRCREV = "386d288b5595fc2c01dffe698b6eb306c6674908"
@@ -73,6 +73,7 @@ S = "${WORKDIR}/git"
 inherit systemd pkgconfig
 
 SYSTEMD_SERVICE_${PN} = "multipathd.service"
+SYSTEMD_AUTO_ENABLE = "disable"
 
 TARGET_CC_ARCH += "${LDFLAGS}"
 
Signature · 1 line
2.7.4