if ! is_no "$LVM2" && [ -x /sbin/lvm ]; then
modprobe -s dm-mod >/dev/null 2>&1
- run_cmd "Scanning for LVM volume groups" /sbin/lvm vgscan --ignorelockingfailure
+ # --cache to initiate direct device scan and update lvmetad appropriately (if running).
+ # See http://lists.pld-linux.org/mailman/pipermail/pld-devel-pl/2016-January/157230.html
+ run_cmd "Scanning for LVM volume groups" /sbin/lvm vgscan --ignorelockingfailure --cache
run_cmd "Activating LVM volume groups" /sbin/lvm vgchange -a y --sysinit
/sbin/lvm vgmknodes --ignorelockingfailure
fi
Name: systemd
# Verify ChangeLog and NEWS when updating (since there are incompatible/breaking changes very often)
Version: 221
-Release: 11
+Release: 12
Epoch: 1
License: GPL v2+ (udev), LGPL v2.1+ (the rest)
Group: Base
Conflicts: libvirt-utils < 0.9.9-4
Conflicts: lighttpd < 1.4.30-5
Conflicts: lirc < 0.9.0-20
+# Needed for vgscan --cache ( perhaps < 2.02.96 would be enough, but not tested)
+Conflicts: lvm2 < 2.02.132
Conflicts: mailman < 5:2.1.14-4
Conflicts: memcached < 1.4.11-2
Conflicts: mpd < 0.16.5-4