diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2014-04-30 14:52:10 +0200 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2014-04-30 14:52:10 +0200 |
commit | 81b096af34283cf91205b0e63f598ca92d625051 (patch) | |
tree | c974c67894e70536d7f3589754ade23a67118ee2 /scripts | |
parent | 4e559103d51e02c0d64d9cf88cee11d762feb65e (diff) | |
download | lvm2-81b096af34283cf91205b0e63f598ca92d625051.tar.gz |
systemd: make sysinit.target to pull in lvm2-lvmetad.socket, not sockets.target
The sysinit.target is ordered even before sockets.target and there
may be situations in which the lvmetad is needed early, for example
in rescue.target to activate some LVs on which mountpoints reside.
Also, like in the case of rescue.target, the sockets.target is not
pulled in (unless some other service pulls it in explicitly).
See also: https://bugzilla.redhat.com/show_bug.cgi?id=1087586#c26
for the summary of the problem.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/lvm2_lvmetad_systemd_red_hat.socket.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/lvm2_lvmetad_systemd_red_hat.socket.in b/scripts/lvm2_lvmetad_systemd_red_hat.socket.in index 9a46f50d9..071fd6412 100644 --- a/scripts/lvm2_lvmetad_systemd_red_hat.socket.in +++ b/scripts/lvm2_lvmetad_systemd_red_hat.socket.in @@ -8,4 +8,4 @@ ListenStream=@DEFAULT_RUN_DIR@/lvmetad.socket SocketMode=0600 [Install] -WantedBy=sockets.target +WantedBy=sysinit.target |