New upstream release v2.02.143 introducing LVM D-Bus daemon.
Introducing new lvm2-dbusd package to include LVM D-Bus daemon and service.
This commit is contained in:
parent
cc971888d3
commit
d48887cb6f
1
.gitignore
vendored
1
.gitignore
vendored
@ -47,3 +47,4 @@
|
|||||||
/LVM2.2.02.140.tgz
|
/LVM2.2.02.140.tgz
|
||||||
/LVM2.2.02.141.tgz
|
/LVM2.2.02.141.tgz
|
||||||
/LVM2.2.02.142.tgz
|
/LVM2.2.02.142.tgz
|
||||||
|
/LVM2.2.02.143.tgz
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
Version: GnuPG v2.0.14 (GNU/Linux)
|
|
||||||
|
|
||||||
iEYEABECAAYFAlbBqzIACgkQIoGRwVZ+LBcCdQCg9kmqTYe/ytPMzuk22qCgOib+
|
|
||||||
FA4AmQHoTWncH1unfkbPOU1qRpl6Ua07
|
|
||||||
=eEIO
|
|
||||||
-----END PGP SIGNATURE-----
|
|
7
LVM2.2.02.143.tgz.asc
Normal file
7
LVM2.2.02.143.tgz.asc
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
Version: GnuPG v2.0.14 (GNU/Linux)
|
||||||
|
|
||||||
|
iEYEABECAAYFAlbKSZEACgkQIoGRwVZ+LBeDjQCgwkQ9stwAYYYnhpZHEbwTqVc0
|
||||||
|
s9wAoLhunXIu/lwy1keuzIwkAS8iyUN4
|
||||||
|
=gepI
|
||||||
|
-----END PGP SIGNATURE-----
|
104
lvm2.spec
104
lvm2.spec
@ -1,8 +1,9 @@
|
|||||||
%global device_mapper_version 1.02.116
|
%global device_mapper_version 1.02.117
|
||||||
|
|
||||||
%global enable_cache 1
|
%global enable_cache 1
|
||||||
%global enable_cluster 1
|
%global enable_cluster 1
|
||||||
%global enable_cmirror 1
|
%global enable_cmirror 1
|
||||||
|
%global enable_lvmdbusd 1
|
||||||
%global enable_lvmetad 1
|
%global enable_lvmetad 1
|
||||||
%global enable_lvmlockd 1
|
%global enable_lvmlockd 1
|
||||||
%global enable_lvmpolld 1
|
%global enable_lvmpolld 1
|
||||||
@ -29,6 +30,7 @@
|
|||||||
%global enable_cluster 0
|
%global enable_cluster 0
|
||||||
%global enable_cmirror 0
|
%global enable_cmirror 0
|
||||||
%endif
|
%endif
|
||||||
|
%global enable_lvmdbusd 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{enable_cluster}
|
%if %{enable_cluster}
|
||||||
@ -40,6 +42,9 @@
|
|||||||
%global configure_cluster --with-cluster=internal --with-clvmd=none
|
%global configure_cluster --with-cluster=internal --with-clvmd=none
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%if %{enable_lvmdbusd}
|
||||||
|
%global enable_python 1
|
||||||
|
%endif
|
||||||
|
|
||||||
# Do not reset Release to 1 unless both lvm2 and device-mapper
|
# Do not reset Release to 1 unless both lvm2 and device-mapper
|
||||||
# versions are increased together.
|
# versions are increased together.
|
||||||
@ -47,7 +52,7 @@
|
|||||||
Summary: Userland logical volume management tools
|
Summary: Userland logical volume management tools
|
||||||
Name: lvm2
|
Name: lvm2
|
||||||
|
|
||||||
Version: 2.02.142
|
Version: 2.02.143
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
@ -56,6 +61,7 @@ Source0: ftp://sources.redhat.com/pub/lvm2/releases/LVM2.%{version}.tgz
|
|||||||
Patch0: lvm2-set-default-preferred_names.patch
|
Patch0: lvm2-set-default-preferred_names.patch
|
||||||
Patch1: lvm2-remove-mpath-device-handling-from-udev-rules.patch
|
Patch1: lvm2-remove-mpath-device-handling-from-udev-rules.patch
|
||||||
Patch2: lvm2-lvmetad-timeout.patch
|
Patch2: lvm2-lvmetad-timeout.patch
|
||||||
|
Patch3: lvm2-lvmdbusd-remove-chmod-from-makefile-for-nonexistent-pyo-files.patch
|
||||||
|
|
||||||
BuildRequires: libselinux-devel >= %{libselinux_version}, libsepol-devel
|
BuildRequires: libselinux-devel >= %{libselinux_version}, libsepol-devel
|
||||||
BuildRequires: libblkid-devel >= %{util_linux_version}
|
BuildRequires: libblkid-devel >= %{util_linux_version}
|
||||||
@ -76,6 +82,10 @@ BuildRequires: python2-devel
|
|||||||
BuildRequires: python3-devel
|
BuildRequires: python3-devel
|
||||||
BuildRequires: python-setuptools
|
BuildRequires: python-setuptools
|
||||||
%endif
|
%endif
|
||||||
|
%if %{enable_lvmdbusd}
|
||||||
|
BuildRequires: python3-dbus
|
||||||
|
BuildRequires: python3-pyudev
|
||||||
|
%endif
|
||||||
%if %{enable_thin} || %{enable_cache}
|
%if %{enable_thin} || %{enable_cache}
|
||||||
BuildRequires: device-mapper-persistent-data >= %{persistent_data_version}
|
BuildRequires: device-mapper-persistent-data >= %{persistent_data_version}
|
||||||
%endif
|
%endif
|
||||||
@ -108,6 +118,7 @@ or more physical volumes and creating one or more logical volumes
|
|||||||
%patch0 -p1 -b .preferred_names
|
%patch0 -p1 -b .preferred_names
|
||||||
%patch1 -p1 -b .udev_no_mpath
|
%patch1 -p1 -b .udev_no_mpath
|
||||||
%patch2 -p1 -b .lvmetad_timeout
|
%patch2 -p1 -b .lvmetad_timeout
|
||||||
|
%patch3 -p1 -b .dbusd_make_remove_pyo
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%global _default_pid_dir /run
|
%global _default_pid_dir /run
|
||||||
@ -144,26 +155,16 @@ or more physical volumes and creating one or more logical volumes
|
|||||||
%global configure_lvmpolld --enable-lvmpolld
|
%global configure_lvmpolld --enable-lvmpolld
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{enable_python}
|
%if %{enable_lvmdbusd}
|
||||||
%global configure_python --enable-python-bindings
|
%global configure_lvmdbusd --enable-dbus-service
|
||||||
%global configure_python3_flags PYTHON=/usr/bin/python3 PYTHON_CONFIG=/usr/bin/python3-config
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%global configure_final --with-default-dm-run-dir=%{_default_dm_run_dir} --with-default-run-dir=%{_default_run_dir} --with-default-pid-dir=%{_default_pid_dir} --with-default-locking-dir=%{_default_locking_dir} --with-usrlibdir=%{_libdir} --enable-lvm1_fallback --enable-fsadm --with-pool=internal --enable-write_install --with-user= --with-group= --with-device-uid=0 --with-device-gid=6 --with-device-mode=0660 --enable-pkgconfig --enable-applib --enable-cmdlib --enable-dmeventd --enable-blkid_wiping %{?configure_python} %{?configure_cluster} %{?configure_cmirror} %{?configure_udev} %{?configure_thin} %{?configure_lvmetad} %{?configure_cache} %{?configure_lvmpolld} %{?configure_lockd_dlm} %{?configure_lockd_sanlock}
|
|
||||||
|
|
||||||
%if %{enable_python}
|
%if %{enable_python}
|
||||||
rm -rf %{py3dir}
|
%global configure_python --enable-python2-bindings --enable-python3-bindings
|
||||||
cp -a . %{py3dir}
|
|
||||||
|
|
||||||
# Also configure and build Python 3 bindings.
|
|
||||||
pushd %{py3dir}
|
|
||||||
%configure %{?configure_final} %{?configure_python3_flags}
|
|
||||||
make %{?_smp_mflags}
|
|
||||||
popd
|
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%configure %{?configure_final}
|
%configure --with-default-dm-run-dir=%{_default_dm_run_dir} --with-default-run-dir=%{_default_run_dir} --with-default-pid-dir=%{_default_pid_dir} --with-default-locking-dir=%{_default_locking_dir} --with-usrlibdir=%{_libdir} --enable-lvm1_fallback --enable-fsadm --with-pool=internal --enable-write_install --with-user= --with-group= --with-device-uid=0 --with-device-gid=6 --with-device-mode=0660 --enable-pkgconfig --enable-applib --enable-cmdlib --enable-dmeventd --enable-blkid_wiping %{?configure_python} %{?configure_cluster} %{?configure_cmirror} %{?configure_udev} %{?configure_thin} %{?configure_lvmetad} %{?configure_cache} %{?configure_lvmpolld} %{?configure_lockd_dlm} %{?configure_lockd_sanlock} %{?configure_lvmdbusd}
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
@ -173,13 +174,6 @@ make install_systemd_units DESTDIR=$RPM_BUILD_ROOT
|
|||||||
make install_systemd_generators DESTDIR=$RPM_BUILD_ROOT
|
make install_systemd_generators DESTDIR=$RPM_BUILD_ROOT
|
||||||
make install_tmpfiles_configuration DESTDIR=$RPM_BUILD_ROOT
|
make install_tmpfiles_configuration DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
%if %{enable_python}
|
|
||||||
# Also install Python3 bindings.
|
|
||||||
pushd %{py3dir}
|
|
||||||
make -C python install DESTDIR=$RPM_BUILD_ROOT
|
|
||||||
popd
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
@ -483,7 +477,8 @@ Python 3 module to allow the creation and use of LVM
|
|||||||
logical volumes, physical volumes, and volume groups.
|
logical volumes, physical volumes, and volume groups.
|
||||||
|
|
||||||
%files python3-libs
|
%files python3-libs
|
||||||
%{python3_sitearch}/*
|
%{python3_sitearch}/*.so
|
||||||
|
%{python3_sitearch}/*.egg-info
|
||||||
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@ -647,6 +642,48 @@ involvement (e.g. pacemaker).
|
|||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
##############################################################################
|
||||||
|
# LVM D-Bus daemon
|
||||||
|
##############################################################################
|
||||||
|
%if %{enable_lvmdbusd}
|
||||||
|
|
||||||
|
%package dbusd
|
||||||
|
Summary: LVM2 D-Bus daemon
|
||||||
|
License: GPLv2
|
||||||
|
Group: System Environment/Base
|
||||||
|
Requires: lvm2 >= %{version}-%{release}
|
||||||
|
Requires: dbus
|
||||||
|
Requires: python3-dbus
|
||||||
|
Requires: python3-pyudev
|
||||||
|
Requires(post): systemd-units >= %{systemd_version}
|
||||||
|
Requires(preun): systemd-units >= %{systemd_version}
|
||||||
|
Requires(postun): systemd-units >= %{systemd_version}
|
||||||
|
|
||||||
|
%description dbusd
|
||||||
|
|
||||||
|
Daemon for access to LVM2 functionality through a D-Bus interface.
|
||||||
|
|
||||||
|
%post dbusd
|
||||||
|
%systemd_post lvm2-lvmdbusd.service
|
||||||
|
|
||||||
|
%preun dbusd
|
||||||
|
%systemd_preun lvm2-lvmdbusd.service
|
||||||
|
|
||||||
|
%postun dbusd
|
||||||
|
%systemd_postun lvm2-lvmdbusd.service
|
||||||
|
|
||||||
|
%files dbusd
|
||||||
|
%defattr(555,root,root,-)
|
||||||
|
%{_sbindir}/lvmdbusd
|
||||||
|
%defattr(444,root,root,-)
|
||||||
|
%{_sysconfdir}/dbus-1/system.d/com.redhat.lvmdbus1.conf
|
||||||
|
%{_datadir}/dbus-1/system-services/com.redhat.lvmdbus1.service
|
||||||
|
%{_mandir}/man8/lvmdbusd.8.gz
|
||||||
|
%{_unitdir}/lvm2-lvmdbusd.service
|
||||||
|
%{python3_sitelib}/lvmdbusd/*
|
||||||
|
|
||||||
|
%endif
|
||||||
|
|
||||||
##############################################################################
|
##############################################################################
|
||||||
# Device-mapper subpackages
|
# Device-mapper subpackages
|
||||||
##############################################################################
|
##############################################################################
|
||||||
@ -796,6 +833,22 @@ the device-mapper event library.
|
|||||||
%{_libdir}/pkgconfig/devmapper-event.pc
|
%{_libdir}/pkgconfig/devmapper-event.pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 22 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.143-1
|
||||||
|
- Introduce new lvm2-dbusd package providing LVM D-Bus daemon and service.
|
||||||
|
- Fix error path when sending thin-pool message fails in update_pool_lv().
|
||||||
|
- Support reporting CheckNeeded and Fail state for thin-pool and thin LV.
|
||||||
|
- For failing thin-pool and thin volume correctly report percentage as INVALID.
|
||||||
|
- Report -1, not 'unkown' for lv_{snapshot_invalid,merge_failed} with --binary.
|
||||||
|
- Add configure --enable-dbus-service for an LVM D-Bus service.
|
||||||
|
- Replace configure --enable-python_bindings with python2 and python3 versions.
|
||||||
|
- If PV belongs to some VG and metadata missing, skip it if system ID is used.
|
||||||
|
- Automatically change PV header extension to latest version if writing PV/VG.
|
||||||
|
- Identify used PVs in pv_attr field by new 'u' character.
|
||||||
|
- Add pv_in_use reporting field to report if PV is used or not.
|
||||||
|
- Add pv_ext_vsn reporting field to report PV header extension version.
|
||||||
|
- Add protective flag marking PVs as used even if no metadata available.
|
||||||
|
- Improve status parsing for thin-pool and thin devices.
|
||||||
|
|
||||||
* Mon Feb 15 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.142-1
|
* Mon Feb 15 2016 Peter Rajnoha <prajnoha@redhat.com> - 2.02.142-1
|
||||||
- Fix memory pool corruption in pvmove (2.02.141).
|
- Fix memory pool corruption in pvmove (2.02.141).
|
||||||
- Support control of spare metadata creation when repairing thin-pool.
|
- Support control of spare metadata creation when repairing thin-pool.
|
||||||
@ -4228,3 +4281,4 @@ the device-mapper event library.
|
|||||||
- Initial build.
|
- Initial build.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
53dffb3ba964c0f0709f6e8922795bdd LVM2.2.02.142.tgz
|
e228c11069ef0648d811e02f4a98f039 LVM2.2.02.143.tgz
|
||||||
|
Loading…
Reference in New Issue
Block a user