Blame SPECS/iscsi-initiator-utils.spec

6c64be
%define open_iscsi_version	2.0
6c64be
%define open_iscsi_build	873
6c64be
6c64be
Summary: iSCSI daemon and utility programs
6c64be
Name: iscsi-initiator-utils
6c64be
Version: 6.%{open_iscsi_version}.%{open_iscsi_build}
1a5cd8
Release: 33%{?dist}.2
6c64be
Group: System Environment/Daemons
6c64be
License: GPLv2+
6c64be
URL: http://www.open-iscsi.org
6c64be
6c64be
Source0: http://www.open-iscsi.org/bits/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
6c64be
Patch1: 0001-iscsid-fix-iscsid-segfault-during-qla4xxx-login.patch
6c64be
Patch2: 0002-ISCSISTART-Bring-up-the-corresponding-network-interf.patch
6c64be
Patch3: 0003-iscsi-tools-fix-compile-error-when-OFFLOAD_BOOT_SUPP.patch
6c64be
Patch4: 0004-ISCSID-Passing-more-net-params-from-ibft-to-iface.patch
6c64be
Patch5: 0005-iscsi-tools-Convert-r-argument-to-an-integer-before-.patch
6c64be
Patch6: 0006-Update-README-for-removal-of-DBM-requirement.patch
6c64be
Patch7: 0007-iscsid-iscsiadm-fix-abstract-socket-length-in-bind-c.patch
6c64be
Patch8: 0008-iscsid-implement-systemd-compatible-socket-activatio.patch
6c64be
Patch9: 0009-iscsid-add-example-unit-files-for-systemd.patch
6c64be
Patch10: 0010-iscsi-tools-fix-get_random_bytes-error-handling.patch
6c64be
Patch11: 0011-ISCSID-Added-socket-communication-hooks-for-uip.patch
6c64be
Patch12: 0012-ISCSID-Modified-the-Makefile-for-iscsiuio-compilatio.patch
6c64be
Patch13: 0013-ISCSID-Added-iscsiuio-source-to-the-open-iscsi-pkg.patch
6c64be
Patch14: 0014-From-Adheer-Chandravanshi-adheer.chandravanshi-qlogi.patch
6c64be
Patch15: 0015-Manpage-changes-for-flashnode-submode-support-for-ho.patch
6c64be
Patch16: 0016-README-changes-for-flashnode-submode-support-for-hos.patch
6c64be
Patch17: 0017-PATCH-1-of-1-correctly-check-return-value-of-nice.patch
6c64be
Patch18: 0018-Allow-firmware-mode-to-use-debug-flag.patch
6c64be
Patch19: 0019-iscsiadm-return-error-when-login-fails.patch
6c64be
Patch20: 0020-iscsiadm-bind-ifaces-to-portals-found-using-isns.patch
6c64be
Patch21: 0021-iscsiadm-Check-for-mode-is-not-required-when-creatin.patch
6c64be
Patch22: 0022-iscsid-iscsiadm-add-support-for-emulex-one-connect-s.patch
6c64be
Patch23: 0023-ISCSIUIO-Updated-iscsiuio-to-version-0.7.8.1b-for-pe.patch
6c64be
Patch24: 0024-Fix-discovery-error-return-without-return-value.patch
6c64be
Patch25: 0025-iscsid-Fix-strlen-parameter.patch
6c64be
Patch26: 0026-iscsiuio-Change-socket-bind-to-use-the-same-struct-s.patch
6c64be
Patch27: 0027-Make-rescan-run-in-parallel.patch
786c6d
Patch28: 0028-iscsiadm-Correctly-check-for-invalid-hostno-and-flas.patch
786c6d
Patch29: 0029-iscsi-tools-Print-additional-session-info-for-flashn.patch
786c6d
Patch30: 0030-iscsi-tools-sync-iscsi_if.h-with-kernel-space.patch
786c6d
Patch31: 0031-PATCH-v5-1-3-ISCSISTART-Saved-ibft-boot-info-to-the-.patch
786c6d
Patch32: 0032-ISCSID-Added-the-extraction-of-the-session-boot-info.patch
786c6d
Patch33: 0033-ISCSID-Added-iface-content-override-fix.patch
786c6d
Patch34: 0034-iscsi-tools-Bug-fix-on-IPC-address-copy-version-2.patch
786c6d
Patch35: 0035-flashnode-Add-support-to-set-ISCSI_FLASHNODE_CHAP_OU.patch
786c6d
Patch36: 0036-iscsiadm-Use-x-option-instead-of-v-to-specify-chap_t.patch
786c6d
Patch37: 0037-iscsiadm-Man-page-changes-to-use-x-option-for-chap_t.patch
786c6d
Patch38: 0038-README-changes-to-use-long-option-index-instead-of-f.patch
786c6d
Patch39: 0039-iscsiadm-Add-support-to-set-CHAP-entry-using-host-ch.patch
786c6d
Patch40: 0040-iscsi-tools-Correctly-get-username_in-and-password_i.patch
786c6d
Patch41: 0041-README-changes-for-adding-support-to-set-CHAP-entry.patch
786c6d
Patch42: 0042-iscsi-tools-Setup-iface-conf-file-with-all-iface-att.patch
786c6d
Patch43: 0043-iscsi_if.h-Remove-numbers-used-for-network-parameter.patch
786c6d
Patch44: 0044-iscsi_if.h-Additional-parameters-for-network-param-s.patch
786c6d
Patch45: 0045-iscsi-tools-Use-macro-to-set-IPv4-IPv6-IP-addresses.patch
786c6d
Patch46: 0046-iscsi-tools-Use-single-function-to-enable-disable-ne.patch
786c6d
Patch47: 0047-iscsi-tools-Use-single-function-to-set-integer-netwo.patch
786c6d
Patch48: 0048-iscsi-tools-Ignore-network-parameter-if-not-enabled-.patch
786c6d
Patch49: 0049-iscsi-tools-Additional-parameters-for-network-settin.patch
786c6d
Patch50: 0050-iscsi-tools-iface-params-should-be-updated-for-node_.patch
786c6d
Patch51: 0051-iscsi-tools-Let-default-type-of-iface-be-ipv4.patch
786c6d
Patch52: 0052-iscsi-tools-Show-iface-params-based-on-iface-type.patch
786c6d
Patch53: 0053-iscsiadm-Added-document-for-description-of-iface-att.patch
786c6d
Patch54: 0054-iscsi_tool-Add-offload-host-statistics-support.patch
786c6d
Patch55: 0055-README-Updated-for-host-statistics.patch
786c6d
Patch56: 0056-iscsiadm.8-Updated-man-page-for-host-statistics.patch
786c6d
Patch57: 0057-iscsi-tools-Fix-the-iscsiadm-help-options-for-host-m.patch
786c6d
Patch58: 0058-Man-page-correction-for-host-mode-options-of-iscsiad.patch
786c6d
Patch59: 0059-ISCSIUIO-Added-tx-doorbell-override-mechanism.patch
786c6d
Patch60: 0060-ISCSIUIO-Added-fix-for-the-iface.subnet_mask-decodin.patch
786c6d
Patch61: 0061-ISCSIUIO-Added-fix-for-the-ARP-cache-flush-mechanism.patch
786c6d
Patch62: 0062-ISCSIUIO-Updated-RELEASE-note-and-version.patch
786c6d
Patch63: 0063-ISCSIUIO-Updated-the-configure-file-to-reflect-the-n.patch
786c6d
Patch64: 0064-ISCSIUIO-Removed-the-auto-generated-COPYING-file.patch
786c6d
Patch68: 0068-iscsiuio-fix-compilation.patch
786c6d
Patch69: 0069-Add-missing-DESTDIR.patch
786c6d
Patch70: 0070-iscsi-tools-set-non-negotiated-params-early.patch
d94dff
Patch71: 0071-iscsiadm-Fix-the-hostno-check-for-stats-submode-of-h.patch
d94dff
Patch72: 0072-iscsiadm-Fix-the-compile-time-warning.patch
d94dff
Patch74: 0074-iscsid-Fix-handling-of-iscsi-async-events.patch
d94dff
Patch75: 0075-be2iscsi-Fix-MaxXmitDataLenght-of-the-driver.patch
d94dff
Patch76: 0076-Fix-StatSN-in-Open-iSCSI-Stack.patch
d94dff
Patch77: 0077-iscsid-retry-login-for-ISCSI_ERR_HOST_NOT_FOUND.patch
d94dff
Patch78: 0078-iscsid-Fix-double-close-of-mgmt-ipc-fd.patch
d94dff
Patch79: 0079-iscsiadm-Initialize-param_count-in-set_host_chap_inf.patch
d94dff
Patch81: 0081-iscsiadm-make-iface.ipaddress-optional-in-iface-conf.patch
d94dff
Patch82: 0082-Remove-unused-variable-path.patch
d94dff
Patch83: 0083-Parse-origin-value-from-iBFT.patch
d94dff
Patch84: 0084-isns-Add-docs-for-deregistering-discovery-domains.patch
d94dff
Patch114: 0114-fix-regression-in-iscsi_tcp-iface-binding.patch
6cc97b
Patch125: open-iscsi-2.0.873-125-iscsid-safe-session-logout.patch
6cc97b
Patch126: open-iscsi-2.0.873-126-iscsid-don-t-re-read-config-file-for-every-session-l.patch
6cc97b
Patch127: open-iscsi-2.0.873-fix-device-path-canonicalization-by-using-libmount-c.patch
6cc97b
Patch128: open-iscsi-2.0-873-safe-logout-flashnode.patch
50b97d
Patch136: 0136-iscsiuio-Correct-the-handling-of-Multi-Function-mode.patch
50b97d
Patch137: 0143-iscsiuio-Add-QLogic-Vendor-ID-to-support-newer-NX2-H.patch
50b97d
Patch138: 0148-iscsiuio-Get-the-library-to-use-based-on-uio-sysfs-n.patch
1a5cd8
Patch139: open-iscsi-0004-iscsi_tcp-set-SO_LINGER-to-abort-connection-for-e.patch
786c6d
6c64be
# not (yet) upstream merged
d94dff
Patch130: 0130-guard-against-NULL-ptr-during-discovery-from-unexpec.patch
d94dff
Patch140: 0140-add-discovery-as-a-valid-mode-in-iscsiadm.8.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
Patch147: 0147-iscsiuio-systemd-socket-activation-support.patch
786c6d
Patch149: 0149-update-systemd-service-files-add-iscsi.service-for-s.patch
786c6d
Patch150: 0150-iscsi-boot-related-service-file-updates.patch
6c64be
# distro specific modifications
786c6d
Patch151: 0151-update-initscripts-and-docs.patch
786c6d
Patch152: 0152-use-var-for-config.patch
786c6d
Patch153: 0153-use-red-hat-for-name.patch
786c6d
Patch154: 0154-add-libiscsi.patch
786c6d
Patch155: 0155-dont-use-static.patch
786c6d
Patch156: 0156-remove-the-offload-boot-supported-ifdef.patch
786c6d
Patch159: 0159-iscsiuio-systemd-unit-files.patch
786c6d
Patch160: 0160-use-systemctl-to-start-iscsid.patch
786c6d
Patch161: 0161-resolve-565245-multilib-issues-caused-by-doxygen.patch
786c6d
Patch162: 0162-Don-t-check-for-autostart-sessions-if-iscsi-is-not-u.patch
786c6d
Patch163: 0163-fix-order-of-setting-uid-gid-and-drop-supplementary-.patch
786c6d
Patch164: 0164-libiscsi-fix-incorrect-strncpy-use.patch
786c6d
Patch165: 0165-fix-hardened-build-of-iscsiuio.patch
786c6d
Patch166: 0166-start-socket-listeners-on-iscsiadm-command.patch
786c6d
Patch167: 0167-Revert-iscsiadm-return-error-when-login-fails.patch
786c6d
Patch168: 0168-update-handling-of-boot-sessions.patch
786c6d
Patch169: 0169-update-iscsi.service-for-boot-session-recovery.patch
d94dff
Patch170: 0170-fix-systemd-unit-wants.patch
d94dff
Patch171: 0171-iscsiuio-strict-aliasing.patch
d94dff
Patch172: 0172-move-cleanup-to-seperate-service.patch
6c64be
# version string, needs to be updated with each build
786c6d
Patch199: 0199-use-Red-Hat-version-string-to-match-RPM-package-vers.patch
6c64be
6cc97b
BuildRequires: flex bison python-devel doxygen kmod-devel systemd-devel libmount-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
50b97d
Requires: %{name} >= %{version}
50b97d
Provides: installer-enhancement = 19.0
50b97d
Provides: kernel-modules = 3.10.0-327.el7.x86_64
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
6cc97b
%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
6c64be
%{__chmod} +x configure
6c64be
%{configure}
6c64be
cd ..
6c64be
cd utils/open-isns
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}
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
d94dff
%systemd_post iscsi.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 || :
6c64be
	/bin/systemctl enable 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 || :
6c64be
fi
6c64be
6c64be
%preun
d94dff
%systemd_preun iscsi.service iscsi-shutdown.service iscsid.service iscsiuio.service iscsid.socket iscsiuio.socket
d94dff
d94dff
%preun iscsiuio
d94dff
%systemd_preun iscsiuio.service iscsiuio.socket
6c64be
6c64be
%postun
6c64be
/sbin/ldconfig
6c64be
%systemd_postun
6c64be
d94dff
%postun iscsiuio
d94dff
%systemd_postun
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
6c64be
%ghost %{_var}/lock/iscsi
6c64be
%ghost %{_var}/lock/iscsi/lock
6c64be
%{_unitdir}/iscsi.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
1a5cd8
* Tue Jun 28 2016 Chris Leech <cleech@redhat.com> - 6.2.0.873-33.2
1a5cd8
- 1346661 ensure TCP abort on session failure to prevent data corruption with link flap
1a5cd8
50b97d
* Tue May 03 2016 Chris Leech <cleech@redhat.com> - 6.2.0.873-33
50b97d
- 1332179 added spec file Provides for 7.2.z package to support DUP request
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