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