225 Commits

Author SHA256 Message Date
Dominique Leuenberger
440bec2617 Accepting request 984063 from network
OBS-URL: https://build.opensuse.org/request/show/984063
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/open-iscsi?expand=0&rev=119
2022-06-23 08:22:09 +00:00
Lee Duncan
f2229c1695 Accepting request 984062 from home:lee_duncan:branches:network
Fix SPEC file: no %config files in /usr

OBS-URL: https://build.opensuse.org/request/show/984062
OBS-URL: https://build.opensuse.org/package/show/network/open-iscsi?expand=0&rev=204
2022-06-20 21:29:23 +00:00
Lee Duncan
0bff7ac0f7 Accepting request 983469 from home:lee_duncan:branches:network
- For Tumbleweed, moved logrotate files from user-specific
  directory /etc/logrotate.d to vendor-specific
  /usr/etc/logrotate.d
  (for Stefan Schubert <schubi@suse.com>)

OBS-URL: https://build.opensuse.org/request/show/983469
OBS-URL: https://build.opensuse.org/package/show/network/open-iscsi?expand=0&rev=203
2022-06-17 16:19:03 +00:00
Dominique Leuenberger
1345d03382 Accepting request 977578 from network
OBS-URL: https://build.opensuse.org/request/show/977578
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/open-iscsi?expand=0&rev=118
2022-05-17 15:23:59 +00:00
Lee Duncan
875f82c401 Accepting request 977577 from home:lee_duncan:branches:network
- Set initiatorname in %post (at end of install), for cases
  where root is read-only at startup time (bsc#1198457)

OBS-URL: https://build.opensuse.org/request/show/977577
OBS-URL: https://build.opensuse.org/package/show/network/open-iscsi?expand=0&rev=201
2022-05-16 16:14:13 +00:00
Dominique Leuenberger
2d3f234239 Accepting request 976005 from network
OBS-URL: https://build.opensuse.org/request/show/976005
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/open-iscsi?expand=0&rev=117
2022-05-12 20:57:32 +00:00
0278f3f749 Accepting request 975946 from home:lee_duncan:branches:network
- Update to latest upstream, including:
  * Added 'distclean' to Makefile targets
  * Ensure Makefile '.PHONY' targets set up correctly
  * fix an iscsid logout bug generating a false error
    and cleanup logout error messages

OBS-URL: https://build.opensuse.org/request/show/975946
OBS-URL: https://build.opensuse.org/package/show/network/open-iscsi?expand=0&rev=199
2022-05-10 08:02:57 +00:00
Dominique Leuenberger
0c4c3f17d8 Accepting request 975469 from network
OBS-URL: https://build.opensuse.org/request/show/975469
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/open-iscsi?expand=0&rev=116
2022-05-08 19:52:05 +00:00
Lee Duncan
e1d76a103e Accepting request 975468 from home:lee_duncan:branches:network
- Updated to latest upstream version, tagged 2.1.7. Changes
  included:
  * updated/fixed test script
  * updated build system
  * several bug fixes, including one for bsc#1199264

OBS-URL: https://build.opensuse.org/request/show/975468
OBS-URL: https://build.opensuse.org/package/show/network/open-iscsi?expand=0&rev=197
2022-05-06 18:25:52 +00:00
Dominique Leuenberger
066510bdc4 Accepting request 967366 from network
OBS-URL: https://build.opensuse.org/request/show/967366
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/open-iscsi?expand=0&rev=115
2022-04-07 22:27:29 +00:00
Lee Duncan
f0d47b9cfe Accepting request 967364 from home:lee_duncan:branches:network
- 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
2022-04-06 17:42:11 +00:00
Dominique Leuenberger
41b1ea7203 Accepting request 959647 from network
OBS-URL: https://build.opensuse.org/request/show/959647
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/open-iscsi?expand=0&rev=114
2022-03-06 17:15:29 +00:00
Lee Duncan
72e876a686 Accepting request 959646 from home:lee_duncan:branches:network
- Update to latest upstream, including test cleanup, minor
  bug fixes (cosmetic), and fixing iscsi-init (bsc#1195656).

OBS-URL: https://build.opensuse.org/request/show/959646
OBS-URL: https://build.opensuse.org/package/show/network/open-iscsi?expand=0&rev=193
2022-03-05 17:39:56 +00:00
Dominique Leuenberger
e3f9e5e9d2 Accepting request 954406 from network
OBS-URL: https://build.opensuse.org/request/show/954406
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/open-iscsi?expand=0&rev=113
2022-02-16 23:29:52 +00:00
Lee Duncan
4d25448ba5 Accepting request 954405 from home:lee_duncan:branches:network
- Updated to latest upstream 2.1.6 as 2.1.6-suse, which contains
  bug fixes and cleanups. See the Changelog for more details.

OBS-URL: https://build.opensuse.org/request/show/954405
OBS-URL: https://build.opensuse.org/package/show/network/open-iscsi?expand=0&rev=192
2022-02-14 22:34:30 +00:00
Dominique Leuenberger
754e4975d0 Accepting request 930971 from network
OBS-URL: https://build.opensuse.org/request/show/930971
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/open-iscsi?expand=0&rev=112
2021-11-13 21:48:16 +00:00
Lee Duncan
a57cb1be6e Accepting request 930970 from home:lee_duncan:branches:network
- Merged latest upstream. Mostly cleanup, but includes a fix for
  iscsi-init.service when trying to write to the root volume too
  early (bsc#1192568), as well as an upstream fix for possible
  deadlock when dealing with sysfs.

OBS-URL: https://build.opensuse.org/request/show/930970
OBS-URL: https://build.opensuse.org/package/show/network/open-iscsi?expand=0&rev=191
2021-11-11 19:34:27 +00:00
Dominique Leuenberger
e3898f187b Accepting request 927854 from network
OBS-URL: https://build.opensuse.org/request/show/927854
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/open-iscsi?expand=0&rev=111
2021-10-30 21:13:21 +00:00
Lee Duncan
6fb5bae1a3 Accepting request 927853 from home:lee_duncan:branches:network
- Fix the usr-merge changes (bsc#1192013). This includes catching
  all the places that /sbin was still used directly, as well as
  making the SPEC file build using /usr/sbin for openSUSE but
  still use /sbin for SLE, for now.

OBS-URL: https://build.opensuse.org/request/show/927853
OBS-URL: https://build.opensuse.org/package/show/network/open-iscsi?expand=0&rev=190
2021-10-27 19:51:09 +00:00
Dominique Leuenberger
aed7e2edad Accepting request 923343 from network
OBS-URL: https://build.opensuse.org/request/show/923343
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/open-iscsi?expand=0&rev=110
2021-10-11 13:30:16 +00:00
Lee Duncan
ea73be84cd Accepting request 923342 from home:lee_duncan:branches:network
- Fix possible systemd cycle by adding an "obsoletes" for
  the old libopeniscsiusr for older versions.

OBS-URL: https://build.opensuse.org/request/show/923342
OBS-URL: https://build.opensuse.org/package/show/network/open-iscsi?expand=0&rev=189
2021-10-05 19:35:38 +00:00
Dominique Leuenberger
f75514841e Accepting request 922447 from network
OBS-URL: https://build.opensuse.org/request/show/922447
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/open-iscsi?expand=0&rev=109
2021-10-04 16:39:20 +00:00
Lee Duncan
db07166adc Accepting request 922446 from home:lee_duncan:branches:network
- Update to latest from upstream, fixing:
  * Moving the executables from /sbin to /usr/sbin (bsc#1191054)
  * Remove default dependencies from iscsi-init.service
   (bsc#1187190)

OBS-URL: https://build.opensuse.org/request/show/922446
OBS-URL: https://build.opensuse.org/package/show/network/open-iscsi?expand=0&rev=188
2021-09-30 21:17:33 +00:00
Dominique Leuenberger
9afc8d6c61 Accepting request 917766 from network
OBS-URL: https://build.opensuse.org/request/show/917766
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/open-iscsi?expand=0&rev=108
2021-09-11 20:24:26 +00:00
Lee Duncan
ae42161c7b Accepting request 917765 from home:lee_duncan:branches:network
- 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
2021-09-09 16:03:44 +00:00
Dominique Leuenberger
e644adc904 Accepting request 913882 from network
OBS-URL: https://build.opensuse.org/request/show/913882
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/open-iscsi?expand=0&rev=107
2021-08-26 21:14:11 +00:00
Lee Duncan
240e7384d3 Accepting request 913881 from home:lee_duncan:branches:network
- Merged latest upstream, which includes:
  * iscsid: set PR_SET_IO_FLUSHER (bsc#1188869)

OBS-URL: https://build.opensuse.org/request/show/913881
OBS-URL: https://build.opensuse.org/package/show/network/open-iscsi?expand=0&rev=186
2021-08-23 18:42:49 +00:00
Dominique Leuenberger
73d58c2df5 Accepting request 907566 from network
OBS-URL: https://build.opensuse.org/request/show/907566
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/open-iscsi?expand=0&rev=106
2021-07-22 20:43:03 +00:00
Lee Duncan
99241045b3 Accepting request 907565 from home:lee_duncan:branches:network
- Merge latest upstream, which includeds:
  * Support the "qede" CMA-card driver. (bsc#1188579)
  * iscsistart: fix null pointer deref before exit

OBS-URL: https://build.opensuse.org/request/show/907565
OBS-URL: https://build.opensuse.org/package/show/network/open-iscsi?expand=0&rev=185
2021-07-21 15:15:27 +00:00
Dominique Leuenberger
fab05c8068 Accepting request 892557 from network
OBS-URL: https://build.opensuse.org/request/show/892557
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/open-iscsi?expand=0&rev=105
2021-05-15 21:15:46 +00:00
Lee Duncan
f094567b07 Accepting request 892556 from home:lee_duncan:branches:network
- Merge latest upstream, which added fix (bsc#1185930):
  * Set default 'startup' to 'onboot' for FW nodes

OBS-URL: https://build.opensuse.org/request/show/892556
OBS-URL: https://build.opensuse.org/package/show/network/open-iscsi?expand=0&rev=183
2021-05-12 16:30:24 +00:00
Dominique Leuenberger
3b8ae376cb Accepting request 889089 from network
OBS-URL: https://build.opensuse.org/request/show/889089
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/open-iscsi?expand=0&rev=104
2021-05-02 16:35:27 +00:00
Lee Duncan
80e3f3615a Accepting request 889087 from home:lee_duncan:branches:network
- 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
2021-04-28 16:53:14 +00:00
Dominique Leuenberger
8b4f72abda Accepting request 878613 from network
OBS-URL: https://build.opensuse.org/request/show/878613
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/open-iscsi?expand=0&rev=103
2021-03-18 21:54:04 +00:00
Lee Duncan
19759782ff Accepting request 878611 from home:lee_duncan:branches:network
- 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
2021-03-12 17:13:38 +00:00
Dominique Leuenberger
52f048e130 Accepting request 868744 from network
OBS-URL: https://build.opensuse.org/request/show/868744
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/open-iscsi?expand=0&rev=102
2021-02-03 18:55:22 +00:00
Lee Duncan
dcccc2fca0 Accepting request 868743 from home:lee_duncan:branches:network
Updated to upstream version 2.1.3 as 2.1.3-suse, for bsc#1179908
(which addresses CVE-2020-17437, CVE-2020-17438, CVE-2020-13987,
and CVE-2020-13988).

OBS-URL: https://build.opensuse.org/request/show/868743
OBS-URL: https://build.opensuse.org/package/show/network/open-iscsi?expand=0&rev=177
2021-02-02 18:30:21 +00:00
Dominique Leuenberger
0299e607db Accepting request 867007 from network
OBS-URL: https://build.opensuse.org/request/show/867007
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/open-iscsi?expand=0&rev=101
2021-01-29 13:55:30 +00:00
Lee Duncan
b629939011 Accepting request 867006 from home:lee_duncan:branches:network
- 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
2021-01-26 21:44:30 +00:00
Dominique Leuenberger
c010eaf8f5 Accepting request 859645 from network
OBS-URL: https://build.opensuse.org/request/show/859645
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/open-iscsi?expand=0&rev=100
2021-01-02 20:30:22 +00:00
Lee Duncan
9116482698 Accepting request 859644 from home:lee_duncan:branches:network
- Updated to upstream version 2.1.3 as 2.1.3-suse, for bsc#1179908,
  including:
  * uip: check for TCP urgent pointer past end of frame
  * uip: check for u8 overflow when processing TCP options
  * uip: check for header length underflow during checksum calculation
  * fwparam_ppc: Fix memory leak in fwparam_ppc.c
  * iscsiuio: Remove unused macro IFNAMSIZ defined in iscsid_ipc.c
  * fwparam_ppc: Fix illegal memory access in fwparam_ppc.c
  * sysfs: Verify parameter of sysfs_device_get()
  * fwparam_ppc: Fix NULL pointer dereference in find_devtree()
  * open-iscsi: Clean user_param list when process exit
  * iscsi_net_util: Fix NULL pointer dereference in find_vlan_dev()
  * open-iscsi: Fix NULL pointer dereference in mgmt_ipc_read_req()
  * open-iscsi: Fix invalid pointer deference in find_initiator()
  * iscsiuio: Fix invalid parameter when call fstat()
  * iscsi-iname: Verify open() return value before calling read()
  * iscsi_sysfs: Fix NULL pointer deference in iscsi_sysfs_read_iface

OBS-URL: https://build.opensuse.org/request/show/859644
OBS-URL: https://build.opensuse.org/package/show/network/open-iscsi?expand=0&rev=173
2020-12-31 22:36:59 +00:00
Dominique Leuenberger
a0cdd09e47 Accepting request 851976 from network
OBS-URL: https://build.opensuse.org/request/show/851976
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/open-iscsi?expand=0&rev=99
2020-12-03 17:40:48 +00:00
Lee Duncan
c3463c5797 Accepting request 851975 from home:lee_duncan:branches:network
- 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
2020-12-01 00:17:40 +00:00
Dominique Leuenberger
65296c53ef Accepting request 846080 from network
OBS-URL: https://build.opensuse.org/request/show/846080
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/open-iscsi?expand=0&rev=98
2020-11-10 12:38:20 +00:00
Lee Duncan
66df7ab404 Accepting request 846079 from home:lee_duncan:branches:network
- 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
2020-11-04 19:54:16 +00:00
Dominique Leuenberger
7a908fb900 Accepting request 823425 from network
OBS-URL: https://build.opensuse.org/request/show/823425
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/open-iscsi?expand=0&rev=97
2020-08-02 10:27:47 +00:00
Lee Duncan
cc001447ed Accepting request 823424 from home:lee_duncan:branches:network
- 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
2020-07-29 14:40:57 +00:00
Dominique Leuenberger
4bd9990ec3 Accepting request 812704 from network
OBS-URL: https://build.opensuse.org/request/show/812704
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/open-iscsi?expand=0&rev=96
2020-06-11 12:44:48 +00:00
Lee Duncan
acbbcdd659 Accepting request 812703 from home:lee_duncan:branches:network
- 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
2020-06-08 17:02:20 +00:00
Dominique Leuenberger
1eb79acd2b Accepting request 799688 from network
OBS-URL: https://build.opensuse.org/request/show/799688
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/open-iscsi?expand=0&rev=95
2020-05-05 16:53:57 +00:00