Blame SPECS/iscsi-initiator-utils.spec

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