Hello community, here is the log from the commit of package open-iscsi for openSUSE:Leap:15.2 checked in at 2020-04-08 12:48:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2/open-iscsi (Old) and /work/SRC/openSUSE:Leap:15.2/.open-iscsi.new.3248 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "open-iscsi" Wed Apr 8 12:48:07 2020 rev:52 rq:790605 version:unknown Changes: -------- --- /work/SRC/openSUSE:Leap:15.2/open-iscsi/open-iscsi.changes 2020-01-15 15:36:26.618986477 +0100 +++ /work/SRC/openSUSE:Leap:15.2/.open-iscsi.new.3248/open-iscsi.changes 2020-04-08 12:48:34.578348289 +0200 @@ -2 +2 @@ -Sun Oct 20 22:57:20 UTC 2019 - Lee Duncan <[email protected]> +Thu Mar 26 16:56:38 UTC 2020 - Lee Duncan <[email protected]> @@ -4,3 +4,2 @@ -- Set timeout value when querying session info for a single - session (bsc#1152774), updating: - * open-iscsi-SUSE-latest.diff.bz2 +- Update SPEC file to work around issue with installcheck + SUSE script. Update the SPEC file while there. @@ -9 +8 @@ -Tue Jul 9 22:38:56 UTC 2019 - Lee Duncan <[email protected]> +Tue Mar 3 18:46:01 UTC 2020 - Lee Duncan <[email protected]> @@ -11,89 +10,5 @@ -- Update to latest upstream/factory version of open-iscsi and - iscsiuio (bsc#1113712). Summary of changes: - ************************************************************ - Christian Ehrhardt (2): - iscsiuio: avoid loosing bad rc in nic_nl_open - iscsiuio: fail on nic_nl_open failing - - Floris Bos (1): - context.h: add missing stdarg.h include - - Lee Duncan (37): - Plugging a memory leak from discovery. - Allow reading sysfs "port" to fail gracefully. - Fix incorrect sysfs logic for port and ip address. - Fix reading of sysfs signed integers when negative. - Create a new error for "target not connected". - Fix bug in error message when reading sysfs numbers. - Handle ENOTCONN error separately when reading sysfs values. - Limit session relogin attempts using config value. - Removed unused value 'one'. - Include stdio.h for use of snprintf(). - Fix qsort() comparator function call. - Do not allow multiple sessions when nr_sessions=1 - When reopen_max=0 retry reopening forever. - Use libkmod instead of fork/exec of modprobe. - Update GPLv2 License information. - Make reconnect to session on startup forever default. - Restore space in node-mode level 0 output - Added service file for iscsi logins - Use sd_notify() to tell systemd when iscsid is ready. - Update systemd unit files for iscsid - Preparing for version 2.0.877 - iscsistart is not installed - Fix i586 build issues with string length overflow. - Use pkg-config in Makefiles for newer libraries. - Updated iscsiadm man page: add "onboot" handling. - Fix output for iscsiadm node/iface print level P1 - When displaying interfaces, skip "iface.example" - Fix node print return value when no nodes. - Fix printing of node database again. - Fix output of node printing for multiple paths. - Stop using /var directory for PIDfile and locks - Improve daemon synchronization, fix err msgs - Fix pipe notification code - Add systemd support for iscsiuio - Make iscsid systemd usage optional - Fix possible discovery hang when timing out - Handle systemd disablement correctly in iscsiuio - - Manish Rangankar (4): - iscsiuio: Release xmit_mutex in error code path. - iscsiuio: Do not flush tx queue on each uio interrupt. - qedi: Set buf_size in case of ICMP and ARP packet. - qedi: Use uio BD index instead on buffer index. - - Nilesh Javali (4): - iscsiuio: limit retries of performing dhcpv6 before declaring dhcp failure - iscsiuio: v0.7.8.5 - iscsiuio: allow processing of iscsid requests in DHCP failure condition - iscsiuio: update version to 0.7.8.6 - - Scott Moser (2): - Close file handles when writing pid files. - Better error message and failure if netlink socket fails. - - Xiubo Li (1): - rec update: disable the idbm_lock in read/write when updating the rec - - fredvx (1): - Add Restart=on-failure option to iscsid.service - - igo95862 (2): - Make iscsid.service a requirement. - Fixed iscsi.service considering every signal and exit code as successful. Now only code 21 (no objects found to execute on) and normal exit conditions are valid. - ************************************************************ - Which updates: - * open-iscsi-SUSE-latest.diff.bz2 - -------------------------------------------------------------------- -Tue Mar 26 18:36:21 UTC 2019 - Lee Duncan <[email protected]> - -- Fixed issues surrounding output from "iscsiadm -m node ... -P1" and - "iscsiadm -m discovery -t st ... -o new -P1" (bsc#1128972), - cherry-picking 3 commits from upstream: - * Fix output of node printing for multiple paths. - * Fix printing of node database again. - * Fix node print return value when no nodes. - Which updates: - * open-iscsi-SUSE-latest.diff.bz2 +- Merged in latest upstream (2.1.1), which is mainly a bug-fix + release over 2.1.0, including changing the test suite from + shell-based to python3-based, replacing + open-iscsi.2.1.0-suse.tar.bz2 with open-iscsi-2.1.1-suse.tar.bz2 + and resetting open-iscsi-SUSE-latest-diff.bz2 @@ -102 +17 @@ -Fri Mar 8 20:59:39 UTC 2019 - Lee Duncan <[email protected]> +Fri Jan 31 21:39:48 UTC 2020 - Lee Duncan <[email protected]> @@ -104,2 +19,3 @@ -- Cherry picked upstream commit (bsc#1127913): - + cda251fc8bcf iscsiuio: Release xmit_mutex in error code path. +- Bug fixes, including addig support for "-fno-common" + compiler option, 586 bug fixes, a bug fix for SHA1 + handling, and other needed but small fixes (bsc#1160287), @@ -110 +26 @@ -Thu Jan 24 19:52:45 UTC 2019 - Lee Duncan <[email protected]> +Mon Nov 18 17:42:09 UTC 2019 - Lee Duncan <[email protected]> @@ -112,2 +28,22 @@ -- Fix output for iscsiadm node/iface print level P1 (bsc#1122938), - updating: +- Merged in latest upstream (2.1.0), including more fixes for + iscsiuio, and cleanup/bug-fixes of new CHAP code. + This replaces open-iscsi-2.0.878-suse.tar.bz2 with + open-iscsi-2.1.0-suse.tar.bz2, and it resets + open-iscsi-SUSE-latest.diff.bz2 with fixes after 2.1.0-suse. + + Also, updated the Summary lines in the spec file that + started with "iSCSI ...", since rpmlint didn't like + them starting with a non-capital letter, and updated the + version number for iscsiuio to match the code. + +------------------------------------------------------------------- +Sat Nov 9 17:44:09 UTC 2019 - Lee Duncan <[email protected]> + +- Use SPEC-file macro for systemd generator directory, since + the libexec macro is changing from /usr/lib to /usr/libexec. + +------------------------------------------------------------------- +Fri Nov 1 19:08:01 UTC 2019 - Lee Duncan <[email protected]> + +- Fix issue where CHAP was not working after latest update + (bsc#1155510), updating: @@ -117 +53 @@ -Mon Jan 7 19:48:16 UTC 2019 - Lee Duncan <[email protected]> +Fri Oct 18 21:00:41 UTC 2019 - Lee Duncan <[email protected]> @@ -119,4 +55,5 @@ -- Added two upstream qedi/iscsiuio fixes (bsc#1116711): - * qedi: Set buf_size in case of ICMP and ARP packet. - * qedi: Use uio BD index instead on buffer index. - updating: +- Merge in latest upstream, with fixes for: + * Support CHAP SHA-1, SHA-256, SHA3-256 vis openssl libcrypto + - this requires an update of the SPEC file, as well + * Initialize timeout for printing specific session info + Updating (in addition to the SPEC file): @@ -126 +63 @@ -Tue Nov 6 19:29:05 UTC 2018 - Lee Duncan <[email protected]> +Fri Sep 13 16:20:52 UTC 2019 - Lee Duncan <[email protected]> @@ -128,2 +65,39 @@ -- Update idbm.c files to stop i586 string overflow warnings, - updating: +- Upgraded to upstream version 2.0.878, which becomes 2.0.878-suse + with our (few) SUSE-specific changes needed for our build system. + Changes include: + * general bug fixes in iscsid, iscsiadm, and libopeniscsiusr, + including better lock handling for multiple instances of iscsiadm + * iscsiuio/qedi updates + * systemd service-file updates/cleanups + This replaces open-iscsi-2.0.877-suse.tar.bz2 with + open-iscsi-2.0.878-suse.tar.bz2, and it resets + open-iscsi-SUSE-latest.diff.bz2 with fixes after 2.0.878. + +------------------------------------------------------------------- +Mon Aug 12 12:08:11 UTC 2019 - Martin Liška <[email protected]> + +- Enable LTO on aarch64 as the gcc9 package issue is fixed: + https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91386 + +------------------------------------------------------------------- +Thu Aug 1 18:52:00 UTC 2019 - Lee Duncan <[email protected]> + +- Disable LTO (Link Time Optimization) on aarch64 since it seems + to fail -- iscsiadm core dumps almost immediately (bsc#1143192), + updating the SPEC file. + +------------------------------------------------------------------- +Wed Jul 17 11:58:21 UTC 2019 - Bernhard Wiedemann <[email protected]> + +- Ensure /etc/iscsi/initiatorname.iscsi has reproducible size + works around https://github.com/rpm-software-management/rpm/pull/229, + updating the SPEC file + +------------------------------------------------------------------- +Tue Jul 9 15:41:53 UTC 2019 - Lee Duncan <[email protected]> + +- Added latest upstream changes, including: ++++ 138 more lines (skipped) ++++ between /work/SRC/openSUSE:Leap:15.2/open-iscsi/open-iscsi.changes ++++ and /work/SRC/openSUSE:Leap:15.2/.open-iscsi.new.3248/open-iscsi.changes Old: ---- open-iscsi-2.0.876-suse.tar.bz2 New: ---- open-iscsi-2.1.1-suse.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ open-iscsi.spec ++++++ --- /var/tmp/diff_new_pack.IWdUy9/_old 2020-04-08 12:48:35.318348662 +0200 +++ /var/tmp/diff_new_pack.IWdUy9/_new 2020-04-08 12:48:35.318348662 +0200 @@ -1,7 +1,7 @@ # # spec file for package open-iscsi # -# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,25 +12,21 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ -# -# NOTE: do NOT make changes to this file directly in the build service, -# as this file is auto-generated from sources at: -# https://github.com/hreinecke/open-iscsi -# So changes here will be overwritten. Instead, submit issues or pull -# requests there. +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # -%define iscsi_release 876-suse +%define iscsi_minor_release 1 +%define iscsi_patch_release 1 +%define iscsi_patch_release_suse %{iscsi_patch_release}-suse Name: open-iscsi -Version: 2.0.876 +Version: 2.1.1 Release: 0 -Summary: Linux Open-iSCSI Software Initiator +Summary: Linux iSCSI Software Initiator License: GPL-2.0-or-later Group: Productivity/Networking/Other -Url: http://www.open-iscsi.com -Source: %{name}-2.0.%{iscsi_release}.tar.bz2 +URL: https://www.open-iscsi.com +Source: %{name}-2.%{iscsi_minor_release}.%{iscsi_patch_release_suse}.tar.bz2 Patch1: %{name}-SUSE-latest.diff.bz2 BuildRequires: autoconf BuildRequires: automake @@ -43,40 +39,42 @@ BuildRequires: libtool BuildRequires: make BuildRequires: open-isns-devel -BuildRequires: openssl-devel +BuildRequires: openssl-devel >= 1.1.1c BuildRequires: pkg-config BuildRequires: suse-module-tools -BuildRequires: systemd-devel +BuildRequires: pkgconfig(libsystemd) +BuildRequires: pkgconfig(systemd) Requires(post): coreutils Requires: libopeniscsiusr0_2_0 = %{version} %{?systemd_requires} %description -Open-iSCSI is a transport independent implementation of RFC 3720 +This is a transport independent implementation of RFC 3720 iSCSI. It is partitioned into user and kernel parts. The kernel portion of Open-iSCSI implements the iSCSI data path (that is, iSCSI Read and iSCSI Write), and consists of two loadable -modules: iscsi_if.ko and iscsi_tcp.ko. +modules: iscsi_if.ko and iscsi_tcp.ko, and is now is delivered +as part of the kernel. -The user space part contains the entire control plane: configuration +The user-space part contains the entire control plane: configuration manager, iSCSI Discovery, Login and Logout processing, connection-level error processing, Nop-In and Nop-Out handling. It comes with a daemon process called iscsid, and a management utility, iscsiadm. %package -n libopeniscsiusr0_2_0 -Version: 2.0.876 +Version: 2.%{iscsi_minor_release}.%{iscsi_patch_release} Release: 0 -Summary: Userspace iSCSI API +Summary: The iSCSI User-level Library Group: System/Libraries Obsoletes: libopeniscsiusr0_1_0 %description -n libopeniscsiusr0_2_0 -The iSCSI userspace API from the open-iscsi project. +The iSCSI user-space API from the open-iscsi project. %package -n iscsiuio -Version: 0.7.8.2 +Version: 0.7.8.6 Release: 0 Summary: Linux Broadcom NetXtremem II iscsi server Group: Productivity/Networking/Other @@ -86,7 +84,7 @@ This tool is to be used in conjunction with the Broadcom NetXtreme II Linux driver (Kernel module name: "bnx2" and "bnx2x"), Broadcom CNIC driver, and the Broadcom iSCSI driver (Kernel module name: "bnx2i"). -This user space tool is used in conjunction with the following +This user-space tool is used in conjunction with the following Broadcom Network Controllers: * bnx2: BCM5706, BCM5708, BCM5709 devices @@ -94,15 +92,16 @@ BCM57800, BCM57810, BCM57840 devices This utility will provide the ARP and DHCP functionality for the iSCSI offload. -The communication to the driver is done via Userspace I/O (Kernel module name +The communication to the driver is done via user-space I/O (Kernel module name "uio"). %package devel -Version: 2.0.876 +Version: 2.%{iscsi_minor_release}.%{iscsi_patch_release} Release: 0 -Summary: Linux open-iscsi user-level library and include files +Summary: The iSCSI User-level Library Development Library and Include files Group: Development/Libraries/C and C++ -Requires: %{name} +Requires: %{name} = %{version} +Conflicts: libopeniscsiusr0_1_0 %description devel This development package contains the open-iscsi user-level library @@ -110,30 +109,33 @@ the libopeniscsiusr library. %prep -%setup -q -n %{name}-2.0.%{iscsi_release} +%setup -q -n %{name}-2.%{iscsi_minor_release}.%{iscsi_patch_release_suse} %patch1 -p1 %build -make %{?_smp_mflags} OPTFLAGS="%{optflags} -fno-strict-aliasing -DOFFLOAD_BOOT_SUPPORTED -DUSE_KMOD -I/usr/include/kmod -DLOCK_DIR=\\\"%{_sysconfdir}/iscsi\\\"" user +[ -z "$SOURCE_DATE_EPOCH" ] || export KBUILD_BUILD_TIMESTAMP=@$SOURCE_DATE_EPOCH +make %{?_smp_mflags} OPTFLAGS="%{optflags} -fno-strict-aliasing -fno-common -DOFFLOAD_BOOT_SUPPORTED -DLOCK_DIR=\\\"%{_sysconfdir}/iscsi\\\"" LIB_DIR=%{_libdir} user cd iscsiuio touch AUTHORS NEWS autoreconf --install %configure --sbindir=/sbin -make %{?_smp_mflags} CFLAGS="%{optflags}" +make %{?_smp_mflags} CFLAGS="%{optflags}" LIB_DIR=%{_libdir} %install -make DESTDIR=%{buildroot} install_user +make DESTDIR=%{buildroot} LIB_DIR=%{_libdir} install_user # install service files -make DESTDIR=%{buildroot} install_service_suse +make DESTDIR=%{buildroot} LIB_DIR=%{_libdir} install_systemd # create rc symlinks [ -d %{buildroot}%{_sbindir} ] || mkdir -p %{buildroot}%{_sbindir} ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rciscsi ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rciscsid ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rciscsiuio (cd %{buildroot}/etc; ln -sf iscsi/iscsid.conf iscsid.conf) -touch %{buildroot}%{_sysconfdir}/iscsi/initiatorname.iscsi +echo > %{buildroot}%{_sysconfdir}/iscsi/initiatorname.iscsi install -m 0755 usr/iscsistart %{buildroot}/sbin %make_install -C iscsiuio +# rename iscsiuio logrotate file to proper name +mv %{buildroot}%{_sysconfdir}/logrotate.d/iscsiuiolog %{buildroot}%{_sysconfdir}/logrotate.d/iscsiuio %fdupes %{buildroot}/%{_prefix} %post @@ -180,7 +182,7 @@ %{_unitdir}/iscsid.service %{_unitdir}/iscsid.socket %{_unitdir}/iscsi.service -%{_libexecdir}/systemd/system-generators/ibft-rule-generator +%{_systemdgeneratordir}/ibft-rule-generator %{_sbindir}/rciscsi %{_sbindir}/rciscsid /sbin/iscsid @@ -202,13 +204,13 @@ %{_udevrulesdir}/50-iscsi-firmware-login.rules %files -n libopeniscsiusr0_2_0 -%{_libdir}/libopeniscsiusr.so* +%{_libdir}/libopeniscsiusr.so.* %files -n iscsiuio /sbin/iscsiuio /sbin/brcm_iscsiuio %{_mandir}/man8/iscsiuio.8%{ext_man} -%config %{_sysconfdir}/logrotate.d/iscsiuiolog +%config %{_sysconfdir}/logrotate.d/iscsiuio %{_unitdir}/iscsiuio.service %{_unitdir}/iscsiuio.socket %{_sbindir}/rciscsiuio @@ -216,5 +218,6 @@ %files devel %{_includedir}/libopeniscsiusr*.h %{_mandir}/man3/*.3%{ext_man} +%{_libdir}/libopeniscsiusr.so %changelog ++++++ open-iscsi-2.0.876-suse.tar.bz2 -> open-iscsi-2.1.1-suse.tar.bz2 ++++++ ++++ 13816 lines of diff (skipped) ++++++ open-iscsi-SUSE-latest.diff.bz2 ++++++ ++++ 9601 lines (skipped) ++++ between /work/SRC/openSUSE:Leap:15.2/open-iscsi/open-iscsi-SUSE-latest.diff.bz2 ++++ and /work/SRC/openSUSE:Leap:15.2/.open-iscsi.new.3248/open-iscsi-SUSE-latest.diff.bz2
