From 7767538b6eb8992e336e7b2edc35e93e943ba094 Mon Sep 17 00:00:00 2001 From: Alasdair Kergon Date: Mar 03 2009 18:15:40 +0000 Subject: new upstream release and switch cluster code to use corosync... --- diff --git a/.cvsignore b/.cvsignore index c3f4590..3162dff 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -LVM2.2.02.44.tgz +LVM2.2.02.45.tgz diff --git a/LVM2.2.02.44.tgz.asc b/LVM2.2.02.44.tgz.asc deleted file mode 100644 index 7d6b635..0000000 --- a/LVM2.2.02.44.tgz.asc +++ /dev/null @@ -1,7 +0,0 @@ ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.2.1 (GNU/Linux) - -iD8DBQBJfcvPIoGRwVZ+LBcRAkX6AKCJdsyCBtRu0aPfiFgKwFqaTQ2qqACfRLez -2q2O5e0K48m3OcqVWujczg0= -=VArT ------END PGP SIGNATURE----- diff --git a/LVM2.2.02.45.tgz.asc b/LVM2.2.02.45.tgz.asc new file mode 100644 index 0000000..88ef393 --- /dev/null +++ b/LVM2.2.02.45.tgz.asc @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.1 (GNU/Linux) + +iD8DBQBJrV5+IoGRwVZ+LBcRAjEfAJ0W6QcbtMX5O/H6nHAQ68NzO2ThmgCgsqNY +MKXx9CYw4vQ2tpGtCrF7zzo= +=U8vL +-----END PGP SIGNATURE----- diff --git a/lvm2.spec b/lvm2.spec index d4fad6a..0ca3b28 100644 --- a/lvm2.spec +++ b/lvm2.spec @@ -1,12 +1,14 @@ -%define device_mapper_version 1.02.30 +%define device_mapper_version 1.02.31 +%define corosync_version 0.94-1 +%define clusterlib_version 3.0.0-12.alpha6 # Do not reset Release to 1 unless both lvm2 and device-mapper # versions are increased together. Summary: Userland logical volume management tools Name: lvm2 -Version: 2.02.44 -Release: 2%{?dist} +Version: 2.02.45 +Release: 1%{?dist} License: GPLv2 Group: System Environment/Base URL: http://sources.redhat.com/lvm2 @@ -19,8 +21,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libselinux-devel >= 1.30.19-4, libsepol-devel BuildRequires: ncurses-devel BuildRequires: readline-devel -BuildRequires: cman-devel >= 2.99.10-4 cmanlib-devel >= 2.99.10-4 +BuildRequires: corosynclib-devel >= %{corosync_version} +BuildRequires: clusterlib-devel >= %{clusterlib_version} BuildRequires: module-init-tools +BuildRequires: pkgconfig Requires: device-mapper >= %{device_mapper_version}-%{release} Requires: module-init-tools Conflicts: lvm @@ -44,7 +48,7 @@ or more physical volumes and creating one or more logical volumes %define _sbindir /sbin %define _libdir /%{_lib} -%configure --enable-lvm1_fallback --enable-fsadm --with-clvmd=cman --with-cluster=internal --with-pool=internal --with-user= --with-group= --with-dmdir=device-mapper.%{device_mapper_version} --with-usrlibdir=/usr/%{_lib} --with-usrsbindir=/usr/sbin --with-device-uid=0 --with-device-gid=6 --with-device-mode=0660 --enable-pkgconfig +%configure --enable-lvm1_fallback --enable-fsadm --with-clvmd=corosync --with-cluster=internal --with-pool=internal --with-user= --with-group= --with-dmdir=device-mapper.%{device_mapper_version} --with-usrlibdir=/usr/%{_lib} --with-usrsbindir=/usr/sbin --with-device-uid=0 --with-device-gid=6 --with-device-mode=0660 --enable-pkgconfig make DESTDIR=$RPM_BUILD_ROOT %install @@ -174,6 +178,8 @@ Requires(post): chkconfig Requires(preun): chkconfig Requires(preun): device-mapper >= %{device_mapper_version} Requires(preun): lvm2 >= 2.02 +Requires: corosync >= %{corosync_version} +Requires: clusterlib >= %{clusterlib_version} %description cluster Extensions to LVM2 to support clusters. @@ -226,6 +232,7 @@ License: LGPLv2 Group: Development/Libraries Requires: device-mapper = %{device_mapper_version}-%{release} Requires: device-mapper-libs = %{device_mapper_version}-%{release} +Requires: pkgconfig %description -n device-mapper-devel This package contains files needed to develop applications that use @@ -257,6 +264,32 @@ This package contains the device-mapper shared library, libdevmapper. %changelog +* Tue Mar 3 2009 Alasdair Kergon - 2.02.45-1 +- Update clusterlib and corosync dependencies. +- Attempt proper clean up in child before executing fsadm or modprobe. +- Do not scan devices if reporting only attributes from PV label. +- Use pkgconfig to obtain corosync library details during configuration. +- Fix error returns in clvmd-corosync interface to DLM. +- Add --refresh to vgchange and vgmknodes man pages. +- Pass --test from lvresize to fsadm as --dry-run. +- Prevent fsadm from checking mounted filesystems. +- No longer treats any other key as 'no' when prompting in fsadm. +- Add --dataalignment to pvcreate to specify alignment of data area. +- Fix unblocking of interrupts after several commands. +- Provide da and mda locations in debug message when writing text format label. +- Mention the restriction on file descriptors at invocation on the lvm man page. +- Index cached vgmetadata by vgid not vgname to cope with duplicate vgnames. +- No longer require kernel and metadata major numbers to match. +- If kernel supports only one dm major number, use in place of any supplied. +- Add option to /etc/sysconfig/cluster to select cluster type for clvmd. +- Allow clvmd to start up if its lockspace already exists. +- Separate PV label attributes which do not need parse metadata when reporting. +- Remove external dependency on the 'cut' command from fsadm. +- Fix pvs segfault when pv mda attributes requested for unavailable PV. +- Add fsadm support for reszing ext4 filesysystems. +- Change lvm2-cluster to corosync instead of cman. +- Fix some old changelog typos in email addresses. + * Wed Feb 25 2009 Fedora Release Engineering - 2.02.44-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild @@ -285,7 +318,7 @@ This package contains the device-mapper shared library, libdevmapper. - Add "all" field to reports expanding to all fields of report type. - Enforce device name length and character limitations in libdm. -* Mon Nov 10 2008 Alasdair Kergon > - 2.02.43-1 +* Mon Nov 10 2008 Alasdair Kergon - 2.02.43-1 - Upstream merge of device-mapper and lvm2 source. - Correct prototype for --permission on lvchange and lvcreate man pages. - Exit with non-zero status from vgdisplay if couldn't show any requested VG. @@ -325,7 +358,7 @@ This package contains the device-mapper shared library, libdevmapper. - libdevmapper: Extend deptree buffers so the largest possible device numbers fit. - libdevmapper: Underline longer report help text headings. -* Tue Oct 7 2008 Alasdair Kergon > - 2.02.39-6 +* Tue Oct 7 2008 Alasdair Kergon - 2.02.39-6 - Only set exec_prefix once and configure explicit directories to work with new version of rpm. @@ -344,7 +377,7 @@ This package contains the device-mapper shared library, libdevmapper. * Thu Aug 7 2008 Tom "spot" Callaway - 2.02.39-4 - Fix license tag. -* Fri Jun 27 2008 Alasdair Kergon > - 2.02.39-3 +* Fri Jun 27 2008 Alasdair Kergon - 2.02.39-3 - Fix up cache for PVs without mdas after consistent VG metadata is processed. - Update validation of safe mirror log type conversions in lvconvert. - Fix lvconvert to disallow snapshot and mirror combinations. @@ -357,11 +390,11 @@ This package contains the device-mapper shared library, libdevmapper. - Add --force to lvextend and lvresize. - Fix vgchange to not activate component mirror volumes directly. -* Wed Jun 25 2008 Alasdair Kergon > - 2.02.38-2 +* Wed Jun 25 2008 Alasdair Kergon - 2.02.38-2 - dmsetup: Add --unquoted and --rows to 'info -c' command. - libdevmapper: Fix inverted no_flush debug message. -* Fri Jun 13 2008 Alasdair Kergon > - 2.02.38-1 +* Fri Jun 13 2008 Alasdair Kergon - 2.02.38-1 - libdevmapper: Make dm_hash_iter safe against deletion. - libdevmapper: Accept a NULL pointer to dm_free silently. - libdevmapper: Calculate string size within dm_pool_grow_object. @@ -455,21 +488,21 @@ This package contains the device-mapper shared library, libdevmapper. * Wed Mar 5 2008 Jeremy Katz - 2.02.33-10 - recognize vio disks -* Thu Jan 31 2008 Alasdair Kergon > - 2.02.33-9 +* Thu Jan 31 2008 Alasdair Kergon - 2.02.33-9 - Improve internal label caching performance while locks are held. - Fix mirror log name construction during lvconvert. -* Tue Jan 29 2008 Alasdair Kergon > - 2.02.32-8 +* Tue Jan 29 2008 Alasdair Kergon - 2.02.32-8 - Fix pvs, vgs, lvs error exit status on some error paths. - Fix new parameter validation in vgsplit and test mode. - Fix internal metadata corruption in lvchange --resync. -* Sat Jan 19 2008 Alasdair Kergon > - 2.02.31-7 +* Sat Jan 19 2008 Alasdair Kergon - 2.02.31-7 - Avoid readahead error message when using default setting of lvcreate -M1. - Fix lvcreate --nosync not to wait for non-happening sync. - Add very_verbose lvconvert messages. -* Thu Jan 17 2008 Alasdair Kergon > - 2.02.30-6 +* Thu Jan 17 2008 Alasdair Kergon - 2.02.30-6 - Remove static libraries and binaries and move most binaries out of /usr. - Fix a segfault if using pvs with --all argument. - Fix vgreduce PV list processing not to process every PV in the VG. @@ -490,10 +523,10 @@ This package contains the device-mapper shared library, libdevmapper. - Update --uuid argument description in man pages. - Print warning when lvm tools are running as non-root. -* Thu Dec 20 2007 Alasdair Kergon > - 2.02.29-5 +* Thu Dec 20 2007 Alasdair Kergon - 2.02.29-5 - Fix libdevmapper readahead processing with snapshots (for example). -* Thu Dec 13 2007 Alasdair Kergon > - 2.02.29-4 +* Thu Dec 13 2007 Alasdair Kergon - 2.02.29-4 - Add missing lvm2 build & runtime dependencies on module-init-tools (modprobe). * Thu Dec 6 2007 Jeremy Katz - 2.02.29-3 diff --git a/sources b/sources index b322c85..f5511a4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -4ed7b99903a6fc5165b7b0b8def42486 LVM2.2.02.44.tgz +440daa01b8f2ec4fe97b1cc621108220 LVM2.2.02.45.tgz diff --git a/upstream b/upstream index c3f4590..3162dff 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -LVM2.2.02.44.tgz +LVM2.2.02.45.tgz