lvm2/lvm2.spec

638 lines
23 KiB
RPMSpec
Raw Normal View History

2007-07-18 18:18:23 +00:00
%define device_mapper_version 1.02.21-1
Summary: Userland logical volume management tools
Name: lvm2
2007-07-18 18:18:23 +00:00
Version: 2.02.27
2007-08-09 18:04:28 +00:00
Release: 3%{?dist}
License: GPLv2
Group: System Environment/Base
auto-import changelog data from lvm2-2.00.15-2.src.rpm Thu May 06 2004 Warren Togami <wtogami@redhat.com> - 2.00.15-2 - i2o patch from Markus Lidel Tue Apr 20 2004 Bill Nottingham <notting@redhat.com> - 2.00.15-1.1 - handle disabled SELinux correctly, so that LVMs can be detected in a non-SELinux context Mon Apr 19 2004 Alasdair Kergon <agk@redhat.com> - 2.00.15-1 - Fix non-root build with current version of 'install'. Fri Apr 16 2004 Alasdair Kergon <agk@redhat.com> - 2.00.14-1 - Use 64-bit file offsets. Fri Apr 16 2004 Alasdair Kergon <agk@redhat.com> - 2.00.13-1 - Avoid scanning devices containing md superblocks. - Integrate ENOTSUP patch. Thu Apr 15 2004 Jeremy Katz <katzj@redhat.com> - 2.00.12-4 - don't die if we get ENOTSUP setting selinux contexts Thu Apr 15 2004 Alasdair Kergon <agk@redhat.com> 2.00.12-3 - Add temporary pvscan symlink for LVM1 until mkinitrd gets updated. Wed Apr 14 2004 Alasdair Kergon <agk@redhat.com> 2.00.12-2 - Mark config file noreplace. Wed Apr 14 2004 Alasdair Kergon <agk@redhat.com> 2.00.12-1 - Install default /etc/lvm/lvm.conf. - Move non-static binaries to /usr/sbin. - Add temporary links in /sbin to lvm.static until rc.sysinit gets updated. Thu Apr 08 2004 Alasdair Kergon <agk@redhat.com> 2.00.11-1 - Fallback to using LVM1 tools when using a 2.4 kernel without device-mapper. Wed Apr 07 2004 Alasdair Kergon <agk@redhat.com> 2.00.10-2 - Install the full toolset, not just 'lvm'. Wed Apr 07 2004 Alasdair Kergon <agk@redhat.com> 2.00.10-1 - Update to version 2.00.10, which incorporates the RH-specific patches and includes various fixes and enhancements detailed in WHATS_NEW.
2004-09-09 08:07:17 +00:00
URL: http://sources.redhat.com/lvm2
Source0: LVM2.%{version}.tgz
2006-11-10 21:38:34 +00:00
Patch0: cluster-locking-built-in.patch
Patch1: lvm2-2_02_28-add-ps3disk.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: device-mapper-devel >= %{device_mapper_version}
BuildRequires: libselinux-devel >= 1.30.19-4, libsepol-devel
BuildRequires: ncurses-devel
BuildRequires: ncurses-static
BuildRequires: readline-devel, readline-static
BuildRequires: cman-devel
2006-10-14 18:57:22 +00:00
Requires: device-mapper >= %{device_mapper_version}
2005-12-02 21:55:26 +00:00
Conflicts: lvm
Obsoletes: lvm
auto-import changelog data from lvm2-2.00.15-2.src.rpm Thu May 06 2004 Warren Togami <wtogami@redhat.com> - 2.00.15-2 - i2o patch from Markus Lidel Tue Apr 20 2004 Bill Nottingham <notting@redhat.com> - 2.00.15-1.1 - handle disabled SELinux correctly, so that LVMs can be detected in a non-SELinux context Mon Apr 19 2004 Alasdair Kergon <agk@redhat.com> - 2.00.15-1 - Fix non-root build with current version of 'install'. Fri Apr 16 2004 Alasdair Kergon <agk@redhat.com> - 2.00.14-1 - Use 64-bit file offsets. Fri Apr 16 2004 Alasdair Kergon <agk@redhat.com> - 2.00.13-1 - Avoid scanning devices containing md superblocks. - Integrate ENOTSUP patch. Thu Apr 15 2004 Jeremy Katz <katzj@redhat.com> - 2.00.12-4 - don't die if we get ENOTSUP setting selinux contexts Thu Apr 15 2004 Alasdair Kergon <agk@redhat.com> 2.00.12-3 - Add temporary pvscan symlink for LVM1 until mkinitrd gets updated. Wed Apr 14 2004 Alasdair Kergon <agk@redhat.com> 2.00.12-2 - Mark config file noreplace. Wed Apr 14 2004 Alasdair Kergon <agk@redhat.com> 2.00.12-1 - Install default /etc/lvm/lvm.conf. - Move non-static binaries to /usr/sbin. - Add temporary links in /sbin to lvm.static until rc.sysinit gets updated. Thu Apr 08 2004 Alasdair Kergon <agk@redhat.com> 2.00.11-1 - Fallback to using LVM1 tools when using a 2.4 kernel without device-mapper. Wed Apr 07 2004 Alasdair Kergon <agk@redhat.com> 2.00.10-2 - Install the full toolset, not just 'lvm'. Wed Apr 07 2004 Alasdair Kergon <agk@redhat.com> 2.00.10-1 - Update to version 2.00.10, which incorporates the RH-specific patches and includes various fixes and enhancements detailed in WHATS_NEW.
2004-09-09 08:07:17 +00:00
%define _exec_prefix /usr
%description
LVM2 includes all of the support for handling read/write operations on
physical volumes (hard disks, RAID-Systems, magneto optical, etc.,
multiple devices (MD), see mdadd(8) or even loop devices, see
losetup(8)), creating volume groups (kind of virtual disks) from one
or more physical volumes and creating one or more logical volumes
(kind of logical partitions) in volume groups.
%prep
%setup -q -n LVM2.%{version}
2006-11-10 21:38:34 +00:00
%patch -p1 -b .locking
%patch1 -p1 -b .ps3disk
%build
%configure --enable-static_link --enable-readline --enable-lvm1_fallback --with-clvmd=cman --with-cluster=internal --with-pool=internal --with-staticdir=/sbin --with-user= --with-group=
auto-import changelog data from lvm2-2.00.15-2.src.rpm Thu May 06 2004 Warren Togami <wtogami@redhat.com> - 2.00.15-2 - i2o patch from Markus Lidel Tue Apr 20 2004 Bill Nottingham <notting@redhat.com> - 2.00.15-1.1 - handle disabled SELinux correctly, so that LVMs can be detected in a non-SELinux context Mon Apr 19 2004 Alasdair Kergon <agk@redhat.com> - 2.00.15-1 - Fix non-root build with current version of 'install'. Fri Apr 16 2004 Alasdair Kergon <agk@redhat.com> - 2.00.14-1 - Use 64-bit file offsets. Fri Apr 16 2004 Alasdair Kergon <agk@redhat.com> - 2.00.13-1 - Avoid scanning devices containing md superblocks. - Integrate ENOTSUP patch. Thu Apr 15 2004 Jeremy Katz <katzj@redhat.com> - 2.00.12-4 - don't die if we get ENOTSUP setting selinux contexts Thu Apr 15 2004 Alasdair Kergon <agk@redhat.com> 2.00.12-3 - Add temporary pvscan symlink for LVM1 until mkinitrd gets updated. Wed Apr 14 2004 Alasdair Kergon <agk@redhat.com> 2.00.12-2 - Mark config file noreplace. Wed Apr 14 2004 Alasdair Kergon <agk@redhat.com> 2.00.12-1 - Install default /etc/lvm/lvm.conf. - Move non-static binaries to /usr/sbin. - Add temporary links in /sbin to lvm.static until rc.sysinit gets updated. Thu Apr 08 2004 Alasdair Kergon <agk@redhat.com> 2.00.11-1 - Fallback to using LVM1 tools when using a 2.4 kernel without device-mapper. Wed Apr 07 2004 Alasdair Kergon <agk@redhat.com> 2.00.10-2 - Install the full toolset, not just 'lvm'. Wed Apr 07 2004 Alasdair Kergon <agk@redhat.com> 2.00.10-1 - Update to version 2.00.10, which incorporates the RH-specific patches and includes various fixes and enhancements detailed in WHATS_NEW.
2004-09-09 08:07:17 +00:00
make DESTDIR=$RPM_BUILD_ROOT
%install
rm -rf $RPM_BUILD_ROOT
auto-import changelog data from lvm2-2.00.15-2.src.rpm Thu May 06 2004 Warren Togami <wtogami@redhat.com> - 2.00.15-2 - i2o patch from Markus Lidel Tue Apr 20 2004 Bill Nottingham <notting@redhat.com> - 2.00.15-1.1 - handle disabled SELinux correctly, so that LVMs can be detected in a non-SELinux context Mon Apr 19 2004 Alasdair Kergon <agk@redhat.com> - 2.00.15-1 - Fix non-root build with current version of 'install'. Fri Apr 16 2004 Alasdair Kergon <agk@redhat.com> - 2.00.14-1 - Use 64-bit file offsets. Fri Apr 16 2004 Alasdair Kergon <agk@redhat.com> - 2.00.13-1 - Avoid scanning devices containing md superblocks. - Integrate ENOTSUP patch. Thu Apr 15 2004 Jeremy Katz <katzj@redhat.com> - 2.00.12-4 - don't die if we get ENOTSUP setting selinux contexts Thu Apr 15 2004 Alasdair Kergon <agk@redhat.com> 2.00.12-3 - Add temporary pvscan symlink for LVM1 until mkinitrd gets updated. Wed Apr 14 2004 Alasdair Kergon <agk@redhat.com> 2.00.12-2 - Mark config file noreplace. Wed Apr 14 2004 Alasdair Kergon <agk@redhat.com> 2.00.12-1 - Install default /etc/lvm/lvm.conf. - Move non-static binaries to /usr/sbin. - Add temporary links in /sbin to lvm.static until rc.sysinit gets updated. Thu Apr 08 2004 Alasdair Kergon <agk@redhat.com> 2.00.11-1 - Fallback to using LVM1 tools when using a 2.4 kernel without device-mapper. Wed Apr 07 2004 Alasdair Kergon <agk@redhat.com> 2.00.10-2 - Install the full toolset, not just 'lvm'. Wed Apr 07 2004 Alasdair Kergon <agk@redhat.com> 2.00.10-1 - Update to version 2.00.10, which incorporates the RH-specific patches and includes various fixes and enhancements detailed in WHATS_NEW.
2004-09-09 08:07:17 +00:00
make install DESTDIR=$RPM_BUILD_ROOT
make install_cluster DESTDIR=$RPM_BUILD_ROOT
2005-12-02 21:55:26 +00:00
ln -s lvm.static $RPM_BUILD_ROOT/sbin/lvm
ln -s lvm.static $RPM_BUILD_ROOT/sbin/pvscan
ln -s lvm.static $RPM_BUILD_ROOT/sbin/vgchange
ln -s lvm.static $RPM_BUILD_ROOT/sbin/vgscan
2005-12-02 22:02:28 +00:00
install -m 0700 -d $RPM_BUILD_ROOT/etc/lvm/archive
install -m 0700 -d $RPM_BUILD_ROOT/etc/lvm/backup
install -m 0700 -d $RPM_BUILD_ROOT/etc/lvm/cache
2005-12-02 22:02:28 +00:00
install -m 0700 -d $RPM_BUILD_ROOT/var/lock/lvm
install -m 0600 /dev/null $RPM_BUILD_ROOT/etc/lvm/cache/.cache
mkdir -p -m755 $RPM_BUILD_ROOT/etc/rc.d/init.d
install scripts/clvmd_init_rhel4 $RPM_BUILD_ROOT/etc/rc.d/init.d/clvmd
install -m 0755 scripts/lvmconf.sh $RPM_BUILD_ROOT/usr/sbin/lvmconf
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
auto-import changelog data from lvm2-2.00.15-2.src.rpm Thu May 06 2004 Warren Togami <wtogami@redhat.com> - 2.00.15-2 - i2o patch from Markus Lidel Tue Apr 20 2004 Bill Nottingham <notting@redhat.com> - 2.00.15-1.1 - handle disabled SELinux correctly, so that LVMs can be detected in a non-SELinux context Mon Apr 19 2004 Alasdair Kergon <agk@redhat.com> - 2.00.15-1 - Fix non-root build with current version of 'install'. Fri Apr 16 2004 Alasdair Kergon <agk@redhat.com> - 2.00.14-1 - Use 64-bit file offsets. Fri Apr 16 2004 Alasdair Kergon <agk@redhat.com> - 2.00.13-1 - Avoid scanning devices containing md superblocks. - Integrate ENOTSUP patch. Thu Apr 15 2004 Jeremy Katz <katzj@redhat.com> - 2.00.12-4 - don't die if we get ENOTSUP setting selinux contexts Thu Apr 15 2004 Alasdair Kergon <agk@redhat.com> 2.00.12-3 - Add temporary pvscan symlink for LVM1 until mkinitrd gets updated. Wed Apr 14 2004 Alasdair Kergon <agk@redhat.com> 2.00.12-2 - Mark config file noreplace. Wed Apr 14 2004 Alasdair Kergon <agk@redhat.com> 2.00.12-1 - Install default /etc/lvm/lvm.conf. - Move non-static binaries to /usr/sbin. - Add temporary links in /sbin to lvm.static until rc.sysinit gets updated. Thu Apr 08 2004 Alasdair Kergon <agk@redhat.com> 2.00.11-1 - Fallback to using LVM1 tools when using a 2.4 kernel without device-mapper. Wed Apr 07 2004 Alasdair Kergon <agk@redhat.com> 2.00.10-2 - Install the full toolset, not just 'lvm'. Wed Apr 07 2004 Alasdair Kergon <agk@redhat.com> 2.00.10-1 - Update to version 2.00.10, which incorporates the RH-specific patches and includes various fixes and enhancements detailed in WHATS_NEW.
2004-09-09 08:07:17 +00:00
%doc COPYING COPYING.LIB INSTALL README VERSION WHATS_NEW
/sbin/lvm.static
2005-12-02 21:55:26 +00:00
/sbin/lvm
/sbin/pvscan
/sbin/vgscan
2005-12-02 22:07:53 +00:00
/sbin/vgchange
%{_sbindir}/lvchange
%{_sbindir}/lvconvert
%{_sbindir}/lvcreate
%{_sbindir}/lvdisplay
%{_sbindir}/lvextend
%{_sbindir}/lvm
%{_sbindir}/lvmchange
%{_sbindir}/lvmdiskscan
%{_sbindir}/lvmdump
%{_sbindir}/lvmsadc
%{_sbindir}/lvmsar
%{_sbindir}/lvreduce
%{_sbindir}/lvremove
%{_sbindir}/lvrename
%{_sbindir}/lvresize
%{_sbindir}/lvs
%{_sbindir}/lvscan
%{_sbindir}/pvchange
2007-07-18 18:18:23 +00:00
%{_sbindir}/pvck
%{_sbindir}/pvcreate
%{_sbindir}/pvdisplay
%{_sbindir}/pvmove
%{_sbindir}/pvremove
%{_sbindir}/pvresize
%{_sbindir}/pvs
%{_sbindir}/pvscan
%{_sbindir}/vgcfgbackup
%{_sbindir}/vgcfgrestore
%{_sbindir}/vgchange
%{_sbindir}/vgck
%{_sbindir}/vgconvert
%{_sbindir}/vgcreate
%{_sbindir}/vgdisplay
%{_sbindir}/vgexport
%{_sbindir}/vgextend
%{_sbindir}/vgimport
%{_sbindir}/vgmerge
%{_sbindir}/vgmknodes
%{_sbindir}/vgreduce
%{_sbindir}/vgremove
%{_sbindir}/vgrename
%{_sbindir}/vgs
%{_sbindir}/vgscan
%{_sbindir}/vgsplit
%{_mandir}/man5/lvm.conf.5.gz
%{_mandir}/man8/lvchange.8.gz
%{_mandir}/man8/lvconvert.8.gz
%{_mandir}/man8/lvcreate.8.gz
%{_mandir}/man8/lvdisplay.8.gz
%{_mandir}/man8/lvextend.8.gz
%{_mandir}/man8/lvm.8.gz
%{_mandir}/man8/lvmchange.8.gz
%{_mandir}/man8/lvmdiskscan.8.gz
%{_mandir}/man8/lvmdump.8.gz
%{_mandir}/man8/lvreduce.8.gz
%{_mandir}/man8/lvremove.8.gz
%{_mandir}/man8/lvrename.8.gz
%{_mandir}/man8/lvresize.8.gz
%{_mandir}/man8/lvs.8.gz
%{_mandir}/man8/lvscan.8.gz
%{_mandir}/man8/pvchange.8.gz
2007-07-18 18:18:23 +00:00
%{_mandir}/man8/pvck.8.gz
%{_mandir}/man8/pvcreate.8.gz
%{_mandir}/man8/pvdisplay.8.gz
%{_mandir}/man8/pvmove.8.gz
%{_mandir}/man8/pvremove.8.gz
%{_mandir}/man8/pvresize.8.gz
%{_mandir}/man8/pvs.8.gz
%{_mandir}/man8/pvscan.8.gz
%{_mandir}/man8/vgcfgbackup.8.gz
%{_mandir}/man8/vgcfgrestore.8.gz
%{_mandir}/man8/vgchange.8.gz
%{_mandir}/man8/vgck.8.gz
%{_mandir}/man8/vgconvert.8.gz
%{_mandir}/man8/vgcreate.8.gz
%{_mandir}/man8/vgdisplay.8.gz
%{_mandir}/man8/vgexport.8.gz
%{_mandir}/man8/vgextend.8.gz
%{_mandir}/man8/vgimport.8.gz
%{_mandir}/man8/vgmerge.8.gz
%{_mandir}/man8/vgmknodes.8.gz
%{_mandir}/man8/vgreduce.8.gz
%{_mandir}/man8/vgremove.8.gz
%{_mandir}/man8/vgrename.8.gz
%{_mandir}/man8/vgs.8.gz
%{_mandir}/man8/vgscan.8.gz
%{_mandir}/man8/vgsplit.8.gz
2005-12-02 22:07:53 +00:00
%dir /etc/lvm
%ghost /etc/lvm/cache/.cache
auto-import changelog data from lvm2-2.00.15-2.src.rpm Thu May 06 2004 Warren Togami <wtogami@redhat.com> - 2.00.15-2 - i2o patch from Markus Lidel Tue Apr 20 2004 Bill Nottingham <notting@redhat.com> - 2.00.15-1.1 - handle disabled SELinux correctly, so that LVMs can be detected in a non-SELinux context Mon Apr 19 2004 Alasdair Kergon <agk@redhat.com> - 2.00.15-1 - Fix non-root build with current version of 'install'. Fri Apr 16 2004 Alasdair Kergon <agk@redhat.com> - 2.00.14-1 - Use 64-bit file offsets. Fri Apr 16 2004 Alasdair Kergon <agk@redhat.com> - 2.00.13-1 - Avoid scanning devices containing md superblocks. - Integrate ENOTSUP patch. Thu Apr 15 2004 Jeremy Katz <katzj@redhat.com> - 2.00.12-4 - don't die if we get ENOTSUP setting selinux contexts Thu Apr 15 2004 Alasdair Kergon <agk@redhat.com> 2.00.12-3 - Add temporary pvscan symlink for LVM1 until mkinitrd gets updated. Wed Apr 14 2004 Alasdair Kergon <agk@redhat.com> 2.00.12-2 - Mark config file noreplace. Wed Apr 14 2004 Alasdair Kergon <agk@redhat.com> 2.00.12-1 - Install default /etc/lvm/lvm.conf. - Move non-static binaries to /usr/sbin. - Add temporary links in /sbin to lvm.static until rc.sysinit gets updated. Thu Apr 08 2004 Alasdair Kergon <agk@redhat.com> 2.00.11-1 - Fallback to using LVM1 tools when using a 2.4 kernel without device-mapper. Wed Apr 07 2004 Alasdair Kergon <agk@redhat.com> 2.00.10-2 - Install the full toolset, not just 'lvm'. Wed Apr 07 2004 Alasdair Kergon <agk@redhat.com> 2.00.10-1 - Update to version 2.00.10, which incorporates the RH-specific patches and includes various fixes and enhancements detailed in WHATS_NEW.
2004-09-09 08:07:17 +00:00
%config(noreplace) /etc/lvm/lvm.conf
2007-07-18 18:18:23 +00:00
%dir /etc/lvm/backup
%dir /etc/lvm/cache
%dir /etc/lvm/archive
%dir /var/lock/lvm
##############################################################################
# Cluster subpackage
##############################################################################
%package cluster
Summary: Cluster extensions for userland logical volume management tools
2007-08-09 18:04:28 +00:00
License: GPLv2
Group: System Environment/Base
2006-10-27 15:30:24 +00:00
Requires: lvm2 >= %{version}-%{release}
Requires(post): chkconfig
Requires(preun): chkconfig
2006-10-14 18:57:22 +00:00
Requires(preun): device-mapper >= %{device_mapper_version}
Requires(preun): lvm2 >= 2.02
%description cluster
Extensions to LVM2 to support clusters.
%post cluster
/sbin/chkconfig --add clvmd
/usr/sbin/lvmconf --lockinglibdir %{_libdir}
%preun cluster
if [ "$1" = 0 ]; then
/sbin/chkconfig --del clvmd
/usr/sbin/lvmconf --disable-cluster
fi
%files cluster
%defattr(-,root,root,-)
%attr(755,root,root) %{_sbindir}/clvmd
%{_sbindir}/lvmconf
%{_mandir}/man8/clvmd.8.gz
/etc/rc.d/init.d/clvmd
%changelog
2007-08-09 18:04:28 +00:00
* Thu Aug 09 2007 Alasdair Kergon <agk@redhat.com> - 2.02.27-3
- Clarify GPL licence as being version 2.
* Wed Aug 01 2007 Milan Broz <mbroz@redhat.com> - 2.02.27-2
- Add SUN's LDOM virtual block device (vdisk) and ps3disk to filters.
2007-07-18 18:18:23 +00:00
* Wed Jul 28 2007 Alasdair Kergon <agk@redhat.com> - 2.02.27-1
- Add -f to vgcfgrestore to list metadata backup files.
- Add pvdisplay --maps implementation.
- Add devices/preferred_names config regex list for displayed device names.
- Add vg_mda_count and pv_mda_count columns to reports.
- Change cling alloc policy attribute character from 'C' to l'.
- Print warnings to stderr instead of stdout.
- Fix snapshot cow area deactivation if origin is not active.
- Reinitialise internal lvmdiskscan variables when called repeatedly.
- Allow keyboard interrupt during user prompts when appropriate.
- Fix deactivation code to follow dependencies and remove symlinks.
- Fix a segfault in device_is_usable() if a device has no table.
- Fix creation and conversion of mirrors with tags.
- Add command stub for pvck.
- Handle vgsplit of an entire VG as a vgrename.
- Fix vgsplit for lvm1 format (set and validate VG name in PVs metadata).
- Split metadata areas in vgsplit properly.
- Fix and clarify vgsplit error messages.
- Update lists of attribute characters in man pages.
- Remove unsupported LVM1 options from vgcfgrestore man page.
- Update vgcfgrestore man page to show mandatory VG name.
- Update vgrename man page to include UUID and be consistent with lvrename.
- Add some more debug messages to clvmd startup.
- Fix thread race in clvmd.
- Make clvmd cope with quorum devices.
- Add extra internal error checking to clvmd.
- Fix missing lvm_shell symbol in lvm2cmd library.
- Move regex functions into libdevmapper.
- Add kernel and device-mapper targets versions to lvmdump.
- Add /sys/block listings to lvmdump.
- Make lvmdump list /dev recursively.
- Mark /etc/lvm subdirectories as directories in spec file.
2007-03-19 21:21:22 +00:00
* Mon Mar 19 2007 Alasdair Kergon <agk@redhat.com> - 2.02.24-1
- Add BuildRequires readline-static until makefiles get fixed.
2007-03-19 21:21:22 +00:00
- Fix processing of exit status in init scripts
- Fix vgremove to require at least one vg argument.
- Fix reading of striped LVs in LVM1 format.
- Flag nolocking as clustered so clvmd startup sees clustered LVs.
- Add a few missing pieces of vgname command line validation.
- Support the /dev/mapper prefix on most command lines.
* Thu Mar 08 2007 Alasdair Kergon <agk@redhat.com> - 2.02.23-1
- Fix vgrename active LV check to ignore differing vgids.
- Fix two more segfaults if an empty config file section encountered.
- Fix a leak in a reporting error path.
- Add devices/cache_dir & devices/cache_file_prefix, deprecating devices/cache.
* Tue Feb 27 2007 Alasdair Kergon <agk@redhat.com> - 2.02.22-3
- Move .cache file to /etc/lvm/cache.
* Wed Feb 14 2007 Alasdair Kergon <agk@redhat.com> - 2.02.22-2
- Rebuild after device-mapper package split.
* Wed Feb 14 2007 Alasdair Kergon <agk@redhat.com> - 2.02.22-1
- Add ncurses-static BuildRequires after package split.
2007-02-13 23:24:47 +00:00
- Fix loading of segment_libraries.
- If a PV reappears after it was removed from its VG, make it an orphan.
- Don't update metadata automatically if VGIDs don't match.
- Fix some vgreduce --removemissing command line validation.
- Trivial man page corrections (-b and -P).
- Add global/units to example.conf.
- Remove readline support from lvm.static.
2007-02-13 23:24:47 +00:00
* Mon Feb 05 2007 Alasdair Kergon <agk@redhat.com> - 2.02.21-4
- Remove file wildcards and unintentional lvmconf installation.
* Mon Feb 05 2007 Alasdair Kergon <agk@redhat.com> - 2.02.21-3
- Add build dependency on new device-mapper-devel package.
* Wed Jan 31 2007 Alasdair Kergon <agk@redhat.com> - 2.02.21-2
- Remove superfluous execute perm from .cache data file.
2007-01-30 18:20:18 +00:00
* Tue Jan 30 2007 Alasdair Kergon <agk@redhat.com> - 2.02.21-1
- Fix vgsplit to handle mirrors.
- Reorder fields in reporting field definitions.
- Fix vgs to treat args as VGs even when PV fields are displayed.
- Fix md signature check to handle both endiannesses.
2007-01-26 14:29:32 +00:00
* Fri Jan 26 2007 Alasdair Kergon <agk@redhat.com> - 2.02.20-1
- Fix exit statuses of reporting tools.
- Add some missing close() and fclose() return code checks.
- Add devices/ignore_suspended_devices to ignore suspended dm devices.
- Fix refresh_toolcontext() always to wipe persistent device filter cache.
- Long-lived processes write out persistent dev cache in refresh_toolcontext().
- Streamline dm_report_field_* interface.
- Update reporting man pages.
- Add --clustered to man pages.
- Add field definitions to report help text.
* Mon Jan 22 2007 Milan Broz <mbroz@redhat.com> - 2.02.19-2
- Remove BuildRequires libtermcap-devel
Resolves: #223766
2007-01-17 18:07:31 +00:00
* Wed Jan 17 2007 Alasdair Kergon <agk@redhat.com> - 2.02.19-1
- Fix a segfault if an empty config file section encountered.
- Fix partition table processing after sparc changes.
- Fix cmdline PE range processing segfault.
- Move basic reporting functions into libdevmapper.
2007-01-12 12:42:44 +00:00
* Fri Jan 12 2007 Alasdair Kergon <agk@redhat.com> - 2.02.18-2
- Rebuild.
2007-01-11 23:12:19 +00:00
* Thu Jan 11 2007 Alasdair Kergon <agk@redhat.com> - 2.02.18-1
- Use CFLAGS when linking so mixed sparc builds can supply -m64.
- Prevent permission changes on active mirrors.
- Print warning instead of error message if lvconvert cannot zero volume.
- Add snapshot options to lvconvert man page.
- dumpconfig accepts a list of configuration variables to display.
- Change dumpconfig to use --file to redirect output to a file.
- Avoid vgreduce error when mirror code removes the log LV.
- Fix ambiguous vgsplit error message for split LV.
- Fix lvextend man page typo.
- Use no flush suspending for mirrors.
- Fix create mirror with name longer than 22 chars.
2006-12-14 20:15:14 +00:00
* Thu Dec 14 2006 Alasdair Kergon <agk@redhat.com> - 2.02.17-1
- Add missing pvremove error message when device doesn't exist.
- When lvconvert allocates a mirror log, respect parallel area constraints.
- Check for failure to allocate just the mirror log.
- Support mirror log allocation when there is only one PV: area_count now 0.
- Fix detection of smallest area in _alloc_parallel_area() for cling policy.
- Add manpage entry for clvmd -T
- Fix hang in clvmd if a pre-command failed.
2006-12-01 23:36:54 +00:00
* Fri Dec 01 2006 Alasdair Kergon <agk@redhat.com> - 2.02.16-1
- Fix VG clustered read locks to use PR not CR.
- Adjust some alignments for ia64/sparc.
- Fix mirror segment removal to use temporary error segment.
- Always compile debug logging into clvmd.
- Add startup timeout to clvmd startup script.
- Add -T (startup timeout) switch to clvmd.
- Improve lvm_dump.sh robustness.
2006-11-21 17:51:11 +00:00
* Tue Nov 21 2006 Alasdair Kergon <agk@redhat.com> - 2.02.15-3
- Fix clvmd init script line truncation.
2006-11-21 15:20:29 +00:00
* Tue Nov 21 2006 Alasdair Kergon <agk@redhat.com> - 2.02.15-2
2006-11-21 15:18:27 +00:00
- Fix lvm.conf segfault.
2006-11-20 20:48:44 +00:00
* Mon Nov 20 2006 Alasdair Kergon <agk@redhat.com> - 2.02.15-1
- New upstream - see WHATS_NEW.
2006-11-10 21:38:34 +00:00
* Fri Nov 11 2006 Alasdair Kergon <agk@redhat.com> - 2.02.14-1
- New upstream - see WHATS_NEW.
* Mon Oct 30 2006 Alasdair Kergon <agk@redhat.com> - 2.02.13-2
- Fix high-level free-space check on partial allocation.
Resolves: #212774
2006-10-27 15:30:24 +00:00
* Fri Oct 27 2006 Alasdair Kergon <agk@redhat.com> - 2.02.13-1
- New upstream - see WHATS_NEW.
Resolves: #205818
* Fri Oct 20 2006 Alasdair Kergon <agk@redhat.com> - 2.02.12-2
- Remove no-longer-used ldconfig from lvm2-cluster and fix lvmconf
to cope without the shared library.
* Mon Oct 16 2006 Alasdair Kergon <agk@redhat.com> - 2.02.12-1
- New upstream.
* Sat Oct 14 2006 Alasdair Kergon <agk@redhat.com> - 2.02.11-6
- Incorporate lvm2-cluster as a subpackage.
2006-10-14 17:04:26 +00:00
* Sat Oct 14 2006 Alasdair Kergon <agk@redhat.com> - 2.02.11-5
- Install lvmdump script.
* Sat Oct 14 2006 Alasdair Kergon <agk@redhat.com> - 2.02.11-4
- Build in cluster locking with fallback if external locking fails to load.
2006-10-14 15:05:46 +00:00
* Sat Oct 14 2006 Alasdair Kergon <agk@redhat.com> - 2.02.11-3
- Drop .0 suffix from release.
2006-10-14 14:42:36 +00:00
* Sat Oct 14 2006 Alasdair Kergon <agk@redhat.com> - 2.02.11-2.0
- Append distribution to release.
* Fri Oct 13 2006 Alasdair Kergon <agk@redhat.com> - 2.02.11-1.0
- New upstream with numerous fixes and small enhancements.
(See the WHATS_NEW documentation file for complete upstream changelog.)
* Thu Sep 28 2006 Peter Jones <pjones@redhat.com> - 2.02.06-4
- Fix metadata and map alignment problems on ppc64 (#206202)
2006-09-19 19:38:30 +00:00
* Tue Aug 1 2006 Jeremy Katz <katzj@redhat.com> - 2.02.06-3
- require new libselinux to avoid segfaults on xen (#200783)
2006-07-27 20:41:03 +00:00
* Thu Jul 27 2006 Jeremy Katz <katzj@redhat.com> - 2.02.06-2
- free trip through the buildsystem
2006-07-12 07:15:48 +00:00
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.02.06-1.2.1
- rebuild
* Tue Jun 6 2006 Stephen C. Tweedie <sct@redhat.com> - 2.02.06-1.2
- Rebuild to pick up new nosegneg libc.a for lvm.static
2006-05-22 16:08:53 +00:00
* Mon May 22 2006 Alasdair Kergon <agk@redhat.com> - 2.02.06-1.1
- Reinstate archs now build system is back.
- BuildRequires libsepol-devel.
2006-05-12 20:25:17 +00:00
* Fri May 12 2006 Alasdair Kergon <agk@redhat.com> - 2.02.06-1.0
- New upstream release.
2006-04-22 18:17:56 +00:00
* Sat Apr 22 2006 Alasdair Kergon <agk@redhat.com> - 2.02.05-1.1
- Exclude archs that aren't building.
2006-04-21 15:46:27 +00:00
* Fri Apr 21 2006 Alasdair Kergon <agk@redhat.com> - 2.02.05-1.0
- Fix VG uuid comparisons.
* Wed Apr 19 2006 Alasdair Kergon <agk@redhat.com> - 2.02.04-1.0
- New release upstream, including better handling of duplicated VG names.
2006-02-11 04:26:16 +00:00
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.02.01-1.2.1
- bump again for double-long bug on ppc(64)
2006-02-07 12:53:42 +00:00
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.02.01-1.2
- rebuilt for new gcc4.1 snapshot and glibc changes
2005-12-09 22:41:51 +00:00
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
- rebuilt
2005-12-02 21:55:26 +00:00
* Fri Dec 2 2005 Peter Jones <pjones@redhat.com> - 2.02.01-1
- update to 2.02.01
2005-11-09 04:09:57 +00:00
* Tue Nov 8 2005 Jeremy Katz <katzj@redhat.com> - 2.01.14-4
- add patch for xen block devices
2005-10-15 13:28:33 +00:00
* Sat Oct 15 2005 Florian La Roche <laroche@redhat.com>
- add -lselinux -lsepol to the static linking -ldevice-mapper requires it
* Wed Sep 14 2005 Jeremy Katz <katzj@redhat.com> - 2.01.14-2
- the distro doesn't really work without a 2.6 kernel, so no need to require it
2005-08-04 02:15:07 +00:00
* Thu Aug 4 2005 Alasdair Kergon <agk@redhat.com> - 2.01.14-1.0
2005-08-04 02:12:45 +00:00
- And a few more bugs fixes.
* Wed Jul 13 2005 Alasdair Kergon <agk@redhat.com> - 2.01.13-1.0
- Fix several bugs discovered in the last release.
2005-06-14 18:06:09 +00:00
* Tue Jun 14 2005 Alasdair Kergon <agk@redhat.com> - 2.01.12-1.0
- New version upstream with a lot of fixes and enhancements.
2005-04-27 19:32:29 +00:00
* Wed Apr 27 2005 Alasdair Kergon <agk@redhat.com> - 2.01.08-2.1
- Add /etc/lvm
* Wed Apr 27 2005 Alasdair Kergon <agk@redhat.com> - 2.01.08-2.0
- No longer abort read operations if archive/backup directories aren't there.
- Add runtime directories and file to the package.
* Tue Mar 22 2005 Alasdair Kergon <agk@redhat.com> - 2.01.08-1.0
- Improve detection of external changes affecting internal cache.
- Add clustered VG attribute.
- Suppress rmdir opendir error message.
2005-03-10 22:37:17 +00:00
* Tue Mar 08 2005 Alasdair Kergon <agk@redhat.com> - 2.01.07-1.3
2005-03-10 22:14:02 +00:00
* Tue Mar 08 2005 Alasdair Kergon <agk@redhat.com> - 2.01.07-1.2
2005-03-10 21:46:31 +00:00
* Tue Mar 08 2005 Alasdair Kergon <agk@redhat.com> - 2.01.07-1.1
- Suppress some new compiler messages.
* Tue Mar 08 2005 Alasdair Kergon <agk@redhat.com> - 2.01.07-1.0
- Remove build directory from built-in path.
- Extra /dev scanning required for clustered operation.
* Thu Mar 03 2005 Alasdair Kergon <agk@redhat.com> - 2.01.06-1.0
- Allow anaconda to suppress warning messages.
2005-02-18 19:26:58 +00:00
* Fri Feb 18 2005 Alasdair Kergon <agk@redhat.com> - 2.01.05-1.0
- Upstream changes not affecting Fedora.
* Wed Feb 09 2005 Alasdair Kergon <agk@redhat.com> - 2.01.04-1.0
- Offset pool minors; lvm2cmd.so skips open fd check; pvmove -f gone.
* Tue Feb 01 2005 Alasdair Kergon <agk@redhat.com> - 2.01.03-1.0
- Fix snapshot device size & 64-bit display output.
2005-01-21 19:07:02 +00:00
* Fri Jan 21 2005 Alasdair Kergon <agk@redhat.com> - 2.01.02-1.0
- Minor fixes.
* Mon Jan 17 2005 Alasdair Kergon <agk@redhat.com> - 2.01.01-1.0
- Update vgcreate man page. Preparation for snapshot origin extension fix.
* Mon Jan 17 2005 Alasdair Kergon <agk@redhat.com> - 2.01.00-1.0
- Fix metadata auto-correction. Only request open_count when needed.
2005-01-12 15:43:55 +00:00
* Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> - 2.00.33-2.0
- Rebuilt for new readline.
2005-01-07 20:03:55 +00:00
* Fri Jan 7 2005 Alasdair Kergon <agk@redhat.com> - 2.00.33-1.0
- pvcreate wipes ext label
- several clvm fixes
* Thu Jan 6 2005 Alasdair Kergon <agk@redhat.com> - 2.00.32-2.0
- Remove temporary /sbin symlinks no longer needed.
- Include read-only pool support in the build.
2004-12-22 22:14:14 +00:00
* Wed Dec 22 2004 Alasdair Kergon <agk@redhat.com> - 2.00.32-1.0
- More fixes (143501).
2004-12-12 21:59:44 +00:00
* Sun Dec 12 2004 Alasdair Kergon <agk@redhat.com> - 2.00.31-1.0
- Fix pvcreate install issues.
2004-12-10 16:44:26 +00:00
* Fri Dec 10 2004 Alasdair Kergon <agk@redhat.com> - 2.00.30-1.0
- Additional debugging code.
- Some trivial man page corrections.
2004-11-30 14:38:23 +00:00
* Tue Nov 30 2004 Alasdair Kergon <agk@redhat.com> - 2.00.29-1.3
- Reinstate all archs.
2004-11-28 11:33:48 +00:00
* Sun Nov 28 2004 Alasdair Kergon <agk@redhat.com> - 2.00.29-1.2
- Try excluding more archs.
2004-11-27 22:46:44 +00:00
* Sat Nov 27 2004 Alasdair Kergon <agk@redhat.com> - 2.00.29-1.1
- Exclude s390x which fails.
2004-11-27 22:17:19 +00:00
* Sat Nov 27 2004 Alasdair Kergon <agk@redhat.com> - 2.00.29-1
- Fix last fix.
2004-11-27 21:51:24 +00:00
* Sat Nov 27 2004 Alasdair Kergon <agk@redhat.com> - 2.00.28-1
- Endian fix to partition/md signature detection.
* Wed Nov 24 2004 Alasdair Kergon <agk@redhat.com> - 2.00.27-1
- Fix partition table detection & an out of memory segfault.
* Tue Nov 23 2004 Alasdair Kergon <agk@redhat.com> - 2.00.26-1
- Several installation-related fixes & man page updates.
2004-10-25 15:09:20 +00:00
* Mon Oct 25 2004 Elliot Lee <sopwith@redhat.com> - 2.00.25-1.01
- Fix 2.6 kernel requirement
* Wed Sep 29 2004 Alasdair Kergon <agk@redhat.com> - 2.00.25-1
- Fix vgmknodes return code & vgremove locking.
* Fri Sep 17 2004 Alasdair Kergon <agk@redhat.com> - 2.00.24-2
- Obsolete old lvm1 packages; refuse install if running kernel 2.4. [bz 128185]
* Thu Sep 16 2004 Alasdair Kergon <agk@redhat.com> - 2.00.24-1
- More upstream fixes. (Always check WHATS_NEW file for details.)
- Add requested BuildRequires. [bz 124916, 132408]
* Wed Sep 15 2004 Alasdair Kergon <agk@redhat.com> - 2.00.23-1
- Various minor upstream fixes.
* Thu Sep 3 2004 Alasdair Kergon <agk@redhat.com> - 2.00.22-1
- Permission fix included upstream; use different endian conversion macros.
* Thu Sep 2 2004 Jeremy Katz <katzj@redhat.com> - 2.00.21-2
- fix permissions on vg dirs
* Thu Aug 19 2004 Alasdair Kergon <agk@redhat.com> - 2.00.21-1
- New upstream release incorporating fixes plus minor enhancements.
* Tue Aug 17 2004 Jeremy Katz <katzj@redhat.com> - 2.00.20-2
- add patch for iSeries viodasd support
- add patch to check file type using stat(2) if d_type == DT_UNKNOWN (#129674)
* Sat Jul 3 2004 Alasdair Kergon <agk@redhat.com> - 2.00.20-1
- New upstream release fixes 2.6 kernel device numbers.
* Tue Jun 29 2004 Alasdair Kergon <agk@redhat.com> - 2.00.19-1
- Latest upstream release. Lots of changes (see WHATS_NEW).
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> - 2.00.15-5
- rebuilt
* Wed May 26 2004 Alasdair Kergon <agk@redhat.com> - 2.00.15-4
- clone %description from LVM rpm
* Wed May 26 2004 Alasdair Kergon <agk@redhat.com> - 2.00.15-3
- vgscan shouldn't return error status when no VGs present
auto-import changelog data from lvm2-2.00.15-2.src.rpm Thu May 06 2004 Warren Togami <wtogami@redhat.com> - 2.00.15-2 - i2o patch from Markus Lidel Tue Apr 20 2004 Bill Nottingham <notting@redhat.com> - 2.00.15-1.1 - handle disabled SELinux correctly, so that LVMs can be detected in a non-SELinux context Mon Apr 19 2004 Alasdair Kergon <agk@redhat.com> - 2.00.15-1 - Fix non-root build with current version of 'install'. Fri Apr 16 2004 Alasdair Kergon <agk@redhat.com> - 2.00.14-1 - Use 64-bit file offsets. Fri Apr 16 2004 Alasdair Kergon <agk@redhat.com> - 2.00.13-1 - Avoid scanning devices containing md superblocks. - Integrate ENOTSUP patch. Thu Apr 15 2004 Jeremy Katz <katzj@redhat.com> - 2.00.12-4 - don't die if we get ENOTSUP setting selinux contexts Thu Apr 15 2004 Alasdair Kergon <agk@redhat.com> 2.00.12-3 - Add temporary pvscan symlink for LVM1 until mkinitrd gets updated. Wed Apr 14 2004 Alasdair Kergon <agk@redhat.com> 2.00.12-2 - Mark config file noreplace. Wed Apr 14 2004 Alasdair Kergon <agk@redhat.com> 2.00.12-1 - Install default /etc/lvm/lvm.conf. - Move non-static binaries to /usr/sbin. - Add temporary links in /sbin to lvm.static until rc.sysinit gets updated. Thu Apr 08 2004 Alasdair Kergon <agk@redhat.com> 2.00.11-1 - Fallback to using LVM1 tools when using a 2.4 kernel without device-mapper. Wed Apr 07 2004 Alasdair Kergon <agk@redhat.com> 2.00.10-2 - Install the full toolset, not just 'lvm'. Wed Apr 07 2004 Alasdair Kergon <agk@redhat.com> 2.00.10-1 - Update to version 2.00.10, which incorporates the RH-specific patches and includes various fixes and enhancements detailed in WHATS_NEW.
2004-09-09 08:07:17 +00:00
* Thu May 06 2004 Warren Togami <wtogami@redhat.com> - 2.00.15-2
- i2o patch from Markus Lidel
* Tue Apr 20 2004 Bill Nottingham <notting@redhat.com> - 2.00.15-1.1
- handle disabled SELinux correctly, so that LVMs can be detected in a
non-SELinux context
* Mon Apr 19 2004 Alasdair Kergon <agk@redhat.com> - 2.00.15-1
- Fix non-root build with current version of 'install'.
* Fri Apr 16 2004 Alasdair Kergon <agk@redhat.com> - 2.00.14-1
- Use 64-bit file offsets.
* Fri Apr 16 2004 Alasdair Kergon <agk@redhat.com> - 2.00.13-1
- Avoid scanning devices containing md superblocks.
- Integrate ENOTSUP patch.
* Thu Apr 15 2004 Jeremy Katz <katzj@redhat.com> - 2.00.12-4
- don't die if we get ENOTSUP setting selinux contexts
* Thu Apr 15 2004 Alasdair Kergon <agk@redhat.com> 2.00.12-3
- Add temporary pvscan symlink for LVM1 until mkinitrd gets updated.
* Wed Apr 14 2004 Alasdair Kergon <agk@redhat.com> 2.00.12-2
- Mark config file noreplace.
* Wed Apr 14 2004 Alasdair Kergon <agk@redhat.com> 2.00.12-1
- Install default /etc/lvm/lvm.conf.
- Move non-static binaries to /usr/sbin.
- Add temporary links in /sbin to lvm.static until rc.sysinit gets updated.
* Thu Apr 08 2004 Alasdair Kergon <agk@redhat.com> 2.00.11-1
- Fallback to using LVM1 tools when using a 2.4 kernel without device-mapper.
* Wed Apr 07 2004 Alasdair Kergon <agk@redhat.com> 2.00.10-2
- Install the full toolset, not just 'lvm'.
* Wed Apr 07 2004 Alasdair Kergon <agk@redhat.com> 2.00.10-1
- Update to version 2.00.10, which incorporates the RH-specific patches
and includes various fixes and enhancements detailed in WHATS_NEW.
* Wed Mar 17 2004 Jeremy Katz <katzj@redhat.com> 2.00.08-5
- Fix sysfs patch to find sysfs
- Take patch from dwalsh and tweak a little for setting SELinux contexts on
device node creation and also do it on the symlink creation.
Part of this should probably be pushed down to device-mapper instead
* Thu Feb 19 2004 Stephen C. Tweedie <sct@redhat.com> 2.00.08-4
- Add sysfs filter patch
- Allow non-root users to build RPM
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Fri Dec 5 2003 Jeremy Katz <katzj@redhat.com> 2.00.08-2
- add static lvm binary
* Tue Dec 2 2003 Jeremy Katz <katzj@redhat.com>
- Initial build.