Gitweb:
https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=03d6cfdd99fb1c2fd85...
Commit: 03d6cfdd99fb1c2fd85721ab6faebbb1b6658873
Parent: 6064b9f1b283c63cc3710555a04d2df0c6357cb0
Author: Peter Rajnoha <prajnoha(a)redhat.com>
AuthorDate: Thu Apr 11 12:22:27 2019 +0200
Committer: Peter Rajnoha <prajnoha(a)redhat.com>
CommitterDate: Thu Apr 11 12:25:45 2019 +0200
systemd: put back DefaultDependencies=no for lvmpolld and lvmetad socket unit
Previous commit 0a726a7e268b31856615491809af73bda5d4d6f9 removed this
by mistake - we have to keep the DefaultDependencies=no - the
sockets.target is after sysinit.target.
---
scripts/lvm2_lvmetad_systemd_red_hat.socket.in | 2 ++
scripts/lvm2_lvmpolld_systemd_red_hat.socket.in | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/scripts/lvm2_lvmetad_systemd_red_hat.socket.in
b/scripts/lvm2_lvmetad_systemd_red_hat.socket.in
index 3201537..2663c72 100644
--- a/scripts/lvm2_lvmetad_systemd_red_hat.socket.in
+++ b/scripts/lvm2_lvmetad_systemd_red_hat.socket.in
@@ -1,6 +1,8 @@
[Unit]
Description=LVM2 metadata daemon socket
Documentation=man:lvmetad(8)
+DefaultDependencies=no
+Conflicts=shutdown.target
[Socket]
ListenStream=@DEFAULT_RUN_DIR(a)/lvmetad.socket
diff --git a/scripts/lvm2_lvmpolld_systemd_red_hat.socket.in
b/scripts/lvm2_lvmpolld_systemd_red_hat.socket.in
index 743669e..0537d7f 100644
--- a/scripts/lvm2_lvmpolld_systemd_red_hat.socket.in
+++ b/scripts/lvm2_lvmpolld_systemd_red_hat.socket.in
@@ -1,6 +1,8 @@
[Unit]
Description=LVM2 poll daemon socket
Documentation=man:lvmpolld(8)
+DefaultDependencies=no
+Conflicts=shutdown.target
[Socket]
ListenStream=@DEFAULT_RUN_DIR(a)/lvmpolld.socket