- Moving DB files from /etc/iscsi/* to /var/lib/iscsi/* for
SLE-15-SP5 and forward, as is done in Tumbleweed.
- Added /etc/iscsi/README.DB-files-moved, and added SPEC file
changes to support this, including a post-install script to
move the DB files, only installed if DB files are moved.
- Renamed shared library from libopeniscsiusr0_2_0 to
libopeniscsiusr0, to correctly match SONAME in library.
- iscsid/iscsiuio: fix OOM adjustment (github issue #377)
OBS-URL: https://build.opensuse.org/request/show/1042036
OBS-URL: https://build.opensuse.org/package/show/network/open-iscsi?expand=0&rev=215
- Updated to latest upstream, including bug fixes and cleanups.
Changes included:
* add handling name/value pairs for firmware login (bsc#1196113),
including man page update for same
* Fix bug where some package parts were installed using
DESTDIR twice
* general build cleanup (in prep for removing DB files from
/etc/iscsi some day soon)
Also, now delivering a "package config" file for libopeniscsiusr.
OBS-URL: https://build.opensuse.org/request/show/967364
OBS-URL: https://build.opensuse.org/package/show/network/open-iscsi?expand=0&rev=195
- Updated to latest upstream 2.1.5 as 2.1.5-suse, which contains
these changes not already present:
* Handle IPv6 interfaces correctly. (bsc#1187958)
* Handle qedi correctly in NPAR mode (bsc#1187958)
* Update iscsiadm man page (bsc#1187958)
* Update iface.example for ipv6
* Change iscsi IP type from defines to enum.
* Handle recv() returning 0 in iscsid_response()
OBS-URL: https://build.opensuse.org/request/show/917765
OBS-URL: https://build.opensuse.org/package/show/network/open-iscsi?expand=0&rev=187
- Local (SUSE) change: update iscsi.service so that it tries to
logon to any "onboot" and firmware targets, in case a target
was offline when booted but back up when the service is started.
(bsc#1153806)
- Merged with latest from upstream, which contains these fixes:
* Add "no wait" option to iscsiadm firmware login
* Check for ISCSI_ERR_ISCSID_NOTCONN in iscsistart
* Log proper error message when AUTH failure occurs
OBS-URL: https://build.opensuse.org/request/show/889087
OBS-URL: https://build.opensuse.org/package/show/network/open-iscsi?expand=0&rev=181
- Updated to latest upstream 2.1.4 as 2.1.4-suse, which contains
these changes not already present:
* Enable iscsi.service asynchronous logins, cleanup services
(bsc#1183421)
* libopeniscsiusr: dont error loudly if a session isn't found when
working through iscsi_sessions_get()
* libopeniscsiusr: skip over removed sessions
* libopeniscsiusr: fix error messages
* Avoid hardcoding pkg-config to fix cross build
* Fix iscsistart login issue when target is delayed.
OBS-URL: https://build.opensuse.org/request/show/878611
OBS-URL: https://build.opensuse.org/package/show/network/open-iscsi?expand=0&rev=179
- Update to latest upstream (no new tag yet). To fix
bsc#1181313. Changes since last update added to
open-iscsi-SUSE-latest.diff.bz2:
* Fix iscsiadm segfault when exiting
* iscsid: Add NO_SYSTEMD to CFLAGS
* Change mkdir permissions to 0770, adjust usmask
* Fix typo in util.py
* iscsid: Do not allow conflicting pid-file options
* iscsiadm: Fix memory leak in iscsiadm
* libopeniscsiusr: Fix memory leak in iscsi_sessions_get()
* libopeniscsiusr: Fix memory leak in iscsi_nodes_get()
* idbm: Fix memory leak and NULL pointer dereference in idbm_rec_update_param()
* Add etc/systemd/iscsi-init.service to SYSTEMDFILES Makefile variable
OBS-URL: https://build.opensuse.org/request/show/867006
OBS-URL: https://build.opensuse.org/package/show/network/open-iscsi?expand=0&rev=175
- Updatged to latest upstream, including:
* iscsiadm: Optimize the the verification of mode paramters
* iscsid: Poll timeout value to 1 minute for iscsid
* iscsiadm: fix host stats mode coredump
* iscsid: fix logging level when starting and shutting down daemon
* Updated iscsiadm man page.
* Fix memory leak in sysfs_get_str
* libopeniscsiusr: Compare with max int instead of max long
- Systemd unit files should not depend on network.target (bsc#1179440),
updating:
* open-iscsi-SUSE-latest.diff.bz2
OBS-URL: https://build.opensuse.org/request/show/851975
OBS-URL: https://build.opensuse.org/package/show/network/open-iscsi?expand=0&rev=171
- Updated to latest upstream, including async login ability:
* TODO: Update to todo list.
* Implement login "no_wait" for iscsiadm NODE mode
* iscsiadm buffer overflow regression when discovering many targets at once
* iscsid: Check Invalid Session id for stop connection
* Add ability to attempt target logins asynchronously
- %service_del_postun_without_restart is now available on SLE
More accurately it's been introduced in SLE12-SP2+ and SLE15+
+-------------------------------------------------------------------
OBS-URL: https://build.opensuse.org/request/show/846079
OBS-URL: https://build.opensuse.org/package/show/network/open-iscsi?expand=0&rev=169
- Upgrade to upstream vresion 2.1.2 as 2.1.2-suse (for
jre#SES-1081), including:
* use openssl for random data generation
* Misspelled socket name might cause confusion to inexperienced user.
* iscsi/libopeniscsiusr:add libopeniscsiuser_node.h to HEADERS
* Let initiator name be created by iscsi-init.service.
* iscsi: fix fd leak
* iscsi: Add break to while loop
* Fix compiler complaint about string copy in iscsiuio
* Fix a compiler complaint about writing one byte
* Fix issue with zero-length arrays at end of struct
* Add iscsi-init.service
* Proper disconnect of TCP connection
* Fix dependency on new systemd RPM macro
* Fix SIGPIPE loop in signal handler
* Update iscsi-iname.c
* log:modify iSCSI shared memory permissions for logs
* Sequence systemd services correctly when upgrading
* Ignore iface.example in iface match checks
* More changes for musl.
* Fix type mismatch under musl.
* Change include of <sys/poll.h> to <poll.h>
* Add Wants=remote-fs-pre.target for sequencing.
* Add workaround in SPEC file for installcheck.
* Fix issue where "iscsi-iname -p" core dumps.
* iscsi-iname: fix iscsi-iname -p access NULL pointer without given IQN prefix
* Fix iscsi.service so it handles restarts better
Replacing open-iscsi-2.1.1-suse.tar.bz2 with open-iscsi-2.1.2-suse.tar.bz2,
and updating open-iscsi-SUSE-latest.diff.bz2 to empty, since initially
there are no differences.
OBS-URL: https://build.opensuse.org/request/show/823424
OBS-URL: https://build.opensuse.org/package/show/network/open-iscsi?expand=0&rev=167
- Merged in latest upstream. Summary:
* Let initiator name be created by iscsi-init.service.
* iscsi: fix fd leak
* iscsi: Add break to while loop
* Fix compiler complaint about string copy in iscsiuio
* Fix a compiler complaint about writing one byte
* Fix issue with zero-length arrays at end of struct
* Add iscsi-init.service
* Proper disconnect of TCP connection
* Fix SIGPIPE loop in signal handler
* Update iscsi-iname.c
* log:modify iSCSI shared memory permissions for logs
* Ignore iface.example in iface match checks
* More changes for musl.
* Fix type mismatch under musl.
* Change include of <sys/poll.h> to <poll.h>
* iscsi-iname: fix iscsi-iname -p access NULL pointer without given IQN prefix
Note that the "Add iscsi-init.service" change adds a new systemd
service called "iscsi-init", that creates the iSCSI initiator name
file /etc/iscsi/initiatorname.iscsi, if and only if it does not
exist. This obviates the need to do this from the SPEC file, now
updated.
Since this was not a version-number update, in addition to modifying
the SPEC file, also updates:
* open-iscsi-SUSE-latest.diff.bz2
OBS-URL: https://build.opensuse.org/request/show/812703
OBS-URL: https://build.opensuse.org/package/show/network/open-iscsi?expand=0&rev=165
Note that this also updates the version of libopeniscsiusr,
since the version numbers of it and open-iscsi are
kept in sync. Lastly, the libopeniscsiusr sub-package
updates the library version from 0_2_0 to 0_2_1.
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.
OBS-URL: https://build.opensuse.org/request/show/749012
OBS-URL: https://build.opensuse.org/package/show/network/open-iscsi?expand=0&rev=150