]> TLD Linux GIT Repositories - packages/lvm2.git/commitdiff
- updated to 2.03.43 master
authorMarcin Krol <hawk@tld-linux.org>
Sat, 24 Oct 2026 09:20:09 +0000 (11:20 +0200)
committerMarcin Krol <hawk@tld-linux.org>
Sat, 24 Oct 2026 09:20:09 +0000 (11:20 +0200)
device-mapper-dmsetup-export.patch
lvm2-run-dir.patch
lvm2-thin.patch
lvm2-tld_init.patch
lvm2.spec

index 23a44ce673eb566b65fc1c172cd6976c464c6d14..b10ad1ad29b3ff9b0ecfd354ed97aea1682fe658 100644 (file)
@@ -1,7 +1,7 @@
-diff -urNpa LVM2.2.03.23.orig/libdm/dm-tools/dmsetup.c LVM2.2.03.23/libdm/dm-tools/dmsetup.c
---- LVM2.2.03.23.orig/libdm/dm-tools/dmsetup.c 2023-12-03 19:56:43.002779419 +0100
-+++ LVM2.2.03.23/libdm/dm-tools/dmsetup.c      2023-12-03 19:56:52.195888521 +0100
-@@ -2565,6 +2565,116 @@ out:
+diff -ur LVM2.2.03.43.orig/libdm/dm-tools/dmsetup.c LVM2.2.03.43/libdm/dm-tools/dmsetup.c
+--- LVM2.2.03.43.orig/libdm/dm-tools/dmsetup.c 2026-10-24 10:53:58.463670593 +0200
++++ LVM2.2.03.43/libdm/dm-tools/dmsetup.c      2026-10-24 10:54:11.959710534 +0200
+@@ -2597,6 +2597,116 @@
        return r;
  }
  
        return r;
  }
  
@@ -118,7 +118,7 @@ diff -urNpa LVM2.2.03.23.orig/libdm/dm-tools/dmsetup.c LVM2.2.03.23/libdm/dm-too
  /* Show target names and their version numbers */
  static int _targets(CMD_ARGS)
  {
  /* Show target names and their version numbers */
  static int _targets(CMD_ARGS)
  {
-@@ -6286,6 +6396,7 @@ static struct command _dmsetup_commands[
+@@ -6252,6 +6362,7 @@
        {"stats", "<command> [<options>] [<device>...]", 1, -1, 1, 1, _stats},
        {"status", "[<device>...] [--noflush] [--target <target_type>]", 0, -1, 2, 0, _status},
        {"table", "[<device>...] [--concise] [--target <target_type>] [--showkeys]", 0, -1, 2, 0, _status},
        {"stats", "<command> [<options>] [<device>...]", 1, -1, 1, 1, _stats},
        {"status", "[<device>...] [--noflush] [--target <target_type>]", 0, -1, 2, 0, _status},
        {"table", "[<device>...] [--concise] [--target <target_type>] [--showkeys]", 0, -1, 2, 0, _status},
@@ -126,9 +126,9 @@ diff -urNpa LVM2.2.03.23.orig/libdm/dm-tools/dmsetup.c LVM2.2.03.23/libdm/dm-too
        {"wait", "<device> [<event_nr>] [--noflush]", 0, 2, 0, 0, _wait},
        {"mknodes", "[<device>...]", 0, -1, 1, 0, _mknodes},
        {"mangle", "[<device>...]", 0, -1, 1, 0, _mangle},
        {"wait", "<device> [<event_nr>] [--noflush]", 0, 2, 0, 0, _wait},
        {"mknodes", "[<device>...]", 0, -1, 1, 0, _mknodes},
        {"mangle", "[<device>...]", 0, -1, 1, 0, _mangle},
-diff -urNpa LVM2.2.03.23.orig/man/dmsetup.8_main LVM2.2.03.23/man/dmsetup.8_main
---- LVM2.2.03.23.orig/man/dmsetup.8_main       2023-12-03 19:56:43.003779431 +0100
-+++ LVM2.2.03.23/man/dmsetup.8_main    2023-12-03 19:56:52.195888521 +0100
+diff -ur LVM2.2.03.43.orig/man/dmsetup.8_main LVM2.2.03.43/man/dmsetup.8_main
+--- LVM2.2.03.43.orig/man/dmsetup.8_main       2026-10-24 10:53:58.467670605 +0200
++++ LVM2.2.03.43/man/dmsetup.8_main    2026-10-24 10:54:11.959710534 +0200
 @@ -117,6 +117,15 @@
  .CMD_DEPS
  .
 @@ -117,6 +117,15 @@
  .CMD_DEPS
  .
@@ -145,7 +145,7 @@ diff -urNpa LVM2.2.03.23.orig/man/dmsetup.8_main LVM2.2.03.23/man/dmsetup.8_main
  .de CMD_HELP
  .  CMS
  .  BR help " "\c
  .de CMD_HELP
  .  CMS
  .  BR help " "\c
-@@ -718,6 +727,10 @@
+@@ -722,6 +731,10 @@
  \fBdevname\fP (map name for device-mapper devices, equal to blkdevname otherwise).
  .
  .NTP
  \fBdevname\fP (map name for device-mapper devices, equal to blkdevname otherwise).
  .
  .NTP
index 38a955348968934bea60a6ec8ca357b51fc13676..ab9dbe57a2942f5a322ebc095477222ff54a78d3 100644 (file)
@@ -1,7 +1,7 @@
-diff -urNpa LVM2.2.03.23.orig/configure.ac LVM2.2.03.23/configure.ac
---- LVM2.2.03.23.orig/configure.ac     2023-12-03 19:58:08.846798150 +0100
-+++ LVM2.2.03.23/configure.ac  2023-12-03 19:58:22.952965549 +0100
-@@ -724,8 +724,7 @@ AC_ARG_WITH(ocfdir,
+diff -ur LVM2.2.03.43.orig/configure.ac LVM2.2.03.43/configure.ac
+--- LVM2.2.03.43.orig/configure.ac     2026-10-24 10:57:48.528351226 +0200
++++ LVM2.2.03.43/configure.ac  2026-10-24 10:58:01.648390038 +0200
+@@ -742,8 +742,7 @@
  
  ################################################################################
  AC_MSG_CHECKING([for default run directory])
  
  ################################################################################
  AC_MSG_CHECKING([for default run directory])
index a5bcff2d0ee5e2a0a72424daca530b1e81687e8e..91b2869eb34a268f748b59071df8a806d465a998 100644 (file)
@@ -1,6 +1,7 @@
---- LVM2.2.03.19/configure.ac.orig     2023-02-21 15:37:53.000000000 +0100
-+++ LVM2.2.03.19/configure.ac  2023-02-22 10:52:41.267893915 +0100
-@@ -393,7 +393,7 @@
+diff -ur LVM2.2.03.43.orig/configure.ac LVM2.2.03.43/configure.ac
+--- LVM2.2.03.43.orig/configure.ac     2026-10-24 10:59:05.940580233 +0200
++++ LVM2.2.03.43/configure.ac  2026-10-24 10:59:18.840618390 +0200
+@@ -427,7 +427,7 @@
  AC_ARG_ENABLE(thin_check_needs_check,
              AS_HELP_STRING([--disable-thin_check_needs_check],
                             [required if thin_check version is < 0.3.0]),
  AC_ARG_ENABLE(thin_check_needs_check,
              AS_HELP_STRING([--disable-thin_check_needs_check],
                             [required if thin_check version is < 0.3.0]),
@@ -9,7 +10,7 @@
  
  # Test if necessary thin tools are available
  # if not - use plain defaults and warn user
  
  # Test if necessary thin tools are available
  # if not - use plain defaults and warn user
-@@ -421,7 +421,7 @@
+@@ -456,7 +456,7 @@
                        AC_MSG_WARN([$THIN_CHECK_CMD: Old version "$THIN_CHECK_VSN" found])
                        THIN_CHECK_VERSION_WARN="y"
                        THIN_CHECK_NEEDS_CHECK="no"
                        AC_MSG_WARN([$THIN_CHECK_CMD: Old version "$THIN_CHECK_VSN" found])
                        THIN_CHECK_VERSION_WARN="y"
                        THIN_CHECK_NEEDS_CHECK="no"
@@ -18,7 +19,7 @@
        ])
        # Empty value allows user to skip thin dumping
        AS_IF([test "$THIN_DUMP_CMD" = "autodetect"], [
        ])
        # Empty value allows user to skip thin dumping
        AS_IF([test "$THIN_DUMP_CMD" = "autodetect"], [
-@@ -505,7 +505,7 @@
+@@ -540,7 +540,7 @@
  AC_ARG_ENABLE(cache_check_needs_check,
              AS_HELP_STRING([--disable-cache_check_needs_check],
                             [required if cache_check version is < 0.5]),
  AC_ARG_ENABLE(cache_check_needs_check,
              AS_HELP_STRING([--disable-cache_check_needs_check],
                             [required if cache_check version is < 0.5]),
@@ -27,7 +28,7 @@
  
  # Test if necessary cache tools are available
  # if not - use plain defaults and warn user
  
  # Test if necessary cache tools are available
  # if not - use plain defaults and warn user
-@@ -520,7 +520,7 @@
+@@ -555,7 +555,7 @@
                        CACHE_CONFIGURE_WARN="y"
                ])
        ])
                        CACHE_CONFIGURE_WARN="y"
                ])
        ])
@@ -36,7 +37,7 @@
                "$CACHE_CHECK_CMD" -V 2>/dev/null >conftest.tmp
                read -r CACHE_CHECK_VSN < conftest.tmp
                IFS=.- read -r CACHE_CHECK_VSN_MAJOR CACHE_CHECK_VSN_MINOR CACHE_CHECK_VSN_PATCH LEFTOVER < conftest.tmp
                "$CACHE_CHECK_CMD" -V 2>/dev/null >conftest.tmp
                read -r CACHE_CHECK_VSN < conftest.tmp
                IFS=.- read -r CACHE_CHECK_VSN_MAJOR CACHE_CHECK_VSN_MINOR CACHE_CHECK_VSN_PATCH LEFTOVER < conftest.tmp
-@@ -544,7 +544,7 @@
+@@ -580,7 +580,7 @@
                                AC_MSG_WARN([$CACHE_CHECK_CMD: Old version "$CACHE_CHECK_VSN" does not support new cache format V2])
                                CACHE_CHECK_VERSION_WARN="y"
                        ])
                                AC_MSG_WARN([$CACHE_CHECK_CMD: Old version "$CACHE_CHECK_VSN" does not support new cache format V2])
                                CACHE_CHECK_VERSION_WARN="y"
                        ])
index ce89af4280e2daf98cb1a472ba439763d2978961..bc08ab51aaca4bc2c60f13eef57b68da32225a36 100644 (file)
@@ -44,137 +44,6 @@ diff -urNpa LVM2.2.03.23.orig/scripts/blk_availability_init_red_hat.in LVM2.2.03
 +      exit 3
        ;;
  esac
 +      exit 3
        ;;
  esac
-diff -urNpa LVM2.2.03.23.orig/scripts/cmirrord_init_red_hat.in LVM2.2.03.23/scripts/cmirrord_init_red_hat.in
---- LVM2.2.03.23.orig/scripts/cmirrord_init_red_hat.in 2023-12-03 19:57:35.811406112 +0100
-+++ LVM2.2.03.23/scripts/cmirrord_init_red_hat.in      2023-12-03 19:57:44.066504078 +0100
-@@ -2,7 +2,7 @@
- #
- # chkconfig: - 22 78
- # description: Starts and stops cmirrord
--# pidfile: @CMIRRORD_PIDFILE@
-+# pidfile: /var/run/cmirrord.pid
- #
- # For Red-Hat-based distributions such as Fedora, RHEL, CentOS.
- #
-@@ -16,95 +16,57 @@
- 
- . /etc/init.d/functions
- 
--DAEMON=cmirrord
-+DAEMON="cmirrord"
- 
--usrsbindir="@USRSBINDIR@"
--
--LOCK_FILE="@DEFAULT_SYS_LOCK_DIR@/subsys/$DAEMON"
-+LOCK_FILE="/var/lock/subsys/$DAEMON"
- 
- start()
- {
--      rtrn=0
--      if ! pidof "$DAEMON" > /dev/null
--      then
--              echo -n "Starting $DAEMON: "
--              daemon "$usrsbindir/$DAEMON"
--              rtrn=$?
--              echo
--      fi
--
--      return $rtrn
-+        if [ -f $LOCK_FILE ]; then
-+                msg_already_running "$DAEMON"
-+                return
-+        fi
-+        msg_starting "$DAEMON"
-+        daemon /sbin/$DAEMON </dev/null
-+        RETVAL=$?
-+        [ $RETVAL -eq 0 ] && touch "$LOCK_FILE"
- }
- 
- stop()
- {
--      echo -n "Stopping $DAEMON:"
--      killproc "$DAEMON" -TERM
--      rtrn=$?
--      echo
--
--      return $rtrn
--}
--
--wait_for_finish()
--{
--      count=0
--
--      while [ "$count" -le 10 -a -n "`pidof $DAEMON`" ]
--      do
--              sleep 1
--              count=$((count + 1))
--      done
--
--      if [ "$(pidof "$DAEMON")" ]
--      then
--              return 1
--      else
--              return 0
-+      if [ ! -f $LOCK_FILE ]; then
-+              msg_not_running "$DAEMON"
-+              return
-       fi
-+      msg_stopping "$DAEMON"
-+      killproc --pidfile "$PID_FILE" "$DAEMON"
-+      rm -f "$LOCK_FILE"
- }
- 
--cmirror_status()
--{
--      status "$DAEMON"
--}
--
--rtrn=1
--
-+RETVAL=0
- # See how we were called.
- case "$1" in
-       start)
-               start
--              rtrn=$?
--              [ "$rtrn" = 0 ] && touch "$LOCK_FILE"
-               ;;
- 
-       stop)
-               stop
--              rtrn=$?
--              [ "$rtrn" = 0 ] && rm -f "$LOCK_FILE"
-               ;;
- 
-       restart)
--              if stop
--              then
--                      wait_for_finish
--                      start
--              fi
--              rtrn=$?
-+              stop
-+              start
-               ;;
- 
-       status)
--              cmirror_status
--              rtrn=$?
--              if [ "$rtrn" -eq 0 ]; then
--                      echo "cmirror is running."
--              fi
-+              status $DAEMON
-+              exit $?
-               ;;
- 
-       *)
--              echo $"Usage: $0 {start|stop|restart|status}"
-+              msg_usage "$0 {start|stop|restart|status}"
-               ;;
- esac
- 
--exit $rtrn
-+exit $RETVAL
 diff -urNpa LVM2.2.03.23.orig/scripts/lvm2_lvmpolld_init_red_hat.in LVM2.2.03.23/scripts/lvm2_lvmpolld_init_red_hat.in
 --- LVM2.2.03.23.orig/scripts/lvm2_lvmpolld_init_red_hat.in    2023-12-03 19:57:35.811406112 +0100
 +++ LVM2.2.03.23/scripts/lvm2_lvmpolld_init_red_hat.in 2023-12-03 19:57:44.067504090 +0100
 diff -urNpa LVM2.2.03.23.orig/scripts/lvm2_lvmpolld_init_red_hat.in LVM2.2.03.23/scripts/lvm2_lvmpolld_init_red_hat.in
 --- LVM2.2.03.23.orig/scripts/lvm2_lvmpolld_init_red_hat.in    2023-12-03 19:57:35.811406112 +0100
 +++ LVM2.2.03.23/scripts/lvm2_lvmpolld_init_red_hat.in 2023-12-03 19:57:44.067504090 +0100
index 4df942486656277b583d00d5f34fbf4269369d2c..beb15b0aec202b3a5a6f1d1b6d49a0fcb14033e5 100644 (file)
--- a/lvm2.spec
+++ b/lvm2.spec
@@ -5,7 +5,7 @@
 #
 # Conditional build:
 # - functionality
 #
 # Conditional build:
 # - functionality
-%bcond_without cluster         # disable all cluster support (cmirrord, dlm support in lvmlockd)
+%bcond_without cluster         # disable all cluster support (dlm support in lvmlockd)
 %bcond_without lvmdbusd        # lvmdbusd
 %bcond_without lvmpolld        # lvmpolld (and lvmlockd)
 %bcond_without lvmlockd        # lvmlockd
 %bcond_without lvmdbusd        # lvmdbusd
 %bcond_without lvmpolld        # lvmpolld (and lvmlockd)
 %bcond_without lvmlockd        # lvmlockd
 Summary:       The new version of Logical Volume Manager for Linux
 Summary(pl.UTF-8):     Nowa wersja Logical Volume Managera dla Linuksa
 Name:          lvm2
 Summary:       The new version of Logical Volume Manager for Linux
 Summary(pl.UTF-8):     Nowa wersja Logical Volume Managera dla Linuksa
 Name:          lvm2
-Version:       2.03.41
+Version:       2.03.43
 Release:       1
 License:       GPL v2 and LGPL v2.1
 Group:         Applications/System
 Source0:       ftp://sourceware.org/pub/lvm2/LVM2.%{version}.tgz
 Release:       1
 License:       GPL v2 and LGPL v2.1
 Group:         Applications/System
 Source0:       ftp://sourceware.org/pub/lvm2/LVM2.%{version}.tgz
-# Source0-md5: 9696ce3b3844db1d90dae457f83b0306
+# Source0-md5: 18cbeb384e660234b4b4ad1d184b8e24
 Patch0:                %{name}-selinux.patch
 Patch1:                device-mapper-dmsetup-export.patch
 Patch2:                %{name}-tld_init.patch
 Patch0:                %{name}-selinux.patch
 Patch1:                device-mapper-dmsetup-export.patch
 Patch2:                %{name}-tld_init.patch
@@ -45,6 +45,7 @@ BuildRequires:        automake
 BuildRequires: filesystem >= 3.0-43
 BuildRequires: libaio-devel
 BuildRequires: libblkid-devel >= 2.24
 BuildRequires: filesystem >= 3.0-43
 BuildRequires: libaio-devel
 BuildRequires: libblkid-devel >= 2.24
+BuildRequires: libnvme-devel >= 1.4
 %{?with_selinux:BuildRequires: libselinux-devel >= 1.10}
 %{?with_selinux:BuildRequires: libsepol-devel}
 BuildRequires: ncurses-devel
 %{?with_selinux:BuildRequires: libselinux-devel >= 1.10}
 %{?with_selinux:BuildRequires: libsepol-devel}
 BuildRequires: ncurses-devel
@@ -62,7 +63,6 @@ BuildRequires:        rpmbuild(macros) >= 1.750
 %{?with_sanlock:BuildRequires: sanlock-devel >= 3.3.0}
 BuildRequires: udev-devel >= 1:176
 %if %{with cluster}
 %{?with_sanlock:BuildRequires: sanlock-devel >= 3.3.0}
 BuildRequires: udev-devel >= 1:176
 %if %{with cluster}
-BuildRequires: corosync-devel
 BuildRequires: dlm-devel >= 3.99.5
 %endif
 Requires(post,postun): /sbin/chkconfig
 BuildRequires: dlm-devel >= 3.99.5
 %endif
 Requires(post,postun): /sbin/chkconfig
@@ -95,32 +95,6 @@ and repairing logical volumes.
 Pakiet ten zawiera narzędzia do tworzenia, sprawdzania i naprawiania
 logicznych wolumenów dyskowych (LVM2).
 
 Pakiet ten zawiera narzędzia do tworzenia, sprawdzania i naprawiania
 logicznych wolumenów dyskowych (LVM2).
 
-%package cmirrord
-Summary:       Cluster mirror log daemon
-Summary(pl.UTF-8):     Demon śledzący log lustrzany w klastrze
-Group:         Applications/System
-Requires:      %{name} = %{version}-%{release}
-
-%description cmirrord
-cmirrord is the daemon that tracks mirror log information in a
-cluster. It is specific to device-mapper based mirrors (and by
-extension, LVM cluster mirrors). Cluster mirrors are not possible
-without this daemon running.
-
-This daemon relies on the cluster infrastructure provided by the
-Cluster MANager (CMAN), which must be set up and running in order for
-cmirrord to function.
-
-%description cmirrord -l pl.UTF-8
-cmirrord to demon śledzący informacje logu lustrzanego w klastrze.
-Jest specyficzny dla klastrów lustrzanych opartych na device-mapperze
-(oraz, poprzez rozszerzenie, klastrów lustrzanych LVM). W klastrach
-lustrzanych ten demon jest niezbędny.
-
-Ten demon polega na infrastrukturze klastra dostarczanej przez CMAN
-(Cluster MANager), który musi być skonfigurowany i działający, aby
-działał cmirrord.
-
 %package dbusd
 Summary:       LVM2 D-Bus daemon
 Summary(pl.UTF-8):     Demon LVM2 D-Bus
 %package dbusd
 Summary:       LVM2 D-Bus daemon
 Summary(pl.UTF-8):     Demon LVM2 D-Bus
@@ -263,9 +237,6 @@ Statyczna biblioteka devmapper zbudowana z dietlibc.
 %configure \
        --enable-cache_check_needs_check \
        --enable-cmdlib \
 %configure \
        --enable-cache_check_needs_check \
        --enable-cmdlib \
-%if %{with cluster}
-       --enable-cmirrord \
-%endif
        %{?with_lvmdbusd:--enable-dbus-service} \
        %{?debug:--enable-debug} \
        --enable-dmeventd \
        %{?with_lvmdbusd:--enable-dbus-service} \
        %{?debug:--enable-debug} \
        --enable-dmeventd \
@@ -523,14 +494,6 @@ fi
 %{_mandir}/man8/lvmpolld.8*
 %endif
 
 %{_mandir}/man8/lvmpolld.8*
 %endif
 
-%if %{with cluster}
-%files cmirrord
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_usrsbindir}/cmirrord
-%attr(754,root,root) /etc/rc.d/init.d/cmirrord
-%{_mandir}/man8/cmirrord.8*
-%endif
-
 %if %{with lvmdbusd}
 %files dbusd
 %defattr(644,root,root,755)
 %if %{with lvmdbusd}
 %files dbusd
 %defattr(644,root,root,755)