Blame SPECS/iscsi-initiator-utils.spec

587c20
%global open_iscsi_version	2.0
50a52f
%global open_iscsi_build	878
50a52f
%global commit0			d791ce020673381cf3b559866d1f61e0411126a6
587c20
%global shortcommit0		%(c=%{commit0}; echo ${c:0:7})
587c20
587c20
%if 0%{?rhel} > 7
587c20
# Disable python2 build by default
587c20
%bcond_with python2
587c20
%else
587c20
%bcond_without python2
587c20
%endif
587c20
587c20
Summary: iSCSI daemon and utility programs
587c20
Name: iscsi-initiator-utils
587c20
Version: 6.%{open_iscsi_version}.%{open_iscsi_build}
50a52f
Release: 0.git%{shortcommit0}%{?dist}
587c20
Group: System Environment/Daemons
587c20
License: GPLv2+
587c20
URL: http://www.open-iscsi.org
587c20
Source0: https://github.com/open-iscsi/open-iscsi/archive/%{commit0}.tar.gz#/open-iscsi-%{shortcommit0}.tar.gz
587c20
Source4: 04-iscsi
587c20
Source5: iscsi-tmpfiles.conf
587c20
587c20
Patch0001: 0001-service-file-tweaks.patch
50a52f
Patch0002: 0002-idmb_rec_write-check-for-tpgt-first.patch
50a52f
Patch0003: 0003-idbm_rec_write-seperate-old-and-new-style-writes.patch
50a52f
Patch0004: 0004-idbw_rec_write-pick-tpgt-from-existing-record.patch
50a52f
Patch0005: 0005-update-initscripts-and-docs.patch
50a52f
Patch0006: 0006-use-var-for-config.patch
50a52f
Patch0007: 0007-use-red-hat-for-name.patch
50a52f
Patch0008: 0008-libiscsi.patch
50a52f
Patch0009: 0009-Add-macros-to-release-GIL-lock.patch
50a52f
Patch0010: 0010-libiscsi-introduce-sessions-API.patch
50a52f
Patch0011: 0011-libiscsi-fix-discovery-request-timeout-regression.patch
50a52f
Patch0012: 0012-libiscsi-format-security-build-errors.patch
50a52f
Patch0013: 0013-libiscsi-fix-build-to-use-libopeniscsiusr.patch
50a52f
Patch0014: 0014-libiscsi-fix-build-against-latest-upstream-again.patch
50a52f
Patch0015: 0015-remove-the-offload-boot-supported-ifdef.patch
50a52f
Patch0016: 0016-Revert-iscsiadm-return-error-when-login-fails.patch
50a52f
Patch0017: 0017-dont-install-scripts.patch
50a52f
Patch0018: 0018-use-var-lib-iscsi-in-libopeniscsiusr.patch
50a52f
Patch0019: 0019-Coverity-scan-fixes.patch
50a52f
Patch0020: 0020-fix-upstream-build-breakage-of-iscsiuio-LDFLAGS.patch
50a52f
Patch0021: 0021-improve-systemd-service-files-for-boot-session-handl.patch
50a52f
Patch0022: 0022-use-Red-Hat-version-string-to-match-RPM-package-vers.patch
587c20
587c20
BuildRequires: flex bison doxygen kmod-devel systemd-units
587c20
BuildRequires: autoconf automake libtool libmount-devel openssl-devel
587c20
BuildRequires: isns-utils-devel
587c20
BuildRequires: systemd-devel
587c20
# For dir ownership
587c20
Requires: %{name}-iscsiuio >= %{version}-%{release}
587c20
Requires(post): systemd
587c20
Requires(preun): systemd
587c20
Requires(postun): systemd
587c20
587c20
%global _hardened_build 1
587c20
%global __provides_exclude_from ^(%{python2_sitearch}/.*\\.so|%{python3_sitearch}/.*\\.so)$
587c20
587c20
%description
587c20
The iscsi package provides the server daemon for the iSCSI protocol,
587c20
as well as the utility programs used to manage it. iSCSI is a protocol
587c20
for distributed disk access using SCSI commands sent over Internet
587c20
Protocol networks.
587c20
587c20
# I don't think we're ready to expose these just yet
587c20
# For now just add the needed library to the base package
587c20
587c20
#%package -n libopeniscsiusr
587c20
#Summary: library providing access to Open-iSCSI initiator functionality
587c20
#Group: Development/Libraries
587c20
#License: BSD
587c20
587c20
#%description -n libopeniscsiusr
587c20
#The libopeniscsiusr library provides a C API for access to the Open-iSCSI
587c20
#initiator. It is used by the Open-iSCSI command line tools.
587c20
587c20
#%package -n libopeniscsiusr-devel
587c20
#Summary: Development files for libopeniscsiusr
587c20
#Group: Development/Libraries
587c20
#Requires: libopeniscsiusr = %{version}-%{release}
587c20
587c20
#%description -n libopeniscsiusr-devel
587c20
#The libopeniscsiusr-devel package contains libraries and header files for
587c20
#developing applications that use libopeniscsiusr.
587c20
587c20
%package iscsiuio
587c20
Summary: Userspace configuration daemon required for some iSCSI hardware
587c20
Group: System Environment/Daemons
587c20
License: BSD
587c20
Requires: %{name} = %{version}-%{release}
587c20
587c20
%description iscsiuio
587c20
The iscsiuio configuration daemon provides network configuration help
587c20
for some iSCSI offload hardware.
587c20
587c20
%package devel
587c20
Summary: Development files for %{name}
587c20
Group: Development/Libraries
587c20
Requires: %{name} = %{version}-%{release}
587c20
587c20
%description devel
587c20
The %{name}-devel package contains libraries and header files for
587c20
developing applications that use %{name}.
587c20
587c20
%if %{with python2}
587c20
%package -n python2-%{name}
587c20
%{?python_provide:%python_provide python2-%{name}}
587c20
Summary: Python %{python2_version} bindings to %{name}
587c20
Group: Development/Libraries
587c20
587c20
BuildRequires: python2-devel
587c20
BuildRequires: python2-setuptools
587c20
587c20
%description -n python2-%{name}
587c20
The %{name}-python2 package contains Python %{python2_version} bindings to the
587c20
libiscsi interface for interacting with %{name}
587c20
%endif # with python2
587c20
587c20
%package -n python3-%{name}
587c20
%{?python_provide:%python_provide python3-%{name}}
587c20
Summary: Python %{python3_version} bindings to %{name}
587c20
Group: Development/Libraries
587c20
587c20
BuildRequires: python3-devel
587c20
BuildRequires: python3-setuptools
587c20
587c20
%description -n python3-%{name}
587c20
The %{name}-python3 package contains Python %{python3_version} bindings to the
587c20
libiscsi interface for interacting with %{name}
587c20
587c20
%prep
587c20
%autosetup -p1 -n open-iscsi-%{commit0}
587c20
587c20
# change exec_prefix, there's no easy way to override
587c20
%{__sed} -i -e 's|^exec_prefix = /$|exec_prefix = %{_exec_prefix}|' Makefile
587c20
587c20
%build
587c20
587c20
# configure sub-packages from here
587c20
# letting the top level Makefile do it will lose setting from rpm
587c20
cd iscsiuio
587c20
autoreconf --install
587c20
%{configure}
587c20
cd ..
587c20
50a52f
%{__make} OPTFLAGS="%{optflags} %{?__global_ldflags}"
587c20
pushd libiscsi
587c20
%if %{with python2}
587c20
%py2_build
587c20
%endif # with python2
587c20
%py3_build
587c20
touch -r libiscsi.doxy html/*
587c20
popd
587c20
587c20
587c20
%install
587c20
%{__make} DESTDIR=%{?buildroot} install_programs install_doc install_etc install_libopeniscsiusr
587c20
# upstream makefile doesn't get everything the way we like it
587c20
#rm $RPM_BUILD_ROOT%{_sbindir}/iscsi_discovery
587c20
rm $RPM_BUILD_ROOT%{_mandir}/man8/iscsi_discovery.8
587c20
rm $RPM_BUILD_ROOT%{_mandir}/man8/iscsi_fw_login.8
587c20
%{__install} -pm 755 usr/iscsistart $RPM_BUILD_ROOT%{_sbindir}
587c20
%{__install} -pm 644 doc/iscsistart.8 $RPM_BUILD_ROOT%{_mandir}/man8
587c20
%{__install} -pm 644 doc/iscsi-iname.8 $RPM_BUILD_ROOT%{_mandir}/man8
587c20
%{__install} -d $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
587c20
%{__install} -pm 644 iscsiuio/iscsiuiolog $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
587c20
587c20
%{__install} -d $RPM_BUILD_ROOT%{_sharedstatedir}/iscsi
587c20
%{__install} -d $RPM_BUILD_ROOT%{_sharedstatedir}/iscsi/nodes
587c20
%{__install} -d $RPM_BUILD_ROOT%{_sharedstatedir}/iscsi/send_targets
587c20
%{__install} -d $RPM_BUILD_ROOT%{_sharedstatedir}/iscsi/static
587c20
%{__install} -d $RPM_BUILD_ROOT%{_sharedstatedir}/iscsi/isns
587c20
%{__install} -d $RPM_BUILD_ROOT%{_sharedstatedir}/iscsi/slp
587c20
%{__install} -d $RPM_BUILD_ROOT%{_sharedstatedir}/iscsi/ifaces
587c20
587c20
# for %%ghost
587c20
%{__install} -d $RPM_BUILD_ROOT/var/lock/iscsi
587c20
touch $RPM_BUILD_ROOT/var/lock/iscsi/lock
587c20
587c20
587c20
%{__install} -d $RPM_BUILD_ROOT%{_unitdir}
587c20
%{__install} -pm 644 etc/systemd/iscsi.service $RPM_BUILD_ROOT%{_unitdir}
587c20
%{__install} -pm 644 etc/systemd/iscsi-shutdown.service $RPM_BUILD_ROOT%{_unitdir}
587c20
%{__install} -pm 644 etc/systemd/iscsid.service $RPM_BUILD_ROOT%{_unitdir}
587c20
%{__install} -pm 644 etc/systemd/iscsid.socket $RPM_BUILD_ROOT%{_unitdir}
587c20
%{__install} -pm 644 etc/systemd/iscsiuio.service $RPM_BUILD_ROOT%{_unitdir}
587c20
%{__install} -pm 644 etc/systemd/iscsiuio.socket $RPM_BUILD_ROOT%{_unitdir}
587c20
587c20
%{__install} -d $RPM_BUILD_ROOT%{_libexecdir}
587c20
%{__install} -pm 755 etc/systemd/iscsi-mark-root-nodes $RPM_BUILD_ROOT%{_libexecdir}
587c20
587c20
%{__install} -d $RPM_BUILD_ROOT%{_sysconfdir}/NetworkManager/dispatcher.d
587c20
%{__install} -pm 755 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/NetworkManager/dispatcher.d
587c20
587c20
%{__install} -d $RPM_BUILD_ROOT%{_tmpfilesdir}
587c20
%{__install} -pm 644 %{SOURCE5} $RPM_BUILD_ROOT%{_tmpfilesdir}/iscsi.conf
587c20
587c20
%{__install} -d $RPM_BUILD_ROOT%{_libdir}
587c20
%{__install} -pm 755 libiscsi/libiscsi.so.0 $RPM_BUILD_ROOT%{_libdir}
587c20
%{__ln_s}    libiscsi.so.0 $RPM_BUILD_ROOT%{_libdir}/libiscsi.so
587c20
%{__install} -d $RPM_BUILD_ROOT%{_includedir}
587c20
%{__install} -pm 644 libiscsi/libiscsi.h $RPM_BUILD_ROOT%{_includedir}
587c20
587c20
%if %{with python2}
587c20
%{__install} -d $RPM_BUILD_ROOT%{python2_sitearch}
587c20
%endif # with python2
587c20
%{__install} -d $RPM_BUILD_ROOT%{python3_sitearch}
587c20
pushd libiscsi
587c20
%if %{with python2}
587c20
%py2_install
587c20
%endif # with python2
587c20
%py3_install
587c20
popd
587c20
587c20
587c20
%post
587c20
/sbin/ldconfig
587c20
587c20
%systemd_post iscsi.service iscsi-shutdown.service iscsid.service iscsid.socket
587c20
587c20
if [ $1 -eq 1 ]; then
587c20
	if [ ! -f %{_sysconfdir}/iscsi/initiatorname.iscsi ]; then
587c20
		echo "InitiatorName=`/usr/sbin/iscsi-iname`" > %{_sysconfdir}/iscsi/initiatorname.iscsi
587c20
	fi
587c20
	# enable socket activation and persistant session startup by default
587c20
	/bin/systemctl enable iscsi.service >/dev/null 2>&1 || :
587c20
	/bin/systemctl enable iscsid.socket >/dev/null 2>&1 || :
587c20
fi
587c20
587c20
%post iscsiuio
587c20
%systemd_post iscsiuio.service iscsiuio.socket
587c20
587c20
if [ $1 -eq 1 ]; then
587c20
	/bin/systemctl enable iscsiuio.socket >/dev/null 2>&1 || :
587c20
fi
587c20
587c20
%preun
587c20
%systemd_preun iscsi.service iscsi-shutdown.service iscsid.service iscsiuio.service iscsid.socket iscsiuio.socket
587c20
587c20
%preun iscsiuio
587c20
%systemd_preun iscsiuio.service iscsiuio.socket
587c20
587c20
%postun
587c20
/sbin/ldconfig
50a52f
%systemd_postun iscsi.service iscsi-shutdown.service iscsid.service iscsiuio.service iscsid.socket iscsiuio.socket
587c20
587c20
%postun iscsiuio
50a52f
%systemd_postun iscsiuio.service iscsiuio.socket
587c20
587c20
%triggerun -- iscsi-initiator-utils < 6.2.0.873-25
587c20
# prior to 6.2.0.873-24 iscsi.service was missing a Wants=remote-fs-pre.target
587c20
# this forces remote-fs-pre.target active if needed for a clean shutdown/reboot
587c20
# after upgrading this package
587c20
if [ $1 -gt 0 ]; then
587c20
    /usr/bin/systemctl -q is-active iscsi.service
587c20
    if [ $? -eq 0 ]; then
587c20
        /usr/bin/systemctl -q is-active remote-fs-pre.target
587c20
        if [ $? -ne 0 ]; then
587c20
            SRC=`/usr/bin/systemctl show --property FragmentPath remote-fs-pre.target | cut -d= -f2`
587c20
            DST=/run/systemd/system/remote-fs-pre.target
587c20
            if [ $SRC != $DST ]; then
587c20
                cp $SRC $DST
587c20
            fi
587c20
            sed -i 's/RefuseManualStart=yes/RefuseManualStart=no/' $DST
587c20
            /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || :
587c20
            /usr/bin/systemctl start remote-fs-pre.target >/dev/null 2>&1 || :
587c20
        fi
587c20
    fi
587c20
fi
587c20
# added in 6.2.0.873-25
587c20
if [ $1 -gt 0 ]; then
587c20
    systemctl start iscsi-shutdown.service >/dev/null 2>&1 || :
587c20
fi
587c20
587c20
587c20
%files
587c20
%doc README
587c20
%dir %{_sharedstatedir}/iscsi
587c20
%dir %{_sharedstatedir}/iscsi/nodes
587c20
%dir %{_sharedstatedir}/iscsi/isns
587c20
%dir %{_sharedstatedir}/iscsi/static
587c20
%dir %{_sharedstatedir}/iscsi/slp
587c20
%dir %{_sharedstatedir}/iscsi/ifaces
587c20
%dir %{_sharedstatedir}/iscsi/send_targets
587c20
%ghost %{_var}/lock/iscsi
587c20
%ghost %{_var}/lock/iscsi/lock
587c20
%{_unitdir}/iscsi.service
587c20
%{_unitdir}/iscsi-shutdown.service
587c20
%{_unitdir}/iscsid.service
587c20
%{_unitdir}/iscsid.socket
587c20
%{_libexecdir}/iscsi-mark-root-nodes
587c20
%{_sysconfdir}/NetworkManager/dispatcher.d/04-iscsi
587c20
%{_tmpfilesdir}/iscsi.conf
587c20
%dir %{_sysconfdir}/iscsi
587c20
%attr(0600,root,root) %config(noreplace) %{_sysconfdir}/iscsi/iscsid.conf
587c20
%{_sbindir}/iscsi-iname
587c20
%{_sbindir}/iscsiadm
587c20
%{_sbindir}/iscsid
587c20
%{_sbindir}/iscsistart
587c20
%{_libdir}/libiscsi.so.0
587c20
%{_mandir}/man8/iscsi-iname.8.gz
587c20
%{_mandir}/man8/iscsiadm.8.gz
587c20
%{_mandir}/man8/iscsid.8.gz
587c20
%{_mandir}/man8/iscsistart.8.gz
587c20
# until we decide to setup libopeniscsiusr as a subpkg for real
587c20
%{_libdir}/libopeniscsiusr.so.*
587c20
%exclude %{_libdir}/libopeniscsiusr.so
587c20
%exclude %{_includedir}/libopeniscsiusr.h
587c20
%exclude %{_includedir}/libopeniscsiusr_common.h
587c20
%exclude %{_includedir}/libopeniscsiusr_iface.h
587c20
%exclude %{_includedir}/libopeniscsiusr_session.h
587c20
%exclude %{_libdir}/pkgconfig/libopeniscsiusr.pc
587c20
587c20
# %files -n libopeniscsiusr
587c20
# %{_libdir}/libopeniscsiusr.so.*
587c20
#
587c20
# %files -n libopeniscsiusr-devel
587c20
# %{_libdir}/libopeniscsiusr.so
587c20
# %{_includedir}/libopeniscsiusr.h
587c20
# %{_includedir}/libopeniscsiusr_common.h
587c20
# %{_includedir}/libopeniscsiusr_iface.h
587c20
# %{_includedir}/libopeniscsiusr_session.h
587c20
# %{_libdir}/pkgconfig/libopeniscsiusr.pc
587c20
587c20
%files iscsiuio
587c20
%{_sbindir}/iscsiuio
587c20
%{_unitdir}/iscsiuio.service
587c20
%{_unitdir}/iscsiuio.socket
587c20
%config(noreplace) %{_sysconfdir}/logrotate.d/iscsiuiolog
587c20
%{_mandir}/man8/iscsiuio.8.gz
587c20
587c20
%files devel
587c20
%doc libiscsi/html
587c20
%{_libdir}/libiscsi.so
587c20
%{_includedir}/libiscsi.h
587c20
587c20
%if %{with python2}
587c20
%files -n python2-%{name}
587c20
%{python2_sitearch}/*
587c20
%endif # with python2
587c20
587c20
%files -n python3-%{name}
587c20
%{python3_sitearch}/*
587c20
587c20
%changelog
50a52f
* Thu Nov 07 2019 Chris Leech <cleech@redhat.com> - 6.2.0.878-0.gitd791ce0
50a52f
- 1761940 iSCSI CHAP authentication not function with FIPS enabled
50a52f
- Service file improvements forward ported from RHEL 7.8
50a52f
- various static analysis fixes from upstream
50a52f
587c20
* Wed Jun 05 2019 Chris Leech <cleech@redhat.com> - 6.2.0.877-1.gitf71581b
587c20
- fix Covscan reported issues from upstream patches
587c20
587c20
* Tue Jun 04 2019 Chris Leech <cleech@redhat.com> - 6.2.0.877-0.gitf71581b
587c20
- 1665317 update to latest upstream for iscsiuio enhancements
587c20
587c20
* Thu Feb 21 2019 Chris Leech <cleech@redhat.com> - 6.2.0.876-7.gitf3c8e90
587c20
- 1647826: fix sysfs and output format regressions in libopeniscsi code
587c20
587c20
* Thu Jan 03 2019 Chris Leech <cleech@redhat.com> - 6.2.0.876-6.gitf3c8e90
587c20
- 1650402: fix missing space in node display output
587c20
587c20
* Tue Jul 10 2018 Chris Leech <cleech@redhat.com> - 6.2.0.876-5.gitf3c8e90
587c20
- iscsiuio: add mutex to protect netlink buffer for pass-through xmit
587c20
- iscsid: get gateway information from sysfs when recovering sessions
587c20
- enabled MaxOustandingR2T negotiation during login
587c20
587c20
* Mon Jun 25 2018 Adam Williamson <awilliam@redhat.com> - 6.2.0.876-4.git4ef9261
587c20
- Rebuilt for Python 3.7, again
587c20
587c20
* Mon Jun 25 2018 Adam Williamson <awilliam@redhat.com> - 6.2.0.876-3.git4ef9261
587c20
- Link libiscsi against libopeniscsiusr (bz #1594946) (python 3.6 build)
587c20
587c20
* Wed Jun 20 2018 Miro Hrončok <mhroncok@redhat.com> - 6.2.0.876-2.git4ef9261
587c20
- Rebuilt for Python 3.7
587c20
587c20
* Tue Jun 19 2018 Chris Leech <cleech@redhat.com> - 6.2.0.876-1.git4ef9261
587c20
- pull in post 2.0.876 tagged fixes from upstream git
587c20
- minimal packaging of libopeniscsiusr (internal use only, no dev package yet)
587c20
587c20
* Tue Jun 19 2018 Chris Leech <cleech@redhat.com> - 6.2.0.876-1.git24580ad
587c20
- rebase to upstream 2.0.876
587c20
587c20
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 6.2.0.874-10.git86e8892
587c20
- Rebuilt for Python 3.7
587c20
587c20
* Mon May 28 2018 Charalampos Stratakis <cstratak@redhat.com> - 6.2.0.874-10.git86e8892
587c20
- Conditionalize the python2 subpackage
587c20
587c20
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.0.874-9.git86e8892
587c20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
587c20
587c20
* Fri Jan 05 2018 Iryna Shcherbina <ishcherb@redhat.com> - 6.2.0.874-8.git86e8892
587c20
- Update Python 2 dependency declarations to new packaging standards
587c20
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
587c20
587c20
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 6.2.0.874-7.git86e8892
587c20
- Python 2 binary package renamed to python2-iscsi-initiator-utils
587c20
  See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
587c20
587c20
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.0.874-6.git86e8892
587c20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
587c20
587c20
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.0.874-5.git86e8892
587c20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
587c20
587c20
* Wed Apr 12 2017 Chris Leech <cleech@redhat.com> - 6.2.0.874-4.git86e8892
587c20
- rebuild to use shared libisns
587c20
587c20
* Tue Feb 28 2017 Chris Leech <cleech@redhat.com> - 6.2.0.874-3.git86e8892
587c20
- libiscsi: fix discovery command timeout regression
587c20
- libiscsi: fix format security build errors
587c20
587c20
* Thu Feb 16 2017 Chris Leech <cleech@redhat.com> - 6.2.0.874-2.git86e8892
587c20
- fix regression with iscsiadm discoverydb commands having a 0 timeout
587c20
587c20
* Thu Feb 09 2017 Chris Leech <cleech@redhat.com> - 6.2.0.874-1
587c20
- update to 2.0.874
587c20
587c20
* Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 6.2.0.873-35.git4c1f2d9
587c20
- Rebuild for Python 3.6
587c20
587c20
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0.873-34.git4c1f2d9
587c20
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
587c20
587c20
* Fri Feb 19 2016 Chris Leech <cleech@redhat.com> - 6.2.0.873-33.git4c1f2d9
587c20
- sync with upstream
587c20
- sysfs handling changes to speed up operations over large number of sessions
587c20
587c20
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 6.2.0.873-32.git4c9d6f9
587c20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
587c20
587c20
* Wed Feb  3 2016 Michael Schwendt <mschwendt@fedoraproject.org> - 6.2.0.873-31.git4c9d6f9
587c20
- BuildRequires: isns-utils-static for -lisns (bz #1291913)
587c20
587c20
* Tue Nov 03 2015 Robert Kuska <rkuska@redhat.com> - 6.2.0.873-30.git4c9d6f9
587c20
- Rebuilt for Python3.5 rebuild
587c20
587c20
* Tue Oct 06 2015 Chris Leech <cleech@redhat.com> - 6.2.0.873-29.git4c9d6f9
587c20
- rebase with upstream, change Source0 url to github
587c20
- build with external isns-utils
587c20
587c20
* Mon Oct 05 2015 Chris Leech <cleech@redhat.com> - 6.2.0.873-28.git6aa2c9b
587c20
- fixed broken multiple trigger scripts, removed old pre-systemd migration triggers
587c20
- added libiscsi session API patch (bz #1262279)
587c20
587c20
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0.873-27.git6aa2c9b
587c20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
587c20
587c20
* Wed Jun 10 2015 Chris Leech <cleech@redhat.com> - 6.2.0.873-26.git6aa2c9b
587c20
- rebase to upstream snapshot
587c20
- add patch to improve GIL lock performance in libiscsi
587c20
- Split Python 2 and Python 3 bindings out into subpackages
587c20
587c20
* Wed Jan 28 2015 Chris Leech <cleech@redhat.com> - 6.2.0.873-25.gitc9d830b
587c20
- split out session logout on shutdown to a separate service
587c20
- 985321 roll up libiscsi patches, update python bindings to support python3
587c20
- scriptlets were never split out properly for the iscsiuio subpackage
587c20
- fix regression in network interface binding
587c20
- created iscsi-shutdown.service to ensure that session cleanup happens
587c20
- Add --with-slp=no
587c20
- segfault from unexpected netlink event during discovery
587c20
- inhibit strict aliasing optimizations in iscsiuio, rpmdiff error
587c20
587c20
* Thu Oct 23 2014 Chris Leech <cleech@redhat.com> - 6.2.0.873-24.gitc9d830b
587c20
- sync with upstream v2.0.873-84-gc9d830b
587c20
- ignore iscsiadm return in iscsi.service
587c20
- make sure systemd order against remote mounts is correct
587c20
- add discovery as a valid mode in iscsiadm.8
587c20
- make sure to pass --with-security=no to isns configure
587c20
587c20
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0.873-23
587c20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
587c20
587c20
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0.873-22
587c20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
587c20
587c20
* Mon Apr 14 2014 Chris Leech <cleech@redhat.com> - 6.2.0.873-21
587c20
- boot session handling improvements
587c20
- split out iscsiuio into a seperate sub-package
587c20
- sync with new upstream additions
587c20
- revert change to return code when calling login_portal for sessions
587c20
  that already exist, as it impacts users scripting around iscsiadm
587c20
587c20
* Tue Dec 10 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-17
587c20
- fix regression in glob use, inappropriate error code escape
587c20
- clean up dead node links from discovery when reusing tpgt
587c20
587c20
* Mon Nov 25 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-16
587c20
- fix iscsiuio socket activation
587c20
- have systemd start socket units on iscsiadm use, if not already listening
587c20
587c20
* Sun Sep 15 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-15
587c20
- move /sbin to /usr/sbin
587c20
- use rpm macros in install rules
587c20
587c20
* Fri Sep 13 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-14
587c20
- fix iscsiuio hardened build and other compiler flags
587c20
587c20
* Fri Aug 23 2013 Andy Grover <agrover@redhat.com> - 6.2.0.873-13
587c20
- Fix patch 0041 to check session != NULL before calling iscsi_sysfs_read_boot()
587c20
587c20
* Tue Aug 20 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-12
587c20
- fix regression in last build, database records can't be accessed
587c20
587c20
* Mon Aug 19 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-11
587c20
- iscsi boot related fixes
587c20
  make sure iscsid gets started if there are any boot sessions running
587c20
  add reload target to fix double session problem when restarting from NM
587c20
  don't rely on session list passed from initrd, never got fully implemented
587c20
  remove patches related to running iscsid from initrd, possible to revisit later
587c20
587c20
* Sun Aug 18 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-10
587c20
- sync with upstream git, minor context fixes after rebase of out-of-tree patches
587c20
- iscsiuio is merged upstream, remove old source archive and patches
587c20
- spec cleanups to fix rpmlint issues
587c20
587c20
* Sun Aug  4 2013 Peter Robinson <pbrobinson@fedoraproject.org> 6.2.0.873-9
587c20
- Fix FTBFS, cleanup spec
587c20
587c20
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0.873-8
587c20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
587c20
587c20
* Tue Jun 11 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-7
587c20
- Use the systemd tmpfiles service to recreate lockfiles in /var/lock
587c20
- 955167 build as a position independent executable
587c20
- 894576 fix order of setuid/setgid and drop additional groups
587c20
587c20
* Tue May 28 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-6
587c20
- Don't have iscsiadm scan for autostart record if node db is empty (bug #951951)
587c20
587c20
* Tue Apr 30 2013 Orion Poplawski <orion@cora.nwra.com> - 6.2.0.873-5
587c20
- Fix typo in NM dispatcher script (bug #917058)
587c20
587c20
* Thu Feb 21 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-4
587c20
- build with libkmod support, instead of calling out to modprobe
587c20
- enable socket activation by default
587c20
587c20
* Thu Jan 24 2013 Kalev Lember <kalevlember@gmail.com> - 6.2.0.873-3
587c20
- Fix the postun script to not use ldconfig as the interpreter
587c20
587c20
* Wed Jan 23 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-2
587c20
- package iscsi_mark_root_nodes script, it's being referenced by the unit files
587c20
587c20
* Tue Jan 22 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-1
587c20
- rebase to new upstream code
587c20
- systemd conversion
587c20
- 565245 Fix multilib issues caused by timestamp in doxygen footers
587c20
587c20
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0.872-19
587c20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
587c20
587c20
* Tue Feb 14 2012 Mike Christie <mchristi@redhat.com> 6.2.0.872.18
587c20
- 789683 Fix boot slow down when the iscsi service is started
587c20
  (regression added in 6.2.0.872.16 when the nm wait was added).
587c20
587c20
* Mon Feb 6 2012 Mike Christie <mchristi@redhat.com> 6.2.0.872.17
587c20
- 786174 Change iscsid/iscsi service startup, so it always starts
587c20
  when called.
587c20
587c20
* Sat Feb 4 2012 Mike Christie <mchristi@redhat.com> 6.2.0.872.16
587c20
- 747479 Fix iscsidevs handling of network requirement
587c20
587c20
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0.872-15
587c20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
587c20
587c20
* Wed Nov 30 2011 Mike Christie <mcrhsit@redhat.com> 6.2.0.872.14
587c20
- Fix version string to reflect fedora and not rhel.
587c20
587c20
* Tue Oct 18 2011 Mike Christie <mcrhsit@redhat.com> 6.2.0.872.13
587c20
- Update iscsi tools.
587c20
587c20
* Sat Apr 30 2011 Hans de Goede <hdegoede@redhat.com> - 6.2.0.872-12
587c20
- Change iscsi init scripts to check for networking being actually up, rather
587c20
  then for NetworkManager being started (#692230)
587c20
587c20
* Tue Apr 26 2011 Hans de Goede <hdegoede@redhat.com> - 6.2.0.872-11
587c20
- Fix iscsid autostarting when upgrading from an older version
587c20
  (add iscsid.startup key to iscsid.conf on upgrade)
587c20
- Fix printing of [ OK ] when successfully stopping iscsid
587c20
- systemd related fixes:
587c20
 - Add Should-Start/Stop tgtd to iscsi init script to fix (re)boot from
587c20
   hanging when using locally hosted targets
587c20
 - %%ghost /var/lock/iscsi and contents (#656605)
587c20
587c20
* Mon Apr 25 2011 Mike Christie <mchristi@redhat.com> 6.2.0.872-10
587c20
- Fix iscsi init scripts check for networking being up (#692230)
587c20
587c20
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0.872-9
587c20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild