Blame SPECS/iscsi-initiator-utils.spec

ae92e4
%define open_iscsi_version	2.0
ae92e4
%define open_iscsi_build	874
ae92e4
ae92e4
Summary: iSCSI daemon and utility programs
ae92e4
Name: iscsi-initiator-utils
ae92e4
Version: 6.%{open_iscsi_version}.%{open_iscsi_build}
36622c
Release: 10%{?dist}
ae92e4
Group: System Environment/Daemons
ae92e4
License: GPLv2+
ae92e4
URL: http://www.open-iscsi.org
ae92e4
ae92e4
Source0: https://github.com/open-iscsi/open-iscsi/archive/%{open_iscsi_version}.%{open_iscsi_build}.tar.gz#/open-iscsi-%{open_iscsi_version}.%{open_iscsi_build}.tar.gz
ae92e4
Source4: 04-iscsi
ae92e4
Source5: iscsi-tmpfiles.conf
ae92e4
ae92e4
# upstream patches, post last tagged version
ae92e4
Patch1: open-iscsi-2.0.874-1-iBFT-origin-is-an-enum-not-a-string.patch
ae92e4
Patch2: open-iscsi-2.0.874-4-iscsid-treat-SIGTERM-like-iscsiadm-k-0.patch
ae92e4
Patch3: open-iscsi-2.0.874-5-Make-event_loop_stop-volatile-for-safer-access.patch
ae92e4
Patch4: open-iscsi-2.0.874-7-iscsid-Changes-to-support-the-new-qedi-transport.patch
ae92e4
Patch5: open-iscsi-2.0.874-8-iscsiuio-Add-support-for-the-new-qedi-transport.patch
ae92e4
Patch6: open-iscsi-2.0.874-9-iscsiuio-v0.7.8.3.patch
ae92e4
Patch7: open-iscsi-2.0.874-7-Allow-disabling-auto-LUN-scans.patch
ae92e4
Patch8: open-iscsi-2.0.874-23-Fix-manual-LUN-scans-feature.patch
ae92e4
Patch9: open-iscsi-2.0.874-27-iscsid-Add-qedi-ping-transport-hook.patch
ae92e4
Patch20: open-iscsi-2.0.874-30-isolate-iscsistart-socket-use.patch
ae92e4
# not (yet) upstream merged
ae92e4
Patch140: open-iscsi-2.0.874-iscsid-reset-head-on-wrap-when-buffer-empty.patch
ae92e4
Patch143: 0143-idmb_rec_write-check-for-tpgt-first.patch
ae92e4
Patch145: 0145-idbm_rec_write-seperate-old-and-new-style-writes.patch
ae92e4
Patch146: 0146-idbw_rec_write-pick-tpgt-from-existing-record.patch
ae92e4
Patch149: 0149-update-systemd-service-files-add-iscsi.service-for-s.patch
ae92e4
Patch150: 0150-iscsi-boot-related-service-file-updates.patch
ae92e4
# distro specific modifications
ae92e4
Patch151: 0151-update-initscripts-and-docs.patch
ae92e4
Patch152: 0152-use-var-for-config.patch
ae92e4
Patch153: 0153-use-red-hat-for-name.patch
ae92e4
Patch154: 0154-add-libiscsi.patch
ae92e4
Patch156: 0156-remove-the-offload-boot-supported-ifdef.patch
ae92e4
Patch159: 0159-iscsiuio-systemd-unit-files.patch
ae92e4
Patch160: 0160-use-systemctl-to-start-iscsid.patch
ae92e4
Patch161: 0161-resolve-565245-multilib-issues-caused-by-doxygen.patch
ae92e4
Patch162: 0162-Don-t-check-for-autostart-sessions-if-iscsi-is-not-u.patch
ae92e4
Patch164: 0164-libiscsi-fix-incorrect-strncpy-use.patch
ae92e4
Patch166: 0166-start-socket-listeners-on-iscsiadm-command.patch
ae92e4
Patch167: 0167-Revert-iscsiadm-return-error-when-login-fails.patch
ae92e4
Patch168: 0168-update-handling-of-boot-sessions.patch
ae92e4
Patch169: 0169-update-iscsi.service-for-boot-session-recovery.patch
ae92e4
Patch170: 0170-fix-systemd-unit-wants.patch
ae92e4
Patch172: 0172-move-cleanup-to-seperate-service.patch
36622c
Patch175: open-iscsi-2.0.876-41-vlan-setting-sync-across-ipv4-ipv6-for-be2iscsi.patch
36622c
Patch176: 0001-enable-MaxOutstandingR2T-negotiation.patch
36622c
Patch177: open-iscsi-2.0.874-30-iscsiuio-fix-dhcpv6-transaction-id-mismatch-error.patch
36622c
Patch178: open-iscsi-2.0.874-31-iscsiuio-serialize-xmit_mutex-lock-to-prevent-iscsiuio-seg-fault.patch
36622c
Patch179: open-iscsi-2.0.874-32-iscsiuio-allow-ARP-for-non-matching-src-and-dst-addresses.patch
36622c
Patch180: open-iscsi-2.0.874-33-iscsiuio-v0.7.8.4.patch
36622c
Patch181: open-iscsi-2.0.876-3-qedi.c-Removed-unused-linux-ethtool.h.patch
36622c
Patch182: open-iscsi-2.0.876-31-Fix-iscsiuio-segfault-when-shutting-down.patch
36622c
Patch183: open-iscsi-2.0.876-54-iscsiuio-Add-inter-host-mutex-while-doing-xmit.patch
36622c
Patch184: 0184-set-iscsid.safe_logout-to-Yes-by-default.patch
36622c
ae92e4
# upstream removed internal open-isns, but not taking that here just yet
ae92e4
# it requires repackaging isns-utils to provide a debug package
ae92e4
Patch198: keep-open-isns.patch
ae92e4
# version string, needs to be updated with each build
ae92e4
Patch199: 0199-use-Red-Hat-version-string-to-match-RPM-package-vers.patch
ae92e4
ae92e4
BuildRequires: flex bison python-devel doxygen kmod-devel systemd-devel libmount-devel autoconf automake libtool
ae92e4
# For dir ownership
ae92e4
Requires: %{name}-iscsiuio >= %{version}-%{release}
ae92e4
Requires(post): systemd
ae92e4
Requires(preun): systemd
ae92e4
Requires(postun): systemd
ae92e4
ae92e4
%global _hardened_build 1
ae92e4
%global __provides_exclude_from ^(%{python_sitearch}/.*\\.so)$
ae92e4
ae92e4
%description
ae92e4
The iscsi package provides the server daemon for the iSCSI protocol,
ae92e4
as well as the utility programs used to manage it. iSCSI is a protocol
ae92e4
for distributed disk access using SCSI commands sent over Internet
ae92e4
Protocol networks.
ae92e4
ae92e4
%package iscsiuio
ae92e4
Summary: Userspace configuration daemon required for some iSCSI hardware
ae92e4
Group: System Environment/Daemons
ae92e4
License: BSD
ae92e4
Requires: %{name} = %{version}-%{release}
ae92e4
ae92e4
%description iscsiuio
ae92e4
The iscsiuio configuration daemon provides network configuration help
ae92e4
for some iSCSI offload hardware.
ae92e4
ae92e4
%package devel
ae92e4
Summary: Development files for %{name}
ae92e4
Group: Development/Libraries
ae92e4
Requires: %{name} = %{version}-%{release}
ae92e4
ae92e4
%description devel
ae92e4
The %{name}-devel package contains libraries and header files for
ae92e4
developing applications that use %{name}.
ae92e4
ae92e4
%prep
ae92e4
%autosetup -p1 -n open-iscsi-%{open_iscsi_version}.%{open_iscsi_build}
ae92e4
ae92e4
# change exec_prefix, there's no easy way to override
ae92e4
%{__sed} -i -e 's|^exec_prefix = /$|exec_prefix = %{_exec_prefix}|' Makefile
ae92e4
ae92e4
%build
ae92e4
ae92e4
# configure sub-packages from here
ae92e4
# letting the top level Makefile do it will lose setting from rpm
ae92e4
cd iscsiuio
ae92e4
autoreconf --install
ae92e4
%{configure}
ae92e4
cd ..
ae92e4
ae92e4
cd utils/open-isns
ae92e4
chmod +x ./configure
ae92e4
%{configure} --with-security=no --with-slp=no
ae92e4
cd ../..
ae92e4
ae92e4
%{__make} OPTFLAGS="%{optflags} %{?__global_ldflags} -DUSE_KMOD -lkmod"
ae92e4
pushd libiscsi
ae92e4
python setup.py build
ae92e4
touch -r libiscsi.doxy html/*
ae92e4
popd
ae92e4
ae92e4
ae92e4
%install
ae92e4
%{__make} DESTDIR=%{?buildroot} install_programs install_doc install_etc
ae92e4
# upstream makefile doesn't get everything the way we like it
ae92e4
rm $RPM_BUILD_ROOT%{_sbindir}/iscsi_discovery
ae92e4
rm $RPM_BUILD_ROOT%{_mandir}/man8/iscsi_discovery.8
ae92e4
%{__install} -pm 755 usr/iscsistart $RPM_BUILD_ROOT%{_sbindir}
ae92e4
%{__install} -pm 644 doc/iscsistart.8 $RPM_BUILD_ROOT%{_mandir}/man8
ae92e4
%{__install} -pm 644 doc/iscsi-iname.8 $RPM_BUILD_ROOT%{_mandir}/man8
ae92e4
%{__install} -d $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
ae92e4
%{__install} -pm 644 iscsiuio/iscsiuiolog $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
ae92e4
ae92e4
%{__install} -d $RPM_BUILD_ROOT%{_sharedstatedir}/iscsi
ae92e4
%{__install} -d $RPM_BUILD_ROOT%{_sharedstatedir}/iscsi/nodes
ae92e4
%{__install} -d $RPM_BUILD_ROOT%{_sharedstatedir}/iscsi/send_targets
ae92e4
%{__install} -d $RPM_BUILD_ROOT%{_sharedstatedir}/iscsi/static
ae92e4
%{__install} -d $RPM_BUILD_ROOT%{_sharedstatedir}/iscsi/isns
ae92e4
%{__install} -d $RPM_BUILD_ROOT%{_sharedstatedir}/iscsi/slp
ae92e4
%{__install} -d $RPM_BUILD_ROOT%{_sharedstatedir}/iscsi/ifaces
ae92e4
ae92e4
# for %%ghost
ae92e4
%{__install} -d $RPM_BUILD_ROOT/var/lock/iscsi
ae92e4
touch $RPM_BUILD_ROOT/var/lock/iscsi/lock
ae92e4
ae92e4
ae92e4
%{__install} -d $RPM_BUILD_ROOT%{_unitdir}
ae92e4
%{__install} -pm 644 etc/systemd/iscsi.service $RPM_BUILD_ROOT%{_unitdir}
ae92e4
%{__install} -pm 644 etc/systemd/iscsi-shutdown.service $RPM_BUILD_ROOT%{_unitdir}
ae92e4
%{__install} -pm 644 etc/systemd/iscsid.service $RPM_BUILD_ROOT%{_unitdir}
ae92e4
%{__install} -pm 644 etc/systemd/iscsid.socket $RPM_BUILD_ROOT%{_unitdir}
ae92e4
%{__install} -pm 644 etc/systemd/iscsiuio.service $RPM_BUILD_ROOT%{_unitdir}
ae92e4
%{__install} -pm 644 etc/systemd/iscsiuio.socket $RPM_BUILD_ROOT%{_unitdir}
ae92e4
ae92e4
%{__install} -d $RPM_BUILD_ROOT%{_libexecdir}
ae92e4
%{__install} -pm 755 etc/systemd/iscsi-mark-root-nodes $RPM_BUILD_ROOT%{_libexecdir}
ae92e4
ae92e4
%{__install} -d $RPM_BUILD_ROOT%{_sysconfdir}/NetworkManager/dispatcher.d
ae92e4
%{__install} -pm 755 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/NetworkManager/dispatcher.d
ae92e4
ae92e4
%{__install} -d $RPM_BUILD_ROOT%{_tmpfilesdir}
ae92e4
%{__install} -pm 644 %{SOURCE5} $RPM_BUILD_ROOT%{_tmpfilesdir}/iscsi.conf
ae92e4
ae92e4
%{__install} -d $RPM_BUILD_ROOT%{_libdir}
ae92e4
%{__install} -pm 755 libiscsi/libiscsi.so.0 $RPM_BUILD_ROOT%{_libdir}
ae92e4
%{__ln_s}    libiscsi.so.0 $RPM_BUILD_ROOT%{_libdir}/libiscsi.so
ae92e4
%{__install} -d $RPM_BUILD_ROOT%{_includedir}
ae92e4
%{__install} -pm 644 libiscsi/libiscsi.h $RPM_BUILD_ROOT%{_includedir}
ae92e4
ae92e4
%{__install} -d $RPM_BUILD_ROOT%{python_sitearch}
ae92e4
%{__install} -pm 755 libiscsi/build/lib.linux-*/libiscsimodule.so \
ae92e4
	$RPM_BUILD_ROOT%{python_sitearch}
ae92e4
ae92e4
ae92e4
%post
ae92e4
/sbin/ldconfig
ae92e4
ae92e4
%systemd_post iscsi.service iscsi-shutdown.service iscsid.service iscsid.socket
ae92e4
ae92e4
if [ $1 -eq 1 ]; then
ae92e4
	if [ ! -f %{_sysconfdir}/iscsi/initiatorname.iscsi ]; then
ae92e4
		echo "InitiatorName=`/usr/sbin/iscsi-iname`" > %{_sysconfdir}/iscsi/initiatorname.iscsi
ae92e4
	fi
ae92e4
	# enable socket activation and persistant session startup by default
ae92e4
	/bin/systemctl enable iscsi.service >/dev/null 2>&1 || :
ae92e4
	/bin/systemctl enable iscsid.socket >/dev/null 2>&1 || :
ae92e4
	/bin/systemctl start iscsid.socket >/dev/null 2>&1 || :
ae92e4
fi
ae92e4
ae92e4
%post iscsiuio
ae92e4
%systemd_post iscsiuio.service iscsiuio.socket
ae92e4
ae92e4
if [ $1 -eq 1 ]; then
ae92e4
	/bin/systemctl enable iscsiuio.socket >/dev/null 2>&1 || :
ae92e4
	/bin/systemctl start iscsiuio.socket >/dev/null 2>&1 || :
ae92e4
fi
ae92e4
ae92e4
%preun
ae92e4
%systemd_preun iscsi.service iscsi-shutdown.service iscsid.service iscsiuio.service iscsid.socket iscsiuio.socket
ae92e4
ae92e4
%preun iscsiuio
ae92e4
%systemd_preun iscsiuio.service iscsiuio.socket
ae92e4
ae92e4
%postun
ae92e4
/sbin/ldconfig
ae92e4
%systemd_postun
ae92e4
ae92e4
%postun iscsiuio
ae92e4
%systemd_postun
ae92e4
ae92e4
%triggerun -- iscsi-initiator-utils < 6.2.0.873-22
ae92e4
# prior to 6.2.0.873-22 iscsi.service was missing a Wants=remote-fs-pre.target
ae92e4
# this forces remote-fs-pre.target active if needed for a clean shutdown/reboot
ae92e4
# after upgrading this package
ae92e4
if [ $1 -gt 0 ]; then
ae92e4
    /usr/bin/systemctl -q is-active iscsi.service
ae92e4
    if [ $? -eq 0 ]; then
ae92e4
        /usr/bin/systemctl -q is-active remote-fs-pre.target
ae92e4
        if [ $? -ne 0 ]; then
ae92e4
            SRC=`/usr/bin/systemctl show --property FragmentPath remote-fs-pre.target | cut -d= -f2`
ae92e4
            DST=/run/systemd/system/remote-fs-pre.target
ae92e4
            if [ $SRC != $DST ]; then
ae92e4
                cp $SRC $DST
ae92e4
            fi
ae92e4
            sed -i 's/RefuseManualStart=yes/RefuseManualStart=no/' $DST
ae92e4
            /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || :
ae92e4
            /usr/bin/systemctl start remote-fs-pre.target >/dev/null 2>&1 || :
ae92e4
        fi
ae92e4
    fi
ae92e4
fi
ae92e4
# added in 6.2.0.873-26
ae92e4
if [ $1 -gt 0 ]; then
ae92e4
    systemctl start iscsi-shutdown.service >/dev/null 2>&1 || :
ae92e4
fi
ae92e4
ae92e4
%files
ae92e4
%doc README
ae92e4
%dir %{_sharedstatedir}/iscsi
ae92e4
%dir %{_sharedstatedir}/iscsi/nodes
ae92e4
%dir %{_sharedstatedir}/iscsi/isns
ae92e4
%dir %{_sharedstatedir}/iscsi/static
ae92e4
%dir %{_sharedstatedir}/iscsi/slp
ae92e4
%dir %{_sharedstatedir}/iscsi/ifaces
ae92e4
%dir %{_sharedstatedir}/iscsi/send_targets
ae92e4
%ghost %{_var}/lock/iscsi
ae92e4
%ghost %{_var}/lock/iscsi/lock
ae92e4
%{_unitdir}/iscsi.service
ae92e4
%{_unitdir}/iscsi-shutdown.service
ae92e4
%{_unitdir}/iscsid.service
ae92e4
%{_unitdir}/iscsid.socket
ae92e4
%{_libexecdir}/iscsi-mark-root-nodes
ae92e4
%{_sysconfdir}/NetworkManager/dispatcher.d/04-iscsi
ae92e4
%{_tmpfilesdir}/iscsi.conf
ae92e4
%dir %{_sysconfdir}/iscsi
ae92e4
%attr(0600,root,root) %config(noreplace) %{_sysconfdir}/iscsi/iscsid.conf
ae92e4
%{_sbindir}/iscsi-iname
ae92e4
%{_sbindir}/iscsiadm
ae92e4
%{_sbindir}/iscsid
ae92e4
%{_sbindir}/iscsistart
ae92e4
%{_libdir}/libiscsi.so.0
ae92e4
%{python_sitearch}/libiscsimodule.so
ae92e4
%{_mandir}/man8/iscsi-iname.8.gz
ae92e4
%{_mandir}/man8/iscsiadm.8.gz
ae92e4
%{_mandir}/man8/iscsid.8.gz
ae92e4
%{_mandir}/man8/iscsistart.8.gz
ae92e4
ae92e4
%files iscsiuio
ae92e4
%{_sbindir}/iscsiuio
ae92e4
%{_unitdir}/iscsiuio.service
ae92e4
%{_unitdir}/iscsiuio.socket
ae92e4
%config(noreplace) %{_sysconfdir}/logrotate.d/iscsiuiolog
ae92e4
%{_mandir}/man8/iscsiuio.8.gz
ae92e4
ae92e4
%files devel
ae92e4
%doc libiscsi/html
ae92e4
%{_libdir}/libiscsi.so
ae92e4
%{_includedir}/libiscsi.h
ae92e4
ae92e4
%changelog
36622c
* Wed Aug 29 2018 Chris Leech <cleech@redhat.com> - 6.2.0.874-10
36622c
- 1185734 set iscsid.safe_logout to Yes by default
36622c
36622c
* Fri Jun 22 2018 Chris Leech <cleech@redhat.com> - 6.2.0.874-9
36622c
- 1578984 update iscsiuio to v0.7.8.4
36622c
36622c
* Fri Jun 22 2018 Chris Leech <cleech@redhat.com> - 6.2.0.874-8
36622c
- 1278438 enable MaxOutstandingR2T negotiation during login
36622c
ae92e4
* Thu Nov 30 2017 Chris Leech <cleech@redhat.com> - 6.2.0.874-7
ae92e4
- 1328694 keep vlan settings in sync for ipv4/ipv6 iface records with be2iscsi
ae92e4
ae92e4
* Wed Nov 01 2017 Chris Leech <cleech@redhat.com> - 6.2.0.874-6
ae92e4
- 1507945 force start iscsiuio for boot session recovery with qedi
ae92e4
- 1457359 start systemd socket listeners, otherwise if iscsid is started
ae92e4
  directly iscsiuio doesn't activate as expected
ae92e4
ae92e4
* Tue Aug 15 2017 Chris Leech <cleech@redhat.com> - 6.2.0.874-5
ae92e4
- 1431622 fix default in iscsi-iname manpage to match Red Hat customization
ae92e4
ae92e4
* Tue Jun 27 2017 Chris Leech <cleech@redhat.com> - 6.2.0.874-4
ae92e4
- 1450756 isolate iscsistart sockets
ae92e4
ae92e4
* Fri Apr 28 2017 Chris Leech <cleech@redhat.com> - 6.2.0.874-3
ae92e4
- 1445686 add missing ping hook for the qedi transport driver
ae92e4
ae92e4
* Tue Apr 11 2017 Chris Leech <cleech@redhat.com> - 6.2.0.874-2
ae92e4
- 1422941 allow disabling of auto scanning sessions, requested for OpenStack
ae92e4
ae92e4
* Tue Feb 28 2017 Chris Leech <cleech@redhat.com> - 6.2.0.874-1
ae92e4
- 1384090 upstream 2.0.874+ with qedi support
ae92e4
- 1414819 iscsid reporting blank emerg messages
ae92e4
ae92e4
* Thu Aug 18 2016 Chris Leech <cleech@redhat.com> - 6.2.0.873-35
ae92e4
- 1362590 Revert iscsiuio pthread changes that result in a race condition on shutdown
ae92e4
ae92e4
* Tue Jun 14 2016 Chris Leech <cleech@redhat.com> - 6.2.0.873-34
ae92e4
- 1322000 ensure TCP abort on session failure to prevent data corruption with link flap
ae92e4
- 1294964, 1265073, 1213569 iscsiuio update, fix small ARP table issue
ae92e4
- 1309488 remove broken sysfs cache code to speed up login of many sessions
ae92e4
- 1330348 sync with upstream Open-iSCSI for minor fixes
ae92e4
ae92e4
* Tue Apr 26 2016 Chris Leech <cleech@redhat.com> - 6.2.0.873-33
ae92e4
- 1275139 iscsiuio support for multi-function mode NetXtreme2 HBAs
ae92e4
ae92e4
* Fri Jul 24 2015 Chris Leech <cleech@redhat.com> - 6.2.0.873-32
ae92e4
- 1235684 apply safe_logout setting to flashnode sessions as well
ae92e4
  but only when logging out by session id, not by flashnode index
ae92e4
ae92e4
* Tue Jul 21 2015 Chris Leech <cleech@redhat.com> - 6.2.0.873-31
ae92e4
- 1235684 fix safe logout DM name canonicalization, use libmount cache
ae92e4
ae92e4
* Mon Jul 06 2015 Chris Leech <cleech@redhat.com> - 6.2.0.873-30
ae92e4
- 1235684 add iscsid safe logout option
ae92e4
ae92e4
* Fri Jan 30 2015 Chris Leech <cleech@redhat.com> - 6.2.0.873-29
ae92e4
- 1166713 1187792 add missing ExecStart, only newer systemd lets that be optional for oneshot services
ae92e4
ae92e4
* Thu Jan 15 2015 Chris Leech <cleech@redhat.com> - 6.2.0.873-28
ae92e4
- 1180100 scriptlets were never split out properly for the iscsiuio subpackage
ae92e4
ae92e4
* Thu Jan 15 2015 Chris Leech <cleech@redhat.com> - 6.2.0.873-27
ae92e4
- 1168556 fix regression in network interface binding
ae92e4
ae92e4
* Mon Jan 12 2015 Chris Leech <cleech@redhat.com> - 6.2.0.873-26
ae92e4
- 1166713 created iscsi-shutdown.service to ensure that session cleanup happens
ae92e4
ae92e4
* Thu Dec 11 2014 Andy Grover <agrover@redhat.com> - 6.2.0.873-25
ae92e4
- Add --with-slp=no for #1088020
ae92e4
ae92e4
* Tue Nov 18 2014 Chris Leech <cleech@redhat.com> - 6.2.0.873-24
ae92e4
- 1040343 segfault from unexpected netlink event during discovery
ae92e4
- inhibit strict aliasing optimizations in iscsiuio, rpmdiff error
ae92e4
ae92e4
* Tue Oct 21 2014 Chris Leech <cleech@redhat.com> - 6.2.0.873-23
ae92e4
- make sure to pass --with-security=no to isns configure (#1088020)
ae92e4
ae92e4
* Wed Sep 24 2014 Chris Leech <cleech@redhat.com> - 6.2.0.873-22
ae92e4
- 1081798 retry login on host not found error
ae92e4
- 1111925 ignore iscsiadm return in iscsi.service
ae92e4
- 1126524 make sure systemd order against remote mounts is correct
ae92e4
- 963039 add discovery as a valid mode in iscsiadm.8
ae92e4
- sync with upstream
ae92e4
ae92e4
* Tue Mar 18 2014 Chris Leech <cleech@redhat.com> - 6.2.0.873-21
ae92e4
- 1069825
ae92e4
- boot session handling improvements
ae92e4
- Fix iscsi-mark-root for changed iscsiadm output
ae92e4
- Make sure iscsiuio is running for boot session recovery when using the
ae92e4
  bnx2i transport by forcing iscsiuio.service start
ae92e4
- Make NM dispatch triggered re-check for autostart sessions async
ae92e4
- Accept exit code 21, no records, from iscsiadm as success in
ae92e4
  iscsi.service
ae92e4
ae92e4
* Tue Feb 25 2014 Chris Leech <cleech@redhat.com> - 6.2.0.873-20
ae92e4
- 1049710 host0 being treated as an invalid in the host stats command
ae92e4
- 1015563 revert change to return code when calling login_portal for sessions
ae92e4
  that already exist, as it impacts users scripting around iscsiadm
ae92e4
ae92e4
* Mon Feb 17 2014 Chris Leech <cleech@redhat.com> - 6.2.0.873-19
ae92e4
- 1007388 fixes for iscsiadm to support qla4xxx
ae92e4
- refresh boot session info patches to final version from upstream,
ae92e4
  fixes context issues with later patches
ae92e4
- 1006156, 1006161 Add/Update entries in chap table through Open-iSCSI
ae92e4
- 948134 extend support to set additional parameters for network configuration
ae92e4
- 1049710 update open-iscsi to support host statistics
ae92e4
- 1043019 iscsiuio fix for arp cache flush issue
ae92e4
- 1059332 Fix broken discovery sessions over iser
ae92e4
- 1017393 split out iscsiuio into a seperate sub-package
ae92e4
ae92e4
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 6.2.0.873-18
ae92e4
- Mass rebuild 2014-01-24
ae92e4
ae92e4
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 6.2.0.873-17
ae92e4
- Mass rebuild 2013-12-27
ae92e4
ae92e4
* Mon Nov 25 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-16
ae92e4
- fix iscsiuio socket activation
ae92e4
- have systemd start socket units on iscsiadm use, if not already listening
ae92e4
ae92e4
* Sun Sep 15 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-15
ae92e4
- move /sbin to /usr/sbin
ae92e4
- use rpm macros in install rules
ae92e4
ae92e4
* Fri Sep 13 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-14
ae92e4
- fix iscsiuio hardened build and other compiler flags
ae92e4
ae92e4
* Fri Aug 23 2013 Andy Grover <agrover@redhat.com> - 6.2.0.873-13
ae92e4
- Fix patch 0041 to check session != NULL before calling iscsi_sysfs_read_boot()
ae92e4
ae92e4
* Tue Aug 20 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-12
ae92e4
- fix regression in last build, database records can't be accessed
ae92e4
ae92e4
* Mon Aug 19 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-11
ae92e4
- iscsi boot related fixes
ae92e4
  make sure iscsid gets started if there are any boot sessions running
ae92e4
  add reload target to fix double session problem when restarting from NM
ae92e4
  don't rely on session list passed from initrd, never got fully implemented
ae92e4
  remove patches related to running iscsid from initrd, possible to revisit later
ae92e4
ae92e4
* Sun Aug 18 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-10
ae92e4
- sync with upstream git, minor context fixes after rebase of out-of-tree patches
ae92e4
- iscsiuio is merged upstream, remove old source archive and patches
ae92e4
- spec cleanups to fix rpmlint issues
ae92e4
ae92e4
* Sun Aug  4 2013 Peter Robinson <pbrobinson@fedoraproject.org> 6.2.0.873-9
ae92e4
- Fix FTBFS, cleanup spec
ae92e4
ae92e4
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0.873-8
ae92e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
ae92e4
ae92e4
* Tue Jun 11 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-7
ae92e4
- Use the systemd tmpfiles service to recreate lockfiles in /var/lock
ae92e4
- 955167 build as a position independent executable
ae92e4
- 894576 fix order of setuid/setgid and drop additional groups
ae92e4
ae92e4
* Tue May 28 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-6
ae92e4
- Don't have iscsiadm scan for autostart record if node db is empty (bug #951951)
ae92e4
ae92e4
* Tue Apr 30 2013 Orion Poplawski <orion@cora.nwra.com> - 6.2.0.873-5
ae92e4
- Fix typo in NM dispatcher script (bug #917058)
ae92e4
ae92e4
* Thu Feb 21 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-4
ae92e4
- build with libkmod support, instead of calling out to modprobe
ae92e4
- enable socket activation by default
ae92e4
ae92e4
* Thu Jan 24 2013 Kalev Lember <kalevlember@gmail.com> - 6.2.0.873-3
ae92e4
- Fix the postun script to not use ldconfig as the interpreter
ae92e4
ae92e4
* Wed Jan 23 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-2
ae92e4
- package iscsi_mark_root_nodes script, it's being referenced by the unit files
ae92e4
ae92e4
* Tue Jan 22 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-1
ae92e4
- rebase to new upstream code
ae92e4
- systemd conversion
ae92e4
- 565245 Fix multilib issues caused by timestamp in doxygen footers
ae92e4
ae92e4
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0.872-19
ae92e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
ae92e4
ae92e4
* Tue Feb 14 2012 Mike Christie <mchristi@redhat.com> 6.2.0.872.18
ae92e4
- 789683 Fix boot slow down when the iscsi service is started
ae92e4
  (regression added in 6.2.0.872.16 when the nm wait was added).
ae92e4
ae92e4
* Mon Feb 6 2012 Mike Christie <mchristi@redhat.com> 6.2.0.872.17
ae92e4
- 786174 Change iscsid/iscsi service startup, so it always starts
ae92e4
  when called.
ae92e4
ae92e4
* Sat Feb 4 2012 Mike Christie <mchristi@redhat.com> 6.2.0.872.16
ae92e4
- 747479 Fix iscsidevs handling of network requirement
ae92e4
ae92e4
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0.872-15
ae92e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
ae92e4
ae92e4
* Wed Nov 30 2011 Mike Christie <mcrhsit@redhat.com> 6.2.0.872.14
ae92e4
- Fix version string to reflect fedora and not rhel.
ae92e4
ae92e4
* Tue Oct 18 2011 Mike Christie <mcrhsit@redhat.com> 6.2.0.872.13
ae92e4
- Update iscsi tools.
ae92e4
ae92e4
* Sat Apr 30 2011 Hans de Goede <hdegoede@redhat.com> - 6.2.0.872-12
ae92e4
- Change iscsi init scripts to check for networking being actually up, rather
ae92e4
  then for NetworkManager being started (#692230)
ae92e4
ae92e4
* Tue Apr 26 2011 Hans de Goede <hdegoede@redhat.com> - 6.2.0.872-11
ae92e4
- Fix iscsid autostarting when upgrading from an older version
ae92e4
  (add iscsid.startup key to iscsid.conf on upgrade)
ae92e4
- Fix printing of [ OK ] when successfully stopping iscsid
ae92e4
- systemd related fixes:
ae92e4
 - Add Should-Start/Stop tgtd to iscsi init script to fix (re)boot from
ae92e4
   hanging when using locally hosted targets
ae92e4
 - %%ghost /var/lock/iscsi and contents (#656605)
ae92e4
ae92e4
* Mon Apr 25 2011 Mike Christie <mchristi@redhat.com> 6.2.0.872-10
ae92e4
- Fix iscsi init scripts check for networking being up (#692230)
ae92e4
ae92e4
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0.872-9
ae92e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild