mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
systemd: stop lvm2-pvscan@.service before lvm2-lvmetad.service
When lvm2-pvscan@.service and lvm2-lvmetad.service are scheduled to be stopped lvm2-pvscan@.service should be stopped first since pvscan uses lvmetad. This is especially important if lvm2-lvmetad.socket is also scheduled to be stopped as in this case connection requests are suppressed causing pvscan to fail.
This commit is contained in:
parent
139df7c4a3
commit
666738d57a
@ -4,7 +4,7 @@ Documentation=man:pvscan(8)
|
||||
DefaultDependencies=no
|
||||
BindsTo=dev-block-%i.device
|
||||
Requires=lvm2-lvmetad.socket
|
||||
After=lvm2-lvmetad.socket
|
||||
After=lvm2-lvmetad.socket lvm2-lvmetad.service
|
||||
Before=shutdown.target
|
||||
Conflicts=shutdown.target
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user