From b627165a754f90ba487efd20437a34697426c41b Mon Sep 17 00:00:00 2001 From: Peter Rajnoha Date: Wed, 1 Feb 2012 13:08:39 +0000 Subject: [PATCH] Clean up systemd unit ordering and requirements. --- WHATS_NEW | 1 + scripts/dm_event_systemd_red_hat.service.in | 3 ++- scripts/lvm2_monitoring_systemd_red_hat.service.in | 3 +-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/WHATS_NEW b/WHATS_NEW index 8b61fa3b1..dc31ad18e 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.90 - =================================== + Clean up systemd unit ordering and requirements. Fix lcov reports when srcdir != builddir. Allow ALLOC_NORMAL to track reserved extents for log and data on same PV. Automatically detect whether corosync clvmd needs to use confdb or cmap. diff --git a/scripts/dm_event_systemd_red_hat.service.in b/scripts/dm_event_systemd_red_hat.service.in index 4669ab809..dc83c6d8d 100644 --- a/scripts/dm_event_systemd_red_hat.service.in +++ b/scripts/dm_event_systemd_red_hat.service.in @@ -1,6 +1,7 @@ [Unit] Description=Device-mapper event daemon -After=fedora-storage-init.service fedora-storage-init-late.service +Requires=dm-event.socket +After=dm-event.socket Before=local-fs.target DefaultDependencies=no diff --git a/scripts/lvm2_monitoring_systemd_red_hat.service.in b/scripts/lvm2_monitoring_systemd_red_hat.service.in index b5dd9bb4e..e93414d26 100644 --- a/scripts/lvm2_monitoring_systemd_red_hat.service.in +++ b/scripts/lvm2_monitoring_systemd_red_hat.service.in @@ -1,7 +1,7 @@ [Unit] Description=Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling Requires=dm-event.socket -After=fedora-storage-init.service fedora-storage-init-late.service +After=dm-event.socket fedora-storage-init.service fedora-storage-init-late.service Before=local-fs.target DefaultDependencies=no Conflicts=shutdown.target @@ -15,4 +15,3 @@ RemainAfterExit=yes [Install] WantedBy=sysinit.target -Also=dm-event.socket