mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-22 17:35:59 +03:00
81b096af34
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.
12 lines
206 B
SYSTEMD
12 lines
206 B
SYSTEMD
[Unit]
|
|
Description=LVM2 metadata daemon socket
|
|
Documentation=man:lvmetad(8)
|
|
DefaultDependencies=no
|
|
|
|
[Socket]
|
|
ListenStream=@DEFAULT_RUN_DIR@/lvmetad.socket
|
|
SocketMode=0600
|
|
|
|
[Install]
|
|
WantedBy=sysinit.target
|