All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2] multipath: make multipathd work with new dm/lvm systemd activation method
@ 2013-01-10 20:51 Benjamin Marzinski
  0 siblings, 0 replies; only message in thread
From: Benjamin Marzinski @ 2013-01-10 20:51 UTC (permalink / raw)
  To: device-mapper development; +Cc: Christophe Varoqui

multipathd needs to get setup before lvm (lvm2-activation-early.service).
To do this, it needs to get started in sysinit.target like the other
dm services.

Signed-off-by: Peter Rajnoha <prajnoha@redhat.com>
Signed-off-by: Benjamin Marzinski <bmarzins@redhat.com>
---
 multipathd/multipathd.service |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Index: multipath-tools-120821/multipathd/multipathd.service
===================================================================
--- multipath-tools-120821.orig/multipathd/multipathd.service
+++ multipath-tools-120821/multipathd/multipathd.service
@@ -1,7 +1,9 @@
 [Unit]
 Description=Device-Mapper Multipath Device Controller
-Before=iscsi.service iscsid.service
+Before=iscsi.service iscsid.service lvm2-activation-early.service
 After=syslog.target
+DefaultDependencies=no
+Conflicts=shutdown.target
 
 [Service]
 Type=forking
@@ -11,4 +13,4 @@ ExecReload=/sbin/multipathd reconfigure
 #ExecStop=/path/to/scrip delete-me if not necessary
 
 [Install]
-WantedBy=multi-user.target
+WantedBy=sysinit.target

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-01-10 20:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-10 20:51 [PATCH v2] multipath: make multipathd work with new dm/lvm systemd activation method Benjamin Marzinski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.