From: Benjamin Marzinski Subject: [PATCH V3 12/18] multipath: make multipathd work with new dm/lvm Date: Sat, 12 Jan 2013 00:04:49 -0600 Message-ID: <1357970695-3396-12-git-send-email-bmarzins@redhat.com> References: <1357970695-3396-1-git-send-email-bmarzins@redhat.com> Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1357970695-3396-1-git-send-email-bmarzins@redhat.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: device-mapper development Cc: Christophe Varoqui List-Id: dm-devel.ids 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 Signed-off-by: Benjamin Marzinski --- multipathd/multipathd.service | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/multipathd/multipathd.service b/multipathd/multipathd.service index 38189c5..d6da067 100644 --- a/multipathd/multipathd.service +++ b/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 -- 1.8.0