Hello community, here is the log from the commit of package lvm2 for openSUSE:Factory checked in at 2018-08-28 09:23:45 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/lvm2 (Old) and /work/SRC/openSUSE:Factory/.lvm2.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "lvm2" Tue Aug 28 09:23:45 2018 rev:119 rq:631017 version:2.02.180 Changes: -------- --- /work/SRC/openSUSE:Factory/lvm2/device-mapper.changes 2018-07-28 12:36:29.123974419 +0200 +++ /work/SRC/openSUSE:Factory/.lvm2.new/device-mapper.changes 2018-08-28 09:23:48.476708840 +0200 @@ -1,0 +2,33 @@ +Mon Jul 23 11:45:20 UTC 2018 - g...@suse.com + +- Update to LVM2.2.02.180 + Never send any discard ioctl with test mode. + Fix thin-pool alloc which needs same PV for data and metadata. + Extend list of non-memlocked areas with newly linked libs. + Enhance vgcfgrestore to check for active LVs in restored VG. + lvconvert: provide possible layouts between linear and striped/raid + Fix unmonitoring of merging snapshots. + Add missing -l description in fsadm man page. + Cache can uses metadata format 2 with cleaner policy. + Avoid showing internal error in lvs output or pvmoved LVs. + Fix check if resized PV can also fit metadata area. + Reopen devices RDWR only before writing to avoid udev issues. + Change pvresize output confusing when no resize took place. + Fix lvmetad hanging on shutdown. + Fix mem leak in clvmd and more coverity issues. + Fix that pvmove does not work (bsc#1080299) +- Drop patches that have been merged upstream + - fate-323203_lvmlockd-add-lockopt-values-for-skipping-selected-lo.patch + - lvm2-69-dm-lvm-metad.rules-explicit-pvscan-rule.patch + - lvm2-69-dm-lvm-metad.rules-set-systemd-vars-on-chang.patch + - bug-1095960_dev_io-no-discard-in-testmode.patch +- Refresh patches + + bsc1080299-detect-clvm-properly.patch + + bug-950089_test-fix-lvm2-testsuite-build-error.patch +- Update spec files + Fix BuildRequires package name for modprobe (bsc#1102668) + Fix cmirrord LV creation/activation failure (bsc#1091863) +- Fix building error in OBS due to the script interpreter + + tests-specify-python3-as-the-script-interpreter.patch + +------------------------------------------------------------------- lvm2-clvm.changes: same change lvm2.changes: same change Old: ---- LVM2.2.02.177.tgz LVM2.2.02.177.tgz.asc bug-1095960_dev_io-no-discard-in-testmode.patch fate-323203_lvmlockd-add-lockopt-values-for-skipping-selected-lo.patch lvm2-69-dm-lvm-metad.rules-explicit-pvscan-rule.patch lvm2-69-dm-lvm-metad.rules-set-systemd-vars-on-chang.patch New: ---- LVM2.2.02.180.tgz LVM2.2.02.180.tgz.asc tests-specify-python3-as-the-script-interpreter.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ device-mapper.spec ++++++ --- /var/tmp/diff_new_pack.Bl5vGL/_old 2018-08-28 09:23:49.144710924 +0200 +++ /var/tmp/diff_new_pack.Bl5vGL/_new 2018-08-28 09:23:49.144710924 +0200 @@ -19,8 +19,8 @@ %define libname libdevmapper1_03 %define libname_event libdevmapper-event1_03 ### COMMON-DEF-BEGIN ### -%define lvm2_version 2.02.177 -%define device_mapper_version 1.02.146 +%define lvm2_version 2.02.180 +%define device_mapper_version 1.02.149 %define thin_provisioning_version 0.7.0 ### COMMON-DEF-END ### Name: device-mapper @@ -33,7 +33,10 @@ Source: ftp://sources.redhat.com/pub/lvm2/LVM2.%{lvm2_version}.tgz Source1: ftp://sources.redhat.com/pub/lvm2/LVM2.%{lvm2_version}.tgz.asc Source99: baselibs.conf +# To detect modprobe during build BuildRequires: gcc-c++ +BuildRequires: kmod-compat +BuildRequires: libaio-devel BuildRequires: pkgconfig BuildRequires: suse-module-tools BuildRequires: thin-provisioning-tools >= %{thin_provisioning_version} @@ -47,8 +50,6 @@ %{?systemd_requires} ### COMMON-PATCH-BEGIN ### # Upstream patches -Patch0001: fate-323203_lvmlockd-add-lockopt-values-for-skipping-selected-lo.patch -Patch0002: bug-1095960_dev_io-no-discard-in-testmode.patch # SUSE patches: 1000+ for LVM # Never upstream @@ -60,8 +61,6 @@ #SUSE patches 2000+ for device mapper, udev rules Patch2001: bug-1012973_simplify-special-case-for-md-in-69-dm-lvm-metadata.patch -Patch2002: lvm2-69-dm-lvm-metad.rules-explicit-pvscan-rule.patch -Patch2003: lvm2-69-dm-lvm-metad.rules-set-systemd-vars-on-chang.patch ### COMMON-PATCH-END ### %description @@ -71,15 +70,11 @@ %setup -q -n LVM2.%{lvm2_version} ### COMMON-PREP-BEGIN ### %patch1001 -p1 -%patch0001 -p1 -%patch0002 -p1 %patch1002 -p1 %patch1003 -p1 %patch1004 -p1 %patch1005 -p1 %patch2001 -p1 -%patch2002 -p1 -%patch2003 -p1 ### COMMON-PREP-END ### %build ++++++ lvm2-clvm.spec ++++++ --- /var/tmp/diff_new_pack.Bl5vGL/_old 2018-08-28 09:23:49.164710986 +0200 +++ /var/tmp/diff_new_pack.Bl5vGL/_new 2018-08-28 09:23:49.164710986 +0200 @@ -19,8 +19,8 @@ %define dlm_version 3.99.1 %define sanlock_version 3.3.0 ### COMMON-DEF-BEGIN ### -%define lvm2_version 2.02.177 -%define device_mapper_version 1.02.146 +%define lvm2_version 2.02.180 +%define device_mapper_version 1.02.149 %define thin_provisioning_version 0.7.0 ### COMMON-DEF-END ### Name: lvm2-clvm @@ -32,6 +32,9 @@ Url: http://sources.redhat.com/cluster/clvm/ Source: ftp://sources.redhat.com/pub/lvm2/LVM2.%{lvm2_version}.tgz Source1: ftp://sources.redhat.com/pub/lvm2/LVM2.%{lvm2_version}.tgz.asc +# To detect modprobe during build +BuildRequires: kmod-compat +BuildRequires: libaio-devel BuildRequires: libcorosync-devel BuildRequires: libdlm-devel >= %{dlm_version} BuildRequires: pkgconfig @@ -48,8 +51,6 @@ Provides: cmirrord = %{version} ### COMMON-PATCH-BEGIN ### # Upstream patches -Patch0001: fate-323203_lvmlockd-add-lockopt-values-for-skipping-selected-lo.patch -Patch0002: bug-1095960_dev_io-no-discard-in-testmode.patch # SUSE patches: 1000+ for LVM # Never upstream @@ -61,8 +62,6 @@ #SUSE patches 2000+ for device mapper, udev rules Patch2001: bug-1012973_simplify-special-case-for-md-in-69-dm-lvm-metadata.patch -Patch2002: lvm2-69-dm-lvm-metad.rules-explicit-pvscan-rule.patch -Patch2003: lvm2-69-dm-lvm-metad.rules-set-systemd-vars-on-chang.patch ### COMMON-PATCH-END ### # Patches for clvmd and cmirrord @@ -76,15 +75,11 @@ ### COMMON-PREP-BEGIN ### %patch1001 -p1 -%patch0001 -p1 -%patch0002 -p1 %patch1002 -p1 %patch1003 -p1 %patch1004 -p1 %patch1005 -p1 %patch2001 -p1 -%patch2002 -p1 -%patch2003 -p1 ### COMMON-PREP-END ### %patch3001 -p1 ++++++ lvm2.spec ++++++ --- /var/tmp/diff_new_pack.Bl5vGL/_old 2018-08-28 09:23:49.180711036 +0200 +++ /var/tmp/diff_new_pack.Bl5vGL/_new 2018-08-28 09:23:49.180711036 +0200 @@ -16,13 +16,14 @@ # +%define _unpackaged_files_terminate_build 0 %define _udevdir %(pkg-config --variable=udevdir udev) %define applib liblvm2app2_2 %define cmdlib liblvm2cmd2_02 ### COMMON-DEF-BEGIN ### -%define lvm2_version 2.02.177 -%define device_mapper_version 1.02.146 +%define lvm2_version 2.02.180 +%define device_mapper_version 1.02.149 %define thin_provisioning_version 0.7.0 ### COMMON-DEF-END ### @@ -38,9 +39,10 @@ Source42: ftp://sources.redhat.com/pub/lvm2/LVM2.%{version}.tgz.asc BuildRequires: gcc-c++ BuildRequires: libaio-devel +BuildRequires: libcorosync-devel BuildRequires: libselinux-devel # To detect modprobe during build -BuildRequires: modutils +BuildRequires: kmod-compat BuildRequires: pkgconfig BuildRequires: readline-devel BuildRequires: thin-provisioning-tools >= %{thin_provisioning_version} @@ -58,8 +60,6 @@ ### COMMON-PATCH-BEGIN ### # Upstream patches -Patch0001: fate-323203_lvmlockd-add-lockopt-values-for-skipping-selected-lo.patch -Patch0002: bug-1095960_dev_io-no-discard-in-testmode.patch # SUSE patches: 1000+ for LVM # Never upstream @@ -71,14 +71,13 @@ #SUSE patches 2000+ for device mapper, udev rules Patch2001: bug-1012973_simplify-special-case-for-md-in-69-dm-lvm-metadata.patch -Patch2002: lvm2-69-dm-lvm-metad.rules-explicit-pvscan-rule.patch -Patch2003: lvm2-69-dm-lvm-metad.rules-set-systemd-vars-on-chang.patch ### COMMON-PATCH-END ### # 3000+ for test code Patch3001: bug-950089_test-fix-lvm2-testsuite-build-error.patch Patch3002: bug-1043040_test-fix-read-ahead-issues-in-test-scripts.patch Patch3003: bug-1072624_test-lvmetad_dump-always-timed-out-when-using-nc.patch +Patch3004: tests-specify-python3-as-the-script-interpreter.patch # patches specif for lvm2.spec Patch4001: bug-1037309_Makefile-skip-compliling-daemons-lvmlockd-directory.patch @@ -91,20 +90,17 @@ %setup -q -n LVM2.%{version} ### COMMON-PREP-BEGIN ### %patch1001 -p1 -%patch0001 -p1 -%patch0002 -p1 %patch1002 -p1 %patch1003 -p1 %patch1004 -p1 %patch1005 -p1 %patch2001 -p1 -%patch2002 -p1 -%patch2003 -p1 ### COMMON-PREP-END ### %patch3001 -p1 %patch3002 -p1 %patch3003 -p1 +%patch3004 -p1 %patch4001 -p1 %build @@ -119,6 +115,7 @@ --with-default-locking-dir=/run/lock/lvm --with-default-pid-dir=/run --with-default-run-dir=/run/lvm + --enable-cmirrord " ### COMMON-CONFIG-BEGIN ### ++++++ LVM2.2.02.177.tgz -> LVM2.2.02.180.tgz ++++++ ++++ 53788 lines of diff (skipped) ++++++ bsc1080299-detect-clvm-properly.patch ++++++ --- /var/tmp/diff_new_pack.Bl5vGL/_old 2018-08-28 09:23:49.640712472 +0200 +++ /var/tmp/diff_new_pack.Bl5vGL/_new 2018-08-28 09:23:49.640712472 +0200 @@ -1,7 +1,7 @@ -Index: LVM2.2.02.177/configure +Index: LVM2.2.02.178/configure =================================================================== ---- LVM2.2.02.177.orig/configure -+++ LVM2.2.02.177/configure +--- LVM2.2.02.178.orig/configure ++++ LVM2.2.02.178/configure @@ -10888,8 +10888,6 @@ if [ `expr x"$CLVMD" : '.*corosync.*'` ! fi @@ -20,10 +20,10 @@ ################################################################################ { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build cluster mirror log daemon" >&5 $as_echo_n "checking whether to build cluster mirror log daemon... " >&6; } -Index: LVM2.2.02.177/configure.in +Index: LVM2.2.02.178/configure.ac =================================================================== ---- LVM2.2.02.177.orig/configure.in -+++ LVM2.2.02.177/configure.in +--- LVM2.2.02.178.orig/configure.ac ++++ LVM2.2.02.178/configure.ac @@ -959,7 +959,6 @@ fi ################################################################################ ++++++ bug-950089_test-fix-lvm2-testsuite-build-error.patch ++++++ --- /var/tmp/diff_new_pack.Bl5vGL/_old 2018-08-28 09:23:49.660712534 +0200 +++ /var/tmp/diff_new_pack.Bl5vGL/_new 2018-08-28 09:23:49.660712534 +0200 @@ -26,14 +26,14 @@ --- a/test/Makefile.in +++ b/test/Makefile.in @@ -224,7 +224,7 @@ install: .tests-stamp lib/paths-installed - $(INSTALL_DATA) shell/*.sh $(DATADIR)/shell $(INSTALL_DATA) api/*.sh $(DATADIR)/api + $(INSTALL_DATA) unit/*.sh $(DATADIR)/unit $(INSTALL_DATA) lib/mke2fs.conf $(DATADIR)/lib - $(INSTALL_PROGRAM) api/*.{t,py} $(DATADIR)/api + $(INSTALL_PROGRAM) api/*.py $(DATADIR)/api/ + $(INSTALL_PROGRAM) unit/unit-test $(DATADIR)/unit $(INSTALL_PROGRAM) dbus/*.py $(DATADIR)/dbus/ $(INSTALL_DATA) lib/paths-installed $(DATADIR)/lib/paths - cd lib && $(INSTALL_DATA) \ @@ -244,6 +244,7 @@ install: .tests-stamp lib/paths-installed @cd $(EXECDIR) && for i in $(LIB_LINK_NOT); do \ echo "$(LN_S) -f not $$i"; \ ++++++ tests-specify-python3-as-the-script-interpreter.patch ++++++ >From 3f768d29ceb5427b6e8de4fe35e2c1001409d750 Mon Sep 17 00:00:00 2001 From: Gang He <g...@suse.com> Date: Wed, 20 Jun 2018 14:04:52 +0800 Subject: [PATCH] tests: specify python3 as the script interpreter specify /usr/bin/python3 as the script interpreter in python_lvm_unit.py.in file, otherwise, there will be a building error in OBS. Signed-off-by: Gang He <g...@suse.com> --- test/api/python_lvm_unit.py.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/api/python_lvm_unit.py.in b/test/api/python_lvm_unit.py.in index 78ced7e31..c6a7c9905 100755 --- a/test/api/python_lvm_unit.py.in +++ b/test/api/python_lvm_unit.py.in @@ -1,4 +1,4 @@ -#!@PYTHON@ +#!/usr/bin/python3 # Copyright (C) 2012-2013 Red Hat, Inc. All rights reserved. # -- 2.12.3