]> git.ipfire.org Git - thirdparty/dracut.git/commit
lvm: do not run pvscan for lvmetad update
authorPeter Rajnoha <prajnoha@redhat.com>
Mon, 25 Nov 2013 13:38:00 +0000 (14:38 +0100)
committerHarald Hoyer <harald@redhat.com>
Tue, 3 Dec 2013 15:20:25 +0000 (16:20 +0100)
commit297b8edc050715d563d54cfa34e42bf5909b9a7b
tree328b4be1fddb4ae4a659b5ca04ac1ef893a550d6
parent28609baf6e9581ea97c4550340e2a6031c1b6fbd
lvm: do not run pvscan for lvmetad update

The lvmetad daemon is not yet running in initramfs so there's no
need to run pvscan (or instantiate any lvm2-pvscan systemd service).
If pvscan was called in this case (either directly or via systemd
instantiated service), it would fail because there's no lvmetad
daemon to update. This could cause confusion, especially in systemd
instantiated service which is run only once!
modules.d/90lvm/module-setup.sh