Accepting request 336706 from Base:System
1 OBS-URL: https://build.opensuse.org/request/show/336706 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dracut?expand=0&rev=79
This commit is contained in:
commit
8439a968a7
34
0184-fix_lvm_wc_warning.patch
Normal file
34
0184-fix_lvm_wc_warning.patch
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
From d4b93a092db1105a29a3f768d1d49ece8b90547a Mon Sep 17 00:00:00 2001
|
||||||
|
From: Fabian Deutsch <fabiand@fedoraproject.org>
|
||||||
|
Date: Thu, 25 Jun 2015 11:17:59 +0200
|
||||||
|
Subject: [PATCH] Revert "lvm: Don't activate LVs with activationskip
|
||||||
|
set"
|
||||||
|
|
||||||
|
This reverts commit cfa365a32d47388c8476064b23d7d4684f1e591b.
|
||||||
|
|
||||||
|
The logic in commit cfa365a was added to prevent (odl) lvms from
|
||||||
|
activating snapshots which should not be activated.
|
||||||
|
Newer lvms however do this automatically (not enabling an LV if the
|
||||||
|
the 'k' attribute set), thus we can revert the previous commit.
|
||||||
|
---
|
||||||
|
modules.d/90lvm/lvm_scan.sh | 4 ----
|
||||||
|
1 file changed, 4 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/modules.d/90lvm/lvm_scan.sh b/modules.d/90lvm/lvm_scan.sh
|
||||||
|
index ce46e14..7495644 100755
|
||||||
|
--- a/modules.d/90lvm/lvm_scan.sh
|
||||||
|
+++ b/modules.d/90lvm/lvm_scan.sh
|
||||||
|
@@ -106,10 +106,6 @@ if [ -n "$LVS" ] ; then
|
||||||
|
info "Scanning devices $lvmdevs for LVM logical volumes $LVS"
|
||||||
|
lvm lvscan --ignorelockingfailure 2>&1 | vinfo
|
||||||
|
for LV in $LVS; do
|
||||||
|
- if [ "x$(lvm lvs --noheadings --select "lv_attr =~ k" $LV | wc -l)" = "x0" ]; then
|
||||||
|
- info "Skipping activation of '$LV' because activationskip is set."
|
||||||
|
- continue
|
||||||
|
- fi
|
||||||
|
if [ -z "$sysinit" ]; then
|
||||||
|
lvm lvchange --yes -ay --ignorelockingfailure $nopoll --ignoremonitoring $LV 2>&1 | vinfo
|
||||||
|
else
|
||||||
|
--
|
||||||
|
2.6.0
|
||||||
|
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 6 10:28:35 UTC 2015 - fvogt@suse.com
|
||||||
|
|
||||||
|
- Add patch 0184-fix_lvm_wc_warning.patch:
|
||||||
|
- Upstream commit 08eca6 to get rid of missing wc warning
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Oct 1 12:44:28 UTC 2015 - fvogt@suse.com
|
Thu Oct 1 12:44:28 UTC 2015 - fvogt@suse.com
|
||||||
|
|
||||||
|
@ -105,6 +105,7 @@ Patch180: 0180-i18n_add_correct_fontmaps.patch
|
|||||||
Patch181: 0181-no_systemd_cryptsetup.patch
|
Patch181: 0181-no_systemd_cryptsetup.patch
|
||||||
Patch182: 0182-fix-include-parsing.patch
|
Patch182: 0182-fix-include-parsing.patch
|
||||||
Patch183: 0183-fix_add_drivers_hang.patch
|
Patch183: 0183-fix_add_drivers_hang.patch
|
||||||
|
Patch184: 0184-fix_lvm_wc_warning.patch
|
||||||
|
|
||||||
# Still needed
|
# Still needed
|
||||||
Patch133: 0133-Allow-multiple-configurations-per-network-interface-.patch
|
Patch133: 0133-Allow-multiple-configurations-per-network-interface-.patch
|
||||||
@ -250,6 +251,7 @@ and its cryptography during startup.
|
|||||||
#patch181 -p1
|
#patch181 -p1
|
||||||
%patch182 -p1
|
%patch182 -p1
|
||||||
%patch183 -p1
|
%patch183 -p1
|
||||||
|
%patch184 -p1
|
||||||
|
|
||||||
%patch200 -p1
|
%patch200 -p1
|
||||||
%patch201 -p1
|
%patch201 -p1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user