1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-17 06:04:23 +03:00

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.
This commit is contained in:
Peter Rajnoha 2014-04-30 14:52:10 +02:00
parent 4e559103d5
commit 81b096af34

View File

@ -8,4 +8,4 @@ ListenStream=@DEFAULT_RUN_DIR@/lvmetad.socket
SocketMode=0600
[Install]
WantedBy=sockets.target
WantedBy=sysinit.target