6c64be
%define open_iscsi_version	2.0
c487f3
%define open_iscsi_build	874
6c64be
6c64be
Summary: iSCSI daemon and utility programs
6c64be
Name: iscsi-initiator-utils
6c64be
Version: 6.%{open_iscsi_version}.%{open_iscsi_build}
b12556
Release: 22%{?dist}
6c64be
Group: System Environment/Daemons
6c64be
License: GPLv2+
6c64be
URL: http://www.open-iscsi.org
6c64be
c487f3
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
6c64be
Source4: 04-iscsi
6c64be
Source5: iscsi-tmpfiles.conf
6c64be
6c64be
# upstream patches, post last tagged version
c487f3
Patch1: open-iscsi-2.0.874-1-iBFT-origin-is-an-enum-not-a-string.patch
c487f3
Patch2: open-iscsi-2.0.874-4-iscsid-treat-SIGTERM-like-iscsiadm-k-0.patch
c487f3
Patch3: open-iscsi-2.0.874-5-Make-event_loop_stop-volatile-for-safer-access.patch
c487f3
Patch4: open-iscsi-2.0.874-7-iscsid-Changes-to-support-the-new-qedi-transport.patch
c487f3
Patch5: open-iscsi-2.0.874-8-iscsiuio-Add-support-for-the-new-qedi-transport.patch
c487f3
Patch6: open-iscsi-2.0.874-9-iscsiuio-v0.7.8.3.patch
c487f3
Patch7: open-iscsi-2.0.874-7-Allow-disabling-auto-LUN-scans.patch
c487f3
Patch8: open-iscsi-2.0.874-23-Fix-manual-LUN-scans-feature.patch
c487f3
Patch9: open-iscsi-2.0.874-27-iscsid-Add-qedi-ping-transport-hook.patch
c487f3
Patch20: open-iscsi-2.0.874-30-isolate-iscsistart-socket-use.patch
6c64be
# not (yet) upstream merged
c487f3
Patch140: open-iscsi-2.0.874-iscsid-reset-head-on-wrap-when-buffer-empty.patch
786c6d
Patch143: 0143-idmb_rec_write-check-for-tpgt-first.patch
786c6d
Patch145: 0145-idbm_rec_write-seperate-old-and-new-style-writes.patch
786c6d
Patch146: 0146-idbw_rec_write-pick-tpgt-from-existing-record.patch
786c6d
Patch149: 0149-update-systemd-service-files-add-iscsi.service-for-s.patch
786c6d
Patch150: 0150-iscsi-boot-related-service-file-updates.patch
36b27b
Patch177: open-iscsi-2.0.874-30-iscsiuio-fix-dhcpv6-transaction-id-mismatch-error.patch
36b27b
Patch178: open-iscsi-2.0.874-31-iscsiuio-serialize-xmit_mutex-lock-to-prevent-iscsiuio-seg-fault.patch
36b27b
Patch179: open-iscsi-2.0.874-32-iscsiuio-allow-ARP-for-non-matching-src-and-dst-addresses.patch
36b27b
Patch180: open-iscsi-2.0.874-33-iscsiuio-v0.7.8.4.patch
36b27b
Patch181: open-iscsi-2.0.876-3-qedi.c-Removed-unused-linux-ethtool.h.patch
36b27b
Patch182: open-iscsi-2.0.876-31-Fix-iscsiuio-segfault-when-shutting-down.patch
36b27b
Patch183: open-iscsi-2.0.876-54-iscsiuio-Add-inter-host-mutex-while-doing-xmit.patch
36b27b
Patch184: 0184-set-iscsid.safe_logout-to-Yes-by-default.patch
36b27b
47585c
Patch195: open-iscsi-2.0.874-35-iscsiuio-fix-long-options.patch
47585c
Patch196: open-iscsi-2.0.874-38-Update-bnx2.c.patch
47585c
Patch197: open-iscsi-2.0.874-39-Update-bnx2x.c.patch
47585c
Patch198: open-iscsi-2.0.875-7-Ignore-library-file-for-iscsiuio-src.patch
47585c
Patch199: open-iscsi-2.0.875-9-Remove-unused-variables.-No-functional-change.patch
47585c
Patch200: open-iscsi-2.0.875-10-Include-sys-sysmacros.h-to-properly-define-minor.patch
47585c
Patch201: open-iscsi-2.0.875-11-Declare-inline-best_match_bufcmp-as-static.patch
47585c
Patch202: open-iscsi-2.0.875-14-Check-for-root-peer-user-for-iscsiuio-IPC.patch
47585c
Patch203: open-iscsi-2.0.875-15-iscsiuio-should-ignore-bogus-iscsid-broadcast-packets.patch
47585c
Patch204: open-iscsi-2.0.875-16-Ensure-all-fields-in-iscsiuio-IPC-response-are-set.patch
47585c
Patch205: open-iscsi-2.0.875-17-Do-not-double-close-IPC-file-stream-to-iscsid.patch
47585c
Patch206: open-iscsi-2.0.875-18-Ensure-strings-from-peer-are-copied-correctly.patch
47585c
Patch207: open-iscsi-2.0.875-19-Skip-useless-strcopy-and-validate-CIDR-length.patch
47585c
Patch208: open-iscsi-2.0.875-20-Check-iscsiuio-ping-data-length-for-validity.patch
47585c
Patch209: open-iscsi-2.0.875-21-tell-git-to-ignore-the-iscsiuio-binary.patch
47585c
Patch210: open-iscsi-2.0.875-30-Cleanup-iscsiuio-master-Makefile-template.patch
47585c
Patch211: open-iscsi-2.0.876-5-bnx2x.c-Reorder-the-includes-to-avoid-duplicate-defines-with-musl.patch
47585c
Patch212: open-iscsi-2.0.876-6-Use-correct-size-when-copying-nic-name.patch
3d2430
Patch213: 0001-Keep-iscsi_if-in-sync-with-kernel-version.patch
3d2430
Patch214: 0001-Add-error-message-for-new-ISCSI_ERR_NOP_TIMEDOUT.patch
3d2430
Patch215: open-iscsi-2.0.876-56-iscsiuio-Release-xmit_mutex-in-error-code-path.patch
3d2430
Patch216: open-iscsi-2.0.876-57-iscsiuio-limit-retries-of-performing-dhcpv6-before-declaring-dhcp-failure.patch
3d2430
Patch217: open-iscsi-2.0.876-58-iscsiuio-Do-not-flush-tx-queue-on-each-uio-interrupt.patch
3d2430
Patch218: open-iscsi-2.0.876-59-qedi-Set-buf_size-in-case-of-ICMP-and-ARP-packet.patch
3d2430
Patch219: open-iscsi-2.0.876-60-qedi-Use-uio-BD-index-instead-on-buffer-index.patch
3d2430
Patch220: open-iscsi-2.0.876-61-iscsiuio-v0.7.8.5.patch
3d2430
Patch221: open-iscsi-2.0.876-66-Close-file-handles-when-writing-pid-files.patch
3d2430
Patch222: open-iscsi-2.0.876-66-iscsiuio-avoid-loosing-bad-rc-in-nic_nl_open.patch
3d2430
Patch223: open-iscsi-2.0.876-67-iscsiuio-fail-on-nic_nl_open-failing.patch
3d2430
Patch224: 0001-rec-update-disable-the-idbm_lock-in-read-write-when-.patch
3d2430
Patch225: 0001-iscsiuio-allow-processing-of-iscsid-requests-in-DHCP.patch
3d2430
Patch226: 0001-iscsiuio-update-version-to-0.7.8.6.patch
3d2430
Patch227: 0001-iscsid-Update-boot-gateway-information-during-sync_s.patch
3d2430
3d2430
# distro specific modifications
3d2430
Patch351: 0151-update-initscripts-and-docs.patch
3d2430
Patch352: 0152-use-var-for-config.patch
3d2430
Patch353: 0153-use-red-hat-for-name.patch
3d2430
Patch354: 0154-add-libiscsi.patch
3d2430
Patch356: 0156-remove-the-offload-boot-supported-ifdef.patch
3d2430
Patch359: 0159-iscsiuio-systemd-unit-files.patch
3d2430
Patch360: 0160-use-systemctl-to-start-iscsid.patch
3d2430
Patch361: 0161-resolve-565245-multilib-issues-caused-by-doxygen.patch
3d2430
Patch362: 0162-Don-t-check-for-autostart-sessions-if-iscsi-is-not-u.patch
3d2430
Patch364: 0164-libiscsi-fix-incorrect-strncpy-use.patch
3d2430
Patch366: 0166-start-socket-listeners-on-iscsiadm-command.patch
3d2430
Patch367: 0167-Revert-iscsiadm-return-error-when-login-fails.patch
3d2430
Patch368: 0168-update-handling-of-boot-sessions.patch
3d2430
Patch369: 0169-update-iscsi.service-for-boot-session-recovery.patch
3d2430
Patch370: 0170-fix-systemd-unit-wants.patch
3d2430
Patch372: 0172-move-cleanup-to-seperate-service.patch
3d2430
Patch375: open-iscsi-2.0.876-41-vlan-setting-sync-across-ipv4-ipv6-for-be2iscsi.patch
3d2430
Patch376: 0001-enable-MaxOutstandingR2T-negotiation.patch
47585c
d087b3
# upstream removed internal open-isns, but not taking that here just yet
d087b3
# it requires repackaging isns-utils to provide a debug package
3d2430
Patch380: keep-open-isns.patch
6c64be
# version string, needs to be updated with each build
47585c
Patch400: 0199-use-Red-Hat-version-string-to-match-RPM-package-vers.patch
3d2430
Patch401: 0001-Update-service-files-and-add-sd_notify-support-to-is.patch
3d2430
Patch402: 0001-restore-some-service-file-differences.patch
3d2430
Patch403: 0001-fix-upstream-build-breakage-of-iscsiuio-LDFLAGS.patch
3d2430
Patch404: 0001-improve-systemd-service-files-for-boot-session-handl.patch
6c64be
6b208b
Patch500: 0500-CHAP-SHA-1-SHA-256-SHA3-256-via-OpenSSL-s-libcrypto.patch
6b208b
Patch501: 0501-configuration-support-for-CHAP-algorithms.patch
6b208b
Patch502: 0502-CHAP-FIPS-backport-fixups.patch
6b208b
Patch503: 0503-fix-libiscsi-after-adding-libcrypto-requirement.patch
0e8382
Patch504: 0504-iscsiadm-buffer-overflow-regression-when-discovering.patch
b12556
Patch505: 0001-missing-break-causing-segfault-with-case-sensitive-c.patch
6b208b
6b208b
BuildRequires: flex bison python-devel doxygen kmod-devel systemd-devel libmount-devel autoconf automake libtool openssl-devel
6c64be
# For dir ownership
786c6d
Requires: %{name}-iscsiuio >= %{version}-%{release}
6c64be
Requires(post): systemd
6c64be
Requires(preun): systemd
6c64be
Requires(postun): systemd
6c64be
6c64be
%global _hardened_build 1
6c64be
%global __provides_exclude_from ^(%{python_sitearch}/.*\\.so)$
6c64be
6c64be
%description
6c64be
The iscsi package provides the server daemon for the iSCSI protocol,
6c64be
as well as the utility programs used to manage it. iSCSI is a protocol
6c64be
for distributed disk access using SCSI commands sent over Internet
6c64be
Protocol networks.
6c64be
786c6d
%package iscsiuio
786c6d
Summary: Userspace configuration daemon required for some iSCSI hardware
786c6d
Group: System Environment/Daemons
786c6d
License: BSD
d087b3
Requires: %{name} = %{version}-%{release}
786c6d
786c6d
%description iscsiuio
786c6d
The iscsiuio configuration daemon provides network configuration help
786c6d
for some iSCSI offload hardware.
786c6d
6c64be
%package devel
6c64be
Summary: Development files for %{name}
6c64be
Group: Development/Libraries
6c64be
Requires: %{name} = %{version}-%{release}
6c64be
6c64be
%description devel
6c64be
The %{name}-devel package contains libraries and header files for
6c64be
developing applications that use %{name}.
6c64be
6c64be
%prep
c487f3
%autosetup -p1 -n open-iscsi-%{open_iscsi_version}.%{open_iscsi_build}
6c64be
6c64be
# change exec_prefix, there's no easy way to override
6c64be
%{__sed} -i -e 's|^exec_prefix = /$|exec_prefix = %{_exec_prefix}|' Makefile
6c64be
6c64be
%build
6c64be
6c64be
# configure sub-packages from here
6c64be
# letting the top level Makefile do it will lose setting from rpm
6c64be
cd iscsiuio
d087b3
autoreconf --install
6c64be
%{configure}
6c64be
cd ..
d087b3
6c64be
cd utils/open-isns
d087b3
chmod +x ./configure
d94dff
%{configure} --with-security=no --with-slp=no
6c64be
cd ../..
6c64be
6c64be
%{__make} OPTFLAGS="%{optflags} %{?__global_ldflags} -DUSE_KMOD -lkmod"
6c64be
pushd libiscsi
6c64be
python setup.py build
6c64be
touch -r libiscsi.doxy html/*
6c64be
popd
6c64be
6c64be
6c64be
%install
6c64be
%{__make} DESTDIR=%{?buildroot} install_programs install_doc install_etc
6c64be
# upstream makefile doesn't get everything the way we like it
6c64be
rm $RPM_BUILD_ROOT%{_sbindir}/iscsi_discovery
6c64be
rm $RPM_BUILD_ROOT%{_mandir}/man8/iscsi_discovery.8
6c64be
%{__install} -pm 755 usr/iscsistart $RPM_BUILD_ROOT%{_sbindir}
6c64be
%{__install} -pm 644 doc/iscsistart.8 $RPM_BUILD_ROOT%{_mandir}/man8
6c64be
%{__install} -pm 644 doc/iscsi-iname.8 $RPM_BUILD_ROOT%{_mandir}/man8
6c64be
%{__install} -d $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
6c64be
%{__install} -pm 644 iscsiuio/iscsiuiolog $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d
6c64be
6c64be
%{__install} -d $RPM_BUILD_ROOT%{_sharedstatedir}/iscsi
6c64be
%{__install} -d $RPM_BUILD_ROOT%{_sharedstatedir}/iscsi/nodes
6c64be
%{__install} -d $RPM_BUILD_ROOT%{_sharedstatedir}/iscsi/send_targets
6c64be
%{__install} -d $RPM_BUILD_ROOT%{_sharedstatedir}/iscsi/static
6c64be
%{__install} -d $RPM_BUILD_ROOT%{_sharedstatedir}/iscsi/isns
6c64be
%{__install} -d $RPM_BUILD_ROOT%{_sharedstatedir}/iscsi/slp
6c64be
%{__install} -d $RPM_BUILD_ROOT%{_sharedstatedir}/iscsi/ifaces
6c64be
6c64be
# for %%ghost
6c64be
%{__install} -d $RPM_BUILD_ROOT/var/lock/iscsi
6c64be
touch $RPM_BUILD_ROOT/var/lock/iscsi/lock
6c64be
6c64be
6c64be
%{__install} -d $RPM_BUILD_ROOT%{_unitdir}
6c64be
%{__install} -pm 644 etc/systemd/iscsi.service $RPM_BUILD_ROOT%{_unitdir}
3d2430
%{__install} -pm 644 etc/systemd/iscsi-onboot.service $RPM_BUILD_ROOT%{_unitdir}
d94dff
%{__install} -pm 644 etc/systemd/iscsi-shutdown.service $RPM_BUILD_ROOT%{_unitdir}
6c64be
%{__install} -pm 644 etc/systemd/iscsid.service $RPM_BUILD_ROOT%{_unitdir}
6c64be
%{__install} -pm 644 etc/systemd/iscsid.socket $RPM_BUILD_ROOT%{_unitdir}
6c64be
%{__install} -pm 644 etc/systemd/iscsiuio.service $RPM_BUILD_ROOT%{_unitdir}
6c64be
%{__install} -pm 644 etc/systemd/iscsiuio.socket $RPM_BUILD_ROOT%{_unitdir}
6c64be
6c64be
%{__install} -d $RPM_BUILD_ROOT%{_libexecdir}
6c64be
%{__install} -pm 755 etc/systemd/iscsi-mark-root-nodes $RPM_BUILD_ROOT%{_libexecdir}
6c64be
6c64be
%{__install} -d $RPM_BUILD_ROOT%{_sysconfdir}/NetworkManager/dispatcher.d
6c64be
%{__install} -pm 755 %{SOURCE4} $RPM_BUILD_ROOT%{_sysconfdir}/NetworkManager/dispatcher.d
6c64be
6c64be
%{__install} -d $RPM_BUILD_ROOT%{_tmpfilesdir}
6c64be
%{__install} -pm 644 %{SOURCE5} $RPM_BUILD_ROOT%{_tmpfilesdir}/iscsi.conf
6c64be
6c64be
%{__install} -d $RPM_BUILD_ROOT%{_libdir}
6c64be
%{__install} -pm 755 libiscsi/libiscsi.so.0 $RPM_BUILD_ROOT%{_libdir}
6c64be
%{__ln_s}    libiscsi.so.0 $RPM_BUILD_ROOT%{_libdir}/libiscsi.so
6c64be
%{__install} -d $RPM_BUILD_ROOT%{_includedir}
6c64be
%{__install} -pm 644 libiscsi/libiscsi.h $RPM_BUILD_ROOT%{_includedir}
6c64be
6c64be
%{__install} -d $RPM_BUILD_ROOT%{python_sitearch}
6c64be
%{__install} -pm 755 libiscsi/build/lib.linux-*/libiscsimodule.so \
6c64be
	$RPM_BUILD_ROOT%{python_sitearch}
6c64be
6c64be
6c64be
%post
6c64be
/sbin/ldconfig
6c64be
3d2430
%systemd_post iscsi.service iscsi-onboot.service iscsi-shutdown.service iscsid.service iscsid.socket
6c64be
6c64be
if [ $1 -eq 1 ]; then
6c64be
	if [ ! -f %{_sysconfdir}/iscsi/initiatorname.iscsi ]; then
6c64be
		echo "InitiatorName=`/usr/sbin/iscsi-iname`" > %{_sysconfdir}/iscsi/initiatorname.iscsi
6c64be
	fi
6c64be
	# enable socket activation and persistant session startup by default
6c64be
	/bin/systemctl enable iscsi.service >/dev/null 2>&1 || :
3d2430
	/bin/systemctl enable iscsi-onboot.service >/dev/null 2>&1 || :
6c64be
	/bin/systemctl enable iscsid.socket >/dev/null 2>&1 || :
7bf295
	/bin/systemctl start iscsid.socket >/dev/null 2>&1 || :
d94dff
fi
d94dff
d94dff
%post iscsiuio
d94dff
%systemd_post iscsiuio.service iscsiuio.socket
d94dff
d94dff
if [ $1 -eq 1 ]; then
6c64be
	/bin/systemctl enable iscsiuio.socket >/dev/null 2>&1 || :
7bf295
	/bin/systemctl start iscsiuio.socket >/dev/null 2>&1 || :
6c64be
fi
6c64be
6c64be
%preun
6b208b
%systemd_preun iscsi.service iscsi-onboot.service iscsi-shutdown.service iscsid.service iscsid.socket
d94dff
d94dff
%preun iscsiuio
d94dff
%systemd_preun iscsiuio.service iscsiuio.socket
6c64be
6c64be
%postun
6c64be
/sbin/ldconfig
6b208b
%systemd_postun iscsi.service iscsi-onboot.service iscsi-shutdown.service iscsid.service iscsid.socket
6c64be
d94dff
%postun iscsiuio
6b208b
%systemd_postun iscsiuio.service iscsiuio.socket
d94dff
d94dff
%triggerun -- iscsi-initiator-utils < 6.2.0.873-22
d94dff
# prior to 6.2.0.873-22 iscsi.service was missing a Wants=remote-fs-pre.target
d94dff
# this forces remote-fs-pre.target active if needed for a clean shutdown/reboot
d94dff
# after upgrading this package
d94dff
if [ $1 -gt 0 ]; then
d94dff
    /usr/bin/systemctl -q is-active iscsi.service
d94dff
    if [ $? -eq 0 ]; then
d94dff
        /usr/bin/systemctl -q is-active remote-fs-pre.target
d94dff
        if [ $? -ne 0 ]; then
d94dff
            SRC=`/usr/bin/systemctl show --property FragmentPath remote-fs-pre.target | cut -d= -f2`
d94dff
            DST=/run/systemd/system/remote-fs-pre.target
d94dff
            if [ $SRC != $DST ]; then
d94dff
                cp $SRC $DST
d94dff
            fi
d94dff
            sed -i 's/RefuseManualStart=yes/RefuseManualStart=no/' $DST
d94dff
            /usr/bin/systemctl daemon-reload >/dev/null 2>&1 || :
d94dff
            /usr/bin/systemctl start remote-fs-pre.target >/dev/null 2>&1 || :
d94dff
        fi
d94dff
    fi
d94dff
fi
50b97d
# added in 6.2.0.873-26
d94dff
if [ $1 -gt 0 ]; then
d94dff
    systemctl start iscsi-shutdown.service >/dev/null 2>&1 || :
d94dff
fi
d94dff
6c64be
%files
6c64be
%doc README
6c64be
%dir %{_sharedstatedir}/iscsi
6c64be
%dir %{_sharedstatedir}/iscsi/nodes
6c64be
%dir %{_sharedstatedir}/iscsi/isns
6c64be
%dir %{_sharedstatedir}/iscsi/static
6c64be
%dir %{_sharedstatedir}/iscsi/slp
6c64be
%dir %{_sharedstatedir}/iscsi/ifaces
6c64be
%dir %{_sharedstatedir}/iscsi/send_targets
27a13b
%ghost %attr(0700, -, -) %{_var}/lock/iscsi
27a13b
%ghost %attr(0600, -, -) %{_var}/lock/iscsi/lock
6c64be
%{_unitdir}/iscsi.service
3d2430
%{_unitdir}/iscsi-onboot.service
d94dff
%{_unitdir}/iscsi-shutdown.service
6c64be
%{_unitdir}/iscsid.service
6c64be
%{_unitdir}/iscsid.socket
6c64be
%{_libexecdir}/iscsi-mark-root-nodes
6c64be
%{_sysconfdir}/NetworkManager/dispatcher.d/04-iscsi
6c64be
%{_tmpfilesdir}/iscsi.conf
6c64be
%dir %{_sysconfdir}/iscsi
6c64be
%attr(0600,root,root) %config(noreplace) %{_sysconfdir}/iscsi/iscsid.conf
786c6d
%{_sbindir}/iscsi-iname
786c6d
%{_sbindir}/iscsiadm
786c6d
%{_sbindir}/iscsid
786c6d
%{_sbindir}/iscsistart
6c64be
%{_libdir}/libiscsi.so.0
6c64be
%{python_sitearch}/libiscsimodule.so
786c6d
%{_mandir}/man8/iscsi-iname.8.gz
786c6d
%{_mandir}/man8/iscsiadm.8.gz
786c6d
%{_mandir}/man8/iscsid.8.gz
786c6d
%{_mandir}/man8/iscsistart.8.gz
786c6d
786c6d
%files iscsiuio
786c6d
%{_sbindir}/iscsiuio
786c6d
%{_unitdir}/iscsiuio.service
786c6d
%{_unitdir}/iscsiuio.socket
6c64be
%config(noreplace) %{_sysconfdir}/logrotate.d/iscsiuiolog
786c6d
%{_mandir}/man8/iscsiuio.8.gz
6c64be
6c64be
%files devel
6c64be
%doc libiscsi/html
6c64be
%{_libdir}/libiscsi.so
6c64be
%{_includedir}/libiscsi.h
6c64be
6c64be
%changelog
b12556
* Thu Oct 07 2021 Chris Leech <cleech@redhat.com> - 6.2.0.874-22
b12556
- 1946578 fix segfault on case mismatch in config/record file
b12556
27a13b
* Mon Aug 09 2021 Chris Leech <cleech@redhat.com> - 6.2.0.874-21
27a13b
- 1989972 set proper attr in rpm db for lockfiles, fixes rpm verificiation warning
27a13b
0e8382
* Wed Sep 30 2020 Chris Leech <cleech@redhat.com> - 6.2.0.874-20
0e8382
- 1881245 iscsiadm regression when discovering many targets at once
0e8382
6b208b
* Thu Jul 02 2020 Chris Leech <cleech@redhat.com> - 6.2.0.874-19
6b208b
- 1851250 fix libiscsi for libcrypto requirement
6b208b
6b208b
* Tue May 12 2020 Chris Leech <cleech@redhat.com> - 6.2.0.874-18
6b208b
- 1809945 backport new CHAP modes for FIPS environments (SHA1 and SHA256 only, no SHA3 in OpenSSL-1.0.2)
6b208b
3d2430
* Mon Oct 28 2019 Chris Leech <cleech@redhat.com> - 6.2.0.874-17
3d2430
- 1518367 boot from iSCSI not establishing all sessions persistently
3d2430
- 1667965 A manual restart of iscsi.service modifies records node.startup value
3d2430
3d2430
* Thu Oct 17 2019 Chris Leech <cleech@redhat.com> - 6.2.0.874-16
3d2430
- upstream iscsiuio/configure.ac changes were breaking build hardening
3d2430
3d2430
* Wed Oct 16 2019 Chris Leech <cleech@redhat.com> - 6.2.0.874-15
3d2430
- 1396651 Update service files, support sd_notify instead of pid files, stop forking
3d2430
3d2430
* Wed Sep 11 2019 Chris Leech <cleech@redhat.com> - 6.2.0.874-14
3d2430
- 1598647 update boot gateway information during sync_session
3d2430
3d2430
* Fri Aug 23 2019 Chris Leech <cleech@redhat.com> - 6.2.0.874-13
3d2430
- 1724579 iscsiuio update, allow processing requests in DHCP failure condition
3d2430
3d2430
* Tue Aug 20 2019 Chris Leech <cleech@redhat.com> - 6.2.0.874-12
3d2430
- 1389071 handle newer ISCSI_ERR_NOP_TIMEDOUT code from the kernel
3d2430
- 1624670 Login negotiation failed due to CHAP_N values do not match
3d2430
          (rec update race condition)
3d2430
3d2430
* Wed Mar 06 2019 Chris Leech <cleech@redhat.com> - 6.2.0.874-11
47585c
- 1649401, 1649413 iscsiuio updates
47585c
36b27b
* Wed Aug 29 2018 Chris Leech <cleech@redhat.com> - 6.2.0.874-10
36b27b
- 1185734 set iscsid.safe_logout to Yes by default
36b27b
36b27b
* Fri Jun 22 2018 Chris Leech <cleech@redhat.com> - 6.2.0.874-9
36b27b
- 1578984 update iscsiuio to v0.7.8.4
36b27b
36b27b
* Fri Jun 22 2018 Chris Leech <cleech@redhat.com> - 6.2.0.874-8
36b27b
- 1278438 enable MaxOutstandingR2T negotiation during login
36b27b
7bf295
* Thu Nov 30 2017 Chris Leech <cleech@redhat.com> - 6.2.0.874-7
7bf295
- 1328694 keep vlan settings in sync for ipv4/ipv6 iface records with be2iscsi
7bf295
7bf295
* Wed Nov 01 2017 Chris Leech <cleech@redhat.com> - 6.2.0.874-6
7bf295
- 1507945 force start iscsiuio for boot session recovery with qedi
7bf295
- 1457359 start systemd socket listeners, otherwise if iscsid is started
7bf295
  directly iscsiuio doesn't activate as expected
7bf295
7bf295
* Tue Aug 15 2017 Chris Leech <cleech@redhat.com> - 6.2.0.874-5
7bf295
- 1431622 fix default in iscsi-iname manpage to match Red Hat customization
7bf295
c487f3
* Tue Jun 27 2017 Chris Leech <cleech@redhat.com> - 6.2.0.874-4
c487f3
- 1450756 isolate iscsistart sockets
c487f3
c487f3
* Fri Apr 28 2017 Chris Leech <cleech@redhat.com> - 6.2.0.874-3
c487f3
- 1445686 add missing ping hook for the qedi transport driver
c487f3
c487f3
* Tue Apr 11 2017 Chris Leech <cleech@redhat.com> - 6.2.0.874-2
c487f3
- 1422941 allow disabling of auto scanning sessions, requested for OpenStack
c487f3
c487f3
* Tue Feb 28 2017 Chris Leech <cleech@redhat.com> - 6.2.0.874-1
c487f3
- 1384090 upstream 2.0.874+ with qedi support
c487f3
- 1414819 iscsid reporting blank emerg messages
c487f3
d087b3
* Thu Aug 18 2016 Chris Leech <cleech@redhat.com> - 6.2.0.873-35
d087b3
- 1362590 Revert iscsiuio pthread changes that result in a race condition on shutdown
d087b3
d087b3
* Tue Jun 14 2016 Chris Leech <cleech@redhat.com> - 6.2.0.873-34
d087b3
- 1322000 ensure TCP abort on session failure to prevent data corruption with link flap
d087b3
- 1294964, 1265073, 1213569 iscsiuio update, fix small ARP table issue
d087b3
- 1309488 remove broken sysfs cache code to speed up login of many sessions
d087b3
- 1330348 sync with upstream Open-iSCSI for minor fixes
50b97d
50b97d
* Tue Apr 26 2016 Chris Leech <cleech@redhat.com> - 6.2.0.873-33
50b97d
- 1275139 iscsiuio support for multi-function mode NetXtreme2 HBAs
50b97d
6cc97b
* Fri Jul 24 2015 Chris Leech <cleech@redhat.com> - 6.2.0.873-32
6cc97b
- 1235684 apply safe_logout setting to flashnode sessions as well
6cc97b
  but only when logging out by session id, not by flashnode index
6cc97b
6cc97b
* Tue Jul 21 2015 Chris Leech <cleech@redhat.com> - 6.2.0.873-31
6cc97b
- 1235684 fix safe logout DM name canonicalization, use libmount cache
6cc97b
6cc97b
* Mon Jul 06 2015 Chris Leech <cleech@redhat.com> - 6.2.0.873-30
6cc97b
- 1235684 add iscsid safe logout option
6cc97b
d94dff
* Fri Jan 30 2015 Chris Leech <cleech@redhat.com> - 6.2.0.873-29
d94dff
- 1166713 1187792 add missing ExecStart, only newer systemd lets that be optional for oneshot services
d94dff
d94dff
* Thu Jan 15 2015 Chris Leech <cleech@redhat.com> - 6.2.0.873-28
d94dff
- 1180100 scriptlets were never split out properly for the iscsiuio subpackage
d94dff
d94dff
* Thu Jan 15 2015 Chris Leech <cleech@redhat.com> - 6.2.0.873-27
d94dff
- 1168556 fix regression in network interface binding
d94dff
d94dff
* Mon Jan 12 2015 Chris Leech <cleech@redhat.com> - 6.2.0.873-26
d94dff
- 1166713 created iscsi-shutdown.service to ensure that session cleanup happens
d94dff
d94dff
* Thu Dec 11 2014 Andy Grover <agrover@redhat.com> - 6.2.0.873-25
d94dff
- Add --with-slp=no for #1088020
d94dff
d94dff
* Tue Nov 18 2014 Chris Leech <cleech@redhat.com> - 6.2.0.873-24
d94dff
- 1040343 segfault from unexpected netlink event during discovery
d94dff
- inhibit strict aliasing optimizations in iscsiuio, rpmdiff error
d94dff
d94dff
* Tue Oct 21 2014 Chris Leech <cleech@redhat.com> - 6.2.0.873-23
d94dff
- make sure to pass --with-security=no to isns configure (#1088020)
d94dff
d94dff
* Wed Sep 24 2014 Chris Leech <cleech@redhat.com> - 6.2.0.873-22
d94dff
- 1081798 retry login on host not found error
d94dff
- 1111925 ignore iscsiadm return in iscsi.service
d94dff
- 1126524 make sure systemd order against remote mounts is correct
d94dff
- 963039 add discovery as a valid mode in iscsiadm.8
d94dff
- sync with upstream
d94dff
786c6d
* Tue Mar 18 2014 Chris Leech <cleech@redhat.com> - 6.2.0.873-21
786c6d
- 1069825
786c6d
- boot session handling improvements
786c6d
- Fix iscsi-mark-root for changed iscsiadm output
786c6d
- Make sure iscsiuio is running for boot session recovery when using the
786c6d
  bnx2i transport by forcing iscsiuio.service start
786c6d
- Make NM dispatch triggered re-check for autostart sessions async
786c6d
- Accept exit code 21, no records, from iscsiadm as success in
786c6d
  iscsi.service
786c6d
786c6d
* Tue Feb 25 2014 Chris Leech <cleech@redhat.com> - 6.2.0.873-20
786c6d
- 1049710 host0 being treated as an invalid in the host stats command
786c6d
- 1015563 revert change to return code when calling login_portal for sessions
786c6d
  that already exist, as it impacts users scripting around iscsiadm
786c6d
786c6d
* Mon Feb 17 2014 Chris Leech <cleech@redhat.com> - 6.2.0.873-19
786c6d
- 1007388 fixes for iscsiadm to support qla4xxx
786c6d
- refresh boot session info patches to final version from upstream,
786c6d
  fixes context issues with later patches
786c6d
- 1006156, 1006161 Add/Update entries in chap table through Open-iSCSI
786c6d
- 948134 extend support to set additional parameters for network configuration
786c6d
- 1049710 update open-iscsi to support host statistics
786c6d
- 1043019 iscsiuio fix for arp cache flush issue
786c6d
- 1059332 Fix broken discovery sessions over iser
786c6d
- 1017393 split out iscsiuio into a seperate sub-package
786c6d
786c6d
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 6.2.0.873-18
786c6d
- Mass rebuild 2014-01-24
786c6d
786c6d
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 6.2.0.873-17
786c6d
- Mass rebuild 2013-12-27
786c6d
6c64be
* Mon Nov 25 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-16
6c64be
- fix iscsiuio socket activation
6c64be
- have systemd start socket units on iscsiadm use, if not already listening
6c64be
6c64be
* Sun Sep 15 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-15
6c64be
- move /sbin to /usr/sbin
6c64be
- use rpm macros in install rules
6c64be
6c64be
* Fri Sep 13 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-14
6c64be
- fix iscsiuio hardened build and other compiler flags
6c64be
6c64be
* Fri Aug 23 2013 Andy Grover <agrover@redhat.com> - 6.2.0.873-13
6c64be
- Fix patch 0041 to check session != NULL before calling iscsi_sysfs_read_boot()
6c64be
6c64be
* Tue Aug 20 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-12
6c64be
- fix regression in last build, database records can't be accessed
6c64be
6c64be
* Mon Aug 19 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-11
6c64be
- iscsi boot related fixes
6c64be
  make sure iscsid gets started if there are any boot sessions running
6c64be
  add reload target to fix double session problem when restarting from NM
6c64be
  don't rely on session list passed from initrd, never got fully implemented
6c64be
  remove patches related to running iscsid from initrd, possible to revisit later
6c64be
6c64be
* Sun Aug 18 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-10
6c64be
- sync with upstream git, minor context fixes after rebase of out-of-tree patches
6c64be
- iscsiuio is merged upstream, remove old source archive and patches
6c64be
- spec cleanups to fix rpmlint issues
6c64be
6c64be
* Sun Aug  4 2013 Peter Robinson <pbrobinson@fedoraproject.org> 6.2.0.873-9
6c64be
- Fix FTBFS, cleanup spec
6c64be
6c64be
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0.873-8
6c64be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
6c64be
6c64be
* Tue Jun 11 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-7
6c64be
- Use the systemd tmpfiles service to recreate lockfiles in /var/lock
6c64be
- 955167 build as a position independent executable
6c64be
- 894576 fix order of setuid/setgid and drop additional groups
6c64be
6c64be
* Tue May 28 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-6
6c64be
- Don't have iscsiadm scan for autostart record if node db is empty (bug #951951)
6c64be
6c64be
* Tue Apr 30 2013 Orion Poplawski <orion@cora.nwra.com> - 6.2.0.873-5
6c64be
- Fix typo in NM dispatcher script (bug #917058)
6c64be
6c64be
* Thu Feb 21 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-4
6c64be
- build with libkmod support, instead of calling out to modprobe
6c64be
- enable socket activation by default
6c64be
6c64be
* Thu Jan 24 2013 Kalev Lember <kalevlember@gmail.com> - 6.2.0.873-3
6c64be
- Fix the postun script to not use ldconfig as the interpreter
6c64be
6c64be
* Wed Jan 23 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-2
6c64be
- package iscsi_mark_root_nodes script, it's being referenced by the unit files
6c64be
6c64be
* Tue Jan 22 2013 Chris Leech <cleech@redhat.com> - 6.2.0.873-1
6c64be
- rebase to new upstream code
6c64be
- systemd conversion
6c64be
- 565245 Fix multilib issues caused by timestamp in doxygen footers
6c64be
6c64be
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0.872-19
6c64be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
6c64be
6c64be
* Tue Feb 14 2012 Mike Christie <mchristi@redhat.com> 6.2.0.872.18
6c64be
- 789683 Fix boot slow down when the iscsi service is started
6c64be
  (regression added in 6.2.0.872.16 when the nm wait was added).
6c64be
6c64be
* Mon Feb 6 2012 Mike Christie <mchristi@redhat.com> 6.2.0.872.17
6c64be
- 786174 Change iscsid/iscsi service startup, so it always starts
6c64be
  when called.
6c64be
6c64be
* Sat Feb 4 2012 Mike Christie <mchristi@redhat.com> 6.2.0.872.16
6c64be
- 747479 Fix iscsidevs handling of network requirement
6c64be
6c64be
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0.872-15
6c64be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
6c64be
6c64be
* Wed Nov 30 2011 Mike Christie <mcrhsit@redhat.com> 6.2.0.872.14
6c64be
- Fix version string to reflect fedora and not rhel.
6c64be
6c64be
* Tue Oct 18 2011 Mike Christie <mcrhsit@redhat.com> 6.2.0.872.13
6c64be
- Update iscsi tools.
6c64be
6c64be
* Sat Apr 30 2011 Hans de Goede <hdegoede@redhat.com> - 6.2.0.872-12
6c64be
- Change iscsi init scripts to check for networking being actually up, rather
6c64be
  then for NetworkManager being started (#692230)
6c64be
6c64be
* Tue Apr 26 2011 Hans de Goede <hdegoede@redhat.com> - 6.2.0.872-11
6c64be
- Fix iscsid autostarting when upgrading from an older version
6c64be
  (add iscsid.startup key to iscsid.conf on upgrade)
6c64be
- Fix printing of [ OK ] when successfully stopping iscsid
6c64be
- systemd related fixes:
6c64be
 - Add Should-Start/Stop tgtd to iscsi init script to fix (re)boot from
6c64be
   hanging when using locally hosted targets
6c64be
 - %%ghost /var/lock/iscsi and contents (#656605)
6c64be
6c64be
* Mon Apr 25 2011 Mike Christie <mchristi@redhat.com> 6.2.0.872-10
6c64be
- Fix iscsi init scripts check for networking being up (#692230)
6c64be
6c64be
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2.0.872-9
6c64be
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild