]> git.pld-linux.org Git - packages/systemd.git/commitdiff
Release: 12. Using vgscan --cache on startup. auto/th/systemd-221-12
authorMateusz Korniak <matkor@pld-linux.org>
Tue, 26 Jan 2016 11:29:48 +0000 (12:29 +0100)
committerMateusz Korniak <matkor@pld-linux.org>
Tue, 26 Jan 2016 11:29:48 +0000 (12:29 +0100)
pld-storage-init.sh
systemd.spec

index c15372732d1a321c4c0fa3939d26bcdc53db934d..7673c5933fe9b4a6f3b850ae99186ae7f6df2f12 100644 (file)
@@ -31,7 +31,9 @@ fi
 
 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
index c4622079e98adc8ba58feddf29cefe8e8d52c4d3..3bc27ee641acc7e644e8663d03e3c9f84ab16751 100644 (file)
@@ -28,7 +28,7 @@ Summary(pl.UTF-8):    systemd - zarządca systemu i usług dla Linuksa
 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
@@ -223,6 +223,8 @@ Conflicts:  libgpod < 0.8.0-6
 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
This page took 0.22638 seconds and 4 git commands to generate.