commit open-iscsi for openSUSE:Factory

2020-11-10 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2020-11-10 13:38:20

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new.11331 (New)


Package is "open-iscsi"

Tue Nov 10 13:38:20 2020 rev:98 rq:846080 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2020-08-02 
12:29:16.819914016 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new.11331/open-iscsi.changes 
2020-11-10 13:39:07.320513009 +0100
@@ -1,0 +2,17 @@
+Wed Nov  4 18:58:29 UTC 2020 - Lee Duncan 
+
+- 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
+
+---
+Tue Nov  3 14:34:25 UTC 2020 - Franck Bui 
+
+- %service_del_postun_without_restart is now available on SLE
+
+  More accurately it's been introduced in SLE12-SP2+ and SLE15+
+
++---



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.C6rXXD/_old  2020-11-10 13:39:08.060511538 +0100
+++ /var/tmp/diff_new_pack.C6rXXD/_new  2020-11-10 13:39:08.064511531 +0100
@@ -146,11 +146,7 @@
 %{?regenerate_initrd_posttrans}
 
 %postun
-%if %{defined service_del_postun_without_restart}
-   %service_del_postun_without_restart iscsi.service
-%else
-   %service_del_postun -n iscsi.service
-%endif
+%service_del_postun_without_restart iscsi.service
 %service_del_postun iscsid.service iscsid.socket
 
 %pre

++ open-iscsi-SUSE-latest.diff.bz2 ++
--- /var/tmp/diff_new_pack.C6rXXD/_old  2020-11-10 13:39:08.084511491 +0100
+++ /var/tmp/diff_new_pack.C6rXXD/_new  2020-11-10 13:39:08.088511483 +0100
@@ -0,0 +1,453 @@
+diff --git a/README b/README
+index 2499d9a7b638..508c9d7b2bfe 100644
+--- a/README
 b/README
+@@ -218,7 +218,7 @@ The output will be similar to the following.
+ 
+ iscsiadm -m discoverydb [ -hV ] [ -d debug_level ] [-P printlevel] [ -t type 
-p ip:port -I ifaceN ... [ -Dl ] ] | [ [ -p ip:port -t type] [ -o operation ] [ 
-n name ] [ -v value ] [ -lD ] ] 
+ iscsiadm -m discovery [ -hV ] [ -d debug_level ] [-P printlevel] [ -t type -p 
ip:port -I ifaceN ... [ -l ] ] | [ [ -p ip:port ] [ -l | -D ] ] 
+-iscsiadm -m node [ -hV ] [ -d debug_level ] [ -P printlevel ] [ -L 
all,manual,automatic ] [ -U all,manual,automatic ] [ -S ] [ [ -T targetname -p 
ip:port -I ifaceN ] [ -l | -u | -R | -s] ] [ [ -o  operation  ] [ -n name ] [ 
-v value ] ]
++iscsiadm -m node [ -hV ] [ -d debug_level ] [ -P printlevel ] [ -L 
all,manual,automatic ] [ -W ] [ -U all,manual,automatic ] [ -S ] [ [ -T 
targetname -p ip:port -I ifaceN ] [ -l | -u | -R | -s] ] [ [ -o  operation  ] [ 
-n name ] [ -v value ] ]
+ iscsiadm -m session [ -hV ] [ -d debug_level ] [ -P  printlevel] [ -r 
sessionid | sysfsdir [ -R | -u | -s ] [ -o operation ] [ -n name ] [ -v value ] 
]
+ iscsiadm -m iface [ -hV ] [ -d debug_level ] [ -P printlevel ] [ -I ifacename 
| -H hostno|MAC ] [ [ -o  operation  ] [ -n name ] [ -v value ] ] [ -C ping [ 
-a ip ] [ -b packetsize ] [ -c count ] [ -i interval ] ]
+ iscsiadm -m fw [ -d debug_level ] [ -l ]
+@@ -380,7 +380,7 @@ Mode "node"
+ 
+   -m node --targetname=[name] --portal=[ip:port] \
+   --interface=iscsi_ifacename] \
+-  [--login|--logout|--rescan|--stats]
++  [--login|--logout|--rescan|--stats] [-W]
+   -m node --targetname=[name] --portal=[ip:port]
+   --interface=[driver,HWaddress] \
+   --op=[op] [--name=[name] --value=[value]]
+@@ -407,6 +407,13 @@ Mode "node"
+ 
+ --stats prints the iSCSI stats for the session.
+ 
++--login normally sends a login request to the 
specified
++target and normally waits for the results. If
++-W/--no_wait is supplied return success if we are
++able to send the login request, and do not wait
++for the response. The user will have to poll for
++success
++
+ Print level can be 0 to 1.
+ 
+   -m node --logoutall=[all|manual|automatic]
+@@ -414,11 +421,16 @@ Mode "node"
+ with a node startup value manual or automatic.
+ Nodes marked as ONBOOT are skipped.
+ 
+-  -m node --loginall=[all|manual|automatic]
++  -m 

commit open-iscsi for openSUSE:Factory

2020-08-02 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2020-08-02 12:27:47

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new.3592 (New)


Package is "open-iscsi"

Sun Aug  2 12:27:47 2020 rev:97 rq:823425 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2020-06-11 
14:45:03.749445513 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new.3592/open-iscsi.changes  
2020-08-02 12:29:16.819914016 +0200
@@ -1,0 +2,34 @@
+Sat Jul 25 01:05:13 UTC 2020 - Lee Duncan 
+
+- 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  to 
+ * 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.
+
+---

Old:

  open-iscsi-2.1.1-suse.tar.bz2

New:

  open-iscsi-2.1.2-suse.tar.bz2



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.hzjeER/_old  2020-08-02 12:29:19.479916751 +0200
+++ /var/tmp/diff_new_pack.hzjeER/_new  2020-08-02 12:29:19.479916751 +0200
@@ -17,10 +17,10 @@
 
 
 %define iscsi_minor_release 1
-%define iscsi_patch_release 1
+%define iscsi_patch_release 2
 %define iscsi_patch_release_suse %{iscsi_patch_release}-suse
 Name:   open-iscsi
-Version:2.1.1
+Version:2.1.2
 Release:0
 Summary:Linux iSCSI Software Initiator
 License:GPL-2.0-or-later

++ open-iscsi-2.1.1-suse.tar.bz2 -> open-iscsi-2.1.2-suse.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/open-iscsi-2.1.1-suse/Changelog 
new/open-iscsi-2.1.2-suse/Changelog
--- old/open-iscsi-2.1.1-suse/Changelog 2020-03-03 19:47:48.0 +0100
+++ new/open-iscsi-2.1.2-suse/Changelog 2020-07-27 18:09:11.0 +0200
@@ -1,3 +1,46 @@
+open-iscsi-2.1.0 - open-iscsi-2.1.2
+
+Christian Glombek (1):
+  Add iscsi-init.service
+
+David Disseldorp (2):
+  use openssl for random data generation
+  drop unused get_random_bytes()
+
+Lee Duncan (10):
+  Fix iscsi.service so it handles restarts better
+  Fix issue where "iscsi-iname -p" core dumps.
+  Add Wants=remote-fs-pre.target for sequencing.
+  Change include of  to 
+  Fix type mismatch under musl.
+  More changes for musl.
+  Ignore iface.example in iface match checks
+  Fix issue with zero-length arrays at end of struct
+  Fix a compiler complaint about writing one byte
+  Fix compiler complaint about string copy in iscsiuio
+
+Luis.wu (1):
+  Update iscsi-iname.c
+
+Rafael David Tinoco (1):
+  Misspelled socket name might cause confusion to inexperienced user.
+
+Wu Bo (2):
+  iscsi-iname: fix iscsi-iname -p access NULL pointer without given IQN 
prefix
+  log:modify iSCSI shared memory permissions for logs
+
+fredvx (1):
+  Fix SIGPIPE loop in signal handler
+
+gulams (1):
+  Proper disconnect of TCP connection
+
+wubo009 (3):
+  iscsi: Add break to while loop
+  iscsi: fix fd leak
+  iscsi/libopeniscsiusr:add libopeniscsiuser_node.h to HEADERS
+
+
 open-iscsi-2.1.0 - open-iscsi-2.1.1
 
 # output from "git shortlog --no-merges 2.1.0..HEAD"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/open-iscsi-2.1.1-suse/Makefile 
new/open-iscsi-2.1.2-suse/Makefile
--- old/open-iscsi-2.1.1-suse/Makefile  2020-03-03 

commit open-iscsi for openSUSE:Factory

2020-06-11 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2020-06-11 14:44:48

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new.3606 (New)


Package is "open-iscsi"

Thu Jun 11 14:44:48 2020 rev:96 rq:812704 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2020-05-05 
18:54:01.613236535 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new.3606/open-iscsi.changes  
2020-06-11 14:45:03.749445513 +0200
@@ -1,0 +2,31 @@
+Mon Jun  8 16:42:42 UTC 2020 - Lee Duncan 
+
+- 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  to 
+ * 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
+
+---



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.CmHdDl/_old  2020-06-11 14:45:05.013449195 +0200
+++ /var/tmp/diff_new_pack.CmHdDl/_new  2020-06-11 14:45:05.017449206 +0200
@@ -140,9 +140,6 @@
 
 %post
 %{?regenerate_initrd_post}
-if [ ! -f %{_sysconfdir}/iscsi/initiatorname.iscsi ] ; then
-/sbin/iscsi-gen-initiatorname
-fi
 %service_add_post iscsi.service iscsid.service iscsid.socket
 
 %posttrans
@@ -186,6 +183,7 @@
 %{_sysconfdir}/iscsid.conf
 %{_unitdir}/iscsid.service
 %{_unitdir}/iscsid.socket
+%{_unitdir}/iscsi-init.service
 %{_unitdir}/iscsi.service
 %{_systemdgeneratordir}/ibft-rule-generator
 %{_sbindir}/rciscsi

++ open-iscsi-SUSE-latest.diff.bz2 ++
--- /var/tmp/diff_new_pack.CmHdDl/_old  2020-06-11 14:45:05.049449300 +0200
+++ /var/tmp/diff_new_pack.CmHdDl/_new  2020-06-11 14:45:05.049449300 +0200
@@ -1,17 +1,52 @@
+diff --git a/Makefile b/Makefile
+index f0ae91449a97..c4f33889616d 100644
+--- a/Makefile
 b/Makefile
+@@ -30,6 +30,7 @@ IFACEFILES = etc/iface.example
+ RULESFILES = utils/50-iscsi-firmware-login.rules
+ SYSTEMDFILES = etc/systemd/iscsi.service \
+  etc/systemd/iscsid.service etc/systemd/iscsid.socket 
\
++ etc/systemd/iscsi-init.service \
+  etc/systemd/iscsiuio.service 
etc/systemd/iscsiuio.socket
+ 
+ export DESTDIR prefix INSTALL
+@@ -107,7 +108,7 @@ install: install_programs install_doc install_etc \
+   install_udev_rules
+ 
+ install_user: install_programs install_doc install_etc \
+-  install_initd install_iname install_iface install_udev_rules \
++  install_initd install_iface install_udev_rules \
+   install_libopeniscsiusr
+ 
+ install_udev_rules:
+diff --git a/etc/systemd/iscsi-init.service b/etc/systemd/iscsi-init.service
+new file mode 100644
+index ..34557bfa8a71
+--- /dev/null
 b/etc/systemd/iscsi-init.service
+@@ -0,0 +1,8 @@
++[Unit]
++Description=One time configuration for iscsid.service
++ConditionPathExists=!/etc/iscsi/initiatorname.iscsi
++
++[Service]
++Type=oneshot
++RemainAfterExit=no
++ExecStart=/sbin/iscsi-gen-initiatorname
 diff --git a/etc/systemd/iscsi.service b/etc/systemd/iscsi.service
-index e4758881cb9c..1c286d1fdeda 100644
+index e4758881cb9c..3de873bf0dc5 100644
 --- a/etc/systemd/iscsi.service
 +++ b/etc/systemd/iscsi.service
-@@ -3,7 +3,7 @@ Description=Login and scanning of iSCSI devices
+@@ -3,15 +3,14 @@ Description=Login and scanning of iSCSI devices
  Documentation=man:iscsiadm(8) man:iscsid(8)
  Before=remote-fs.target
  After=network.target network-online.target iscsid.service
 -Requires=iscsid.service
-+Requires=iscsid.socket
- ConditionPathExists=/etc/iscsi/initiatorname.iscsi
+-ConditionPathExists=/etc/iscsi/initiatorname.iscsi
++Requires=iscsid.socket iscsi-init.service
  
  [Service]
-@@ -11,7 +11,7 @@ Type=oneshot
+ Type=oneshot
  

commit open-iscsi for openSUSE:Factory

2020-05-05 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2020-05-05 18:53:57

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new.2738 (New)


Package is "open-iscsi"

Tue May  5 18:53:57 2020 rev:95 rq:799688 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2020-04-18 
00:26:58.333622658 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new.2738/open-iscsi.changes  
2020-05-05 18:54:01.613236535 +0200
@@ -1,0 +2,8 @@
+Sat May  2 15:06:18 UTC 2020 - Lee Duncan 
+
+- Update SPEC file to handle the fact that the
+  service_del_postun_without_restart RPM macro exists
+  in factory but not in SLE. No functional change
+  for factory.
+
+---



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.6f7PXN/_old  2020-05-05 18:54:02.341238102 +0200
+++ /var/tmp/diff_new_pack.6f7PXN/_new  2020-05-05 18:54:02.341238102 +0200
@@ -149,7 +149,11 @@
 %{?regenerate_initrd_posttrans}
 
 %postun
-%service_del_postun_without_restart iscsi.service
+%if %{defined service_del_postun_without_restart}
+   %service_del_postun_without_restart iscsi.service
+%else
+   %service_del_postun -n iscsi.service
+%endif
 %service_del_postun iscsid.service iscsid.socket
 
 %pre




commit open-iscsi for openSUSE:Factory

2020-04-17 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2020-04-18 00:26:56

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new.2738 (New)


Package is "open-iscsi"

Sat Apr 18 00:26:56 2020 rev:94 rq:794272 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2020-04-05 
20:49:23.720944405 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new.2738/open-iscsi.changes  
2020-04-18 00:26:58.333622658 +0200
@@ -1,0 +2,9 @@
+Tue Apr  7 19:21:38 UTC 2020 - Lee Duncan 
+
+- Updated service_del_preun and service_del_postun for iscsi and
+  iscsiuio packges in SPEC file, so that services get started/
+  stopped in the correct order, and changed systemd macros so
+  that iscsi login service iscsi.service is not restarted during
+  package upgrade (bsc#1166650)
+
+---



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.9qd1bV/_old  2020-04-18 00:26:59.873625848 +0200
+++ /var/tmp/diff_new_pack.9qd1bV/_new  2020-04-18 00:26:59.877625855 +0200
@@ -143,34 +143,35 @@
 if [ ! -f %{_sysconfdir}/iscsi/initiatorname.iscsi ] ; then
 /sbin/iscsi-gen-initiatorname
 fi
-%{service_add_post iscsid.socket iscsid.service iscsi.service}
+%service_add_post iscsi.service iscsid.service iscsid.socket
 
 %posttrans
 %{?regenerate_initrd_posttrans}
 
 %postun
-%{service_del_postun iscsid.socket iscsid.service iscsi.service}
+%service_del_postun_without_restart iscsi.service
+%service_del_postun iscsid.service iscsid.socket
 
 %pre
-%{service_add_pre iscsid.socket iscsid.service iscsi.service}
+%service_add_pre iscsi.service iscsid.service iscsid.socket
 
 %preun
-%{service_del_preun iscsid.socket iscsid.service iscsi.service}
+%service_del_preun iscsi.service iscsid.service iscsid.socket
 
 %post   -n libopeniscsiusr0_2_0 -p /sbin/ldconfig
 %postun -n libopeniscsiusr0_2_0 -p /sbin/ldconfig
 
 %post -n iscsiuio
-%{service_add_post iscsiuio.socket iscsiuio.service}
+%service_add_post iscsiuio.service iscsiuio.socket
 
 %postun -n iscsiuio
-%{service_del_postun iscsiuio.socket iscsiuio.service}
+%service_del_postun iscsiuio.service iscsiuio.socket
 
 %pre -n iscsiuio
-%{service_add_pre iscsiuio.socket iscsiuio.service}
+%service_add_pre iscsiuio.service iscsiuio.socket
 
 %preun -n iscsiuio
-%{service_del_preun iscsiuio.socket iscsiuio.service}
+%service_del_preun iscsiuio.service iscsiuio.socket
 
 %files
 %dir %{_sysconfdir}/iscsi




commit open-iscsi for openSUSE:Factory

2020-04-05 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2020-04-05 20:49:23

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new.3248 (New)


Package is "open-iscsi"

Sun Apr  5 20:49:23 2020 rev:93 rq:791030 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2020-03-31 
17:31:42.608241682 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new.3248/open-iscsi.changes  
2020-04-05 20:49:23.720944405 +0200
@@ -1,0 +2,10 @@
+Wed Apr  1 18:38:30 UTC 2020 - Lee Duncan 
+
+- Update with two upstream commits:
+  * Fix issue where "iscsi-iname -p" core dumps. (found upstream)
+  * Fix iscsi.service so it handles restarts better (bsc#1163499)
+  * Add Wants=remote-fs-pre.target for sequencing. (bsc#1158536)
+  updating:
+  * open-iscsi-SUSE-latest.diff.bz2
+
+---



Other differences:
--
++ open-iscsi-SUSE-latest.diff.bz2 ++
--- /var/tmp/diff_new_pack.ogHEW2/_old  2020-04-05 20:49:24.192944857 +0200
+++ /var/tmp/diff_new_pack.ogHEW2/_new  2020-04-05 20:49:24.192944857 +0200
@@ -0,0 +1,99 @@
+diff --git a/etc/systemd/iscsi.service b/etc/systemd/iscsi.service
+index e4758881cb9c..1c286d1fdeda 100644
+--- a/etc/systemd/iscsi.service
 b/etc/systemd/iscsi.service
+@@ -3,7 +3,7 @@ Description=Login and scanning of iSCSI devices
+ Documentation=man:iscsiadm(8) man:iscsid(8)
+ Before=remote-fs.target
+ After=network.target network-online.target iscsid.service
+-Requires=iscsid.service
++Requires=iscsid.socket
+ ConditionPathExists=/etc/iscsi/initiatorname.iscsi
+ 
+ [Service]
+@@ -11,7 +11,7 @@ Type=oneshot
+ ExecStart=/sbin/iscsiadm -m node --loginall=automatic
+ ExecStop=/sbin/iscsiadm -m node --logoutall=automatic
+ ExecStop=/sbin/iscsiadm -m node --logoutall=manual
+-SuccessExitStatus=21
++SuccessExitStatus=21 15
+ RemainAfterExit=true
+ 
+ [Install]
+diff --git a/etc/systemd/iscsid.service b/etc/systemd/iscsid.service
+index 4fef168163ca..648ceeaa0f07 100644
+--- a/etc/systemd/iscsid.service
 b/etc/systemd/iscsid.service
+@@ -4,6 +4,7 @@ Documentation=man:iscsid(8) man:iscsiuio(8) man:iscsiadm(8)
+ DefaultDependencies=no
+ After=network.target iscsiuio.service
+ Before=remote-fs-pre.target
++Wants=remote-fs-pre.target
+ 
+ [Service]
+ Type=notify
+diff --git a/etc/systemd/iscsiuio.service b/etc/systemd/iscsiuio.service
+index e4d9fd0f916a..923e01978cf4 100644
+--- a/etc/systemd/iscsiuio.service
 b/etc/systemd/iscsiuio.service
+@@ -7,6 +7,7 @@ Requires=iscsid.service
+ BindTo=iscsid.service
+ After=network.target
+ Before=remote-fs-pre.target iscsid.service
++Wants=remote-fs-pre.target
+ 
+ [Service]
+ Type=notify
+diff --git a/utils/Makefile b/utils/Makefile
+index f65f1e79008c..aed3bb0a694f 100644
+--- a/utils/Makefile
 b/utils/Makefile
+@@ -1,7 +1,7 @@
+ # This Makefile will work only with GNU make.
+ 
+ CFLAGS ?= -O2 -fno-inline -g
+-CFLAGS += -Wall -Wstrict-prototypes
++CFLAGS += -Wall -Wextra -Wstrict-prototypes
+ PROGRAMS = iscsi-iname
+ 
+ all: $(PROGRAMS)
+diff --git a/utils/iscsi-iname.c b/utils/iscsi-iname.c
+index da850dca0088..0f587e1e0d36 100644
+--- a/utils/iscsi-iname.c
 b/utils/iscsi-iname.c
+@@ -40,6 +40,13 @@
+  * a seperator and 12 characters (6 random bytes in hex representation) */
+ #define PREFIX_MAX_LEN 210
+ 
++static void usage(void)
++{
++  fprintf(stderr, "Usage: iscsi-iname [-h | --help | -p ]\n");
++  fprintf(stderr, "where  has max length of %d\n",
++  PREFIX_MAX_LEN);
++}
++
+ int
+ main(int argc, char *argv[])
+ {
+@@ -68,15 +75,17 @@ main(int argc, char *argv[])
+  "on every invocation.\n");
+   exit(0);
+   } else if ( strcmp(prefix, "-p") == 0 ) {
++  if (argc != 3) {
++  usage();
++  exit(1);
++  }
+   prefix = argv[2];
+   if (strnlen(prefix, PREFIX_MAX_LEN + 1) > 
PREFIX_MAX_LEN) {
+-  printf("Error: Prefix cannot exceed %d "
+- "characters.\n", PREFIX_MAX_LEN);
++  usage();
+   exit(1);
+   }
+   } else {
+-  printf("\nUsage: iscsi-iname [-h | --help | "
+- "-p ]\n");
++  usage();
+   exit(0);
+   }
+   } else {




commit open-iscsi for openSUSE:Factory

2020-03-31 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2020-03-31 17:31:39

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new.3160 (New)


Package is "open-iscsi"

Tue Mar 31 17:31:39 2020 rev:92 rq:788710 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2020-03-06 
21:25:40.325495004 +0100
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new.3160/open-iscsi.changes  
2020-03-31 17:31:42.608241682 +0200
@@ -1,0 +2,6 @@
+Thu Mar 26 16:56:38 UTC 2020 - Lee Duncan 
+
+- Update SPEC file to work around issue with installcheck
+  SUSE script. Update the SPEC file while there.
+
+---



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.KAhK4B/_old  2020-03-31 17:31:44.072242540 +0200
+++ /var/tmp/diff_new_pack.KAhK4B/_new  2020-03-31 17:31:44.080242544 +0200
@@ -25,7 +25,7 @@
 Summary:Linux iSCSI Software Initiator
 License:GPL-2.0-or-later
 Group:  Productivity/Networking/Other
-URL:http://www.open-iscsi.com
+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
@@ -101,6 +101,7 @@
 Summary:The iSCSI User-level Library Development Library and Include 
files
 Group:  Development/Libraries/C and C++
 Requires:   %{name} = %{version}
+Conflicts:  libopeniscsiusr0_1_0
 
 %description devel
 This development package contains the open-iscsi user-level library




commit open-iscsi for openSUSE:Factory

2020-03-06 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2020-03-06 21:25:21

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new.26092 (New)


Package is "open-iscsi"

Fri Mar  6 21:25:21 2020 rev:91 rq:781311 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2020-02-06 
13:05:55.564261089 +0100
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new.26092/open-iscsi.changes 
2020-03-06 21:25:40.325495004 +0100
@@ -1,0 +2,9 @@
+Tue Mar  3 18:46:01 UTC 2020 - Lee Duncan 
+
+- 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
+
+---

Old:

  open-iscsi-2.1.0-suse.tar.bz2

New:

  open-iscsi-2.1.1-suse.tar.bz2



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.8hksvE/_old  2020-03-06 21:25:42.409496156 +0100
+++ /var/tmp/diff_new_pack.8hksvE/_new  2020-03-06 21:25:42.413496158 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package open-iscsi
 #
-# Copyright (c) 2020 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
@@ -17,15 +17,15 @@
 
 
 %define iscsi_minor_release 1
-%define iscsi_patch_release 0
+%define iscsi_patch_release 1
 %define iscsi_patch_release_suse %{iscsi_patch_release}-suse
 Name:   open-iscsi
-Version:2.1.0
+Version:2.1.1
 Release:0
 Summary:Linux iSCSI Software Initiator
 License:GPL-2.0-or-later
 Group:  Productivity/Networking/Other
-Url:http://www.open-iscsi.com
+URL:http://www.open-iscsi.com
 Source: 
%{name}-2.%{iscsi_minor_release}.%{iscsi_patch_release_suse}.tar.bz2
 Patch1: %{name}-SUSE-latest.diff.bz2
 BuildRequires:  autoconf

++ open-iscsi-2.1.0-suse.tar.bz2 -> open-iscsi-2.1.1-suse.tar.bz2 ++
 2798 lines of diff (skipped)

++ open-iscsi-SUSE-latest.diff.bz2 ++
 1865 lines (skipped)
 between 
/work/SRC/openSUSE:Factory/open-iscsi/open-iscsi-SUSE-latest.diff.bz2
 and 
/work/SRC/openSUSE:Factory/.open-iscsi.new.26092/open-iscsi-SUSE-latest.diff.bz2




commit open-iscsi for openSUSE:Factory

2020-02-06 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2020-02-06 13:05:52

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new.26092 (New)


Package is "open-iscsi"

Thu Feb  6 13:05:52 2020 rev:90 rq:769374 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2019-11-23 
23:23:08.630810779 +0100
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new.26092/open-iscsi.changes 
2020-02-06 13:05:55.564261089 +0100
@@ -1,0 +2,9 @@
+Fri Jan 31 21:39:48 UTC 2020 - Lee Duncan 
+
+- 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),
+  updating:
+  * open-iscsi-SUSE-latest.diff.bz2
+
+---



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.yW5td0/_old  2020-02-06 13:05:56.216261444 +0100
+++ /var/tmp/diff_new_pack.yW5td0/_new  2020-02-06 13:05:56.216261444 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package open-iscsi
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -113,7 +113,7 @@
 
 %build
 [ -z "$SOURCE_DATE_EPOCH" ] || export 
KBUILD_BUILD_TIMESTAMP=@$SOURCE_DATE_EPOCH
-make %{?_smp_mflags} OPTFLAGS="%{optflags} -fno-strict-aliasing 
-DOFFLOAD_BOOT_SUPPORTED -DLOCK_DIR=\\\"%{_sysconfdir}/iscsi\\\"" 
LIB_DIR=%{_libdir} user
+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

++ open-iscsi-SUSE-latest.diff.bz2 ++
 1865 lines (skipped)
 between 
/work/SRC/openSUSE:Factory/open-iscsi/open-iscsi-SUSE-latest.diff.bz2
 and 
/work/SRC/openSUSE:Factory/.open-iscsi.new.26092/open-iscsi-SUSE-latest.diff.bz2




commit open-iscsi for openSUSE:Factory

2019-11-23 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2019-11-23 23:23:07

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new.26869 (New)


Package is "open-iscsi"

Sat Nov 23 23:23:07 2019 rev:89 rq:749404 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2019-11-06 
15:19:39.845383549 +0100
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new.26869/open-iscsi.changes 
2019-11-23 23:23:08.630810779 +0100
@@ -1,0 +2,20 @@
+Mon Nov 18 17:42:09 UTC 2019 - Lee Duncan 
+
+- 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 
+
+- Use SPEC-file macro for systemd generator directory, since
+  the libexec macro is changing from /usr/lib to /usr/libexec.
+
+---

Old:

  open-iscsi-2.0.878-suse.tar.bz2

New:

  open-iscsi-2.1.0-suse.tar.bz2



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.e39LMp/_old  2019-11-23 23:23:09.106810827 +0100
+++ /var/tmp/diff_new_pack.e39LMp/_new  2019-11-23 23:23:09.106810827 +0100
@@ -16,15 +16,17 @@
 #
 
 
-%define iscsi_release 878-suse
+%define iscsi_minor_release 1
+%define iscsi_patch_release 0
+%define iscsi_patch_release_suse %{iscsi_patch_release}-suse
 Name:   open-iscsi
-Version:2.0.878
+Version:2.1.0
 Release:0
 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
+Source: 
%{name}-2.%{iscsi_minor_release}.%{iscsi_patch_release_suse}.tar.bz2
 Patch1: %{name}-SUSE-latest.diff.bz2
 BuildRequires:  autoconf
 BuildRequires:  automake
@@ -62,9 +64,9 @@
 iscsiadm.
 
 %package -n libopeniscsiusr0_2_0
-Version:2.0.878
+Version:2.%{iscsi_minor_release}.%{iscsi_patch_release}
 Release:0
-Summary:iSCSI User-level Library
+Summary:The iSCSI User-level Library
 Group:  System/Libraries
 Obsoletes:  libopeniscsiusr0_1_0
 
@@ -72,7 +74,7 @@
 The iSCSI user-space API from the open-iscsi project.
 
 %package -n iscsiuio
-Version:0.7.8.4
+Version:0.7.8.6
 Release:0
 Summary:Linux Broadcom NetXtremem II iscsi server
 Group:  Productivity/Networking/Other
@@ -94,9 +96,9 @@
 "uio").
 
 %package devel
-Version:2.0.878
+Version:2.%{iscsi_minor_release}.%{iscsi_patch_release}
 Release:0
-Summary:iSCSI User-level Library Development Library and Include files
+Summary:The iSCSI User-level Library Development Library and Include 
files
 Group:  Development/Libraries/C and C++
 Requires:   %{name} = %{version}
 
@@ -106,7 +108,7 @@
 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
@@ -179,7 +181,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

++ open-iscsi-2.0.878-suse.tar.bz2 -> open-iscsi-2.1.0-suse.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/open-iscsi-2.0.878-suse/.travis.yml 
new/open-iscsi-2.1.0-suse/.travis.yml
--- old/open-iscsi-2.0.878-suse/.travis.yml 1970-01-01 01:00:00.0 
+0100
+++ new/open-iscsi-2.1.0-suse/.travis.yml   2019-11-18 19:06:18.0 
+0100
@@ -0,0 +1,33 @@
+language: c
+compiler: gcc
+os: linux
+dist: bionic
+
+env:
+  global:
+  # This is an excrypted setting of COVERITY_SCAN_TOKEN=
+  # Travis-CI has the private key to decrypt this and set the environment
+  # variable with the token needed for Coverity API access
+  - secure: 

commit open-iscsi for openSUSE:Factory

2019-11-06 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2019-11-06 15:19:36

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new.2990 (New)


Package is "open-iscsi"

Wed Nov  6 15:19:36 2019 rev:88 rq:745255 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2019-10-22 
15:42:02.117483504 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new.2990/open-iscsi.changes  
2019-11-06 15:19:39.845383549 +0100
@@ -1,0 +2,7 @@
+Fri Nov  1 19:08:01 UTC 2019 - Lee Duncan 
+
+- Fix issue where CHAP was not working after latest update
+  (bsc#1155510), updating:
+  * open-iscsi-SUSE-latest.diff.bz2
+
+---



Other differences:
--
++ open-iscsi-SUSE-latest.diff.bz2 ++
--- /var/tmp/diff_new_pack.uyyFpf/_old  2019-11-06 15:19:40.433384128 +0100
+++ /var/tmp/diff_new_pack.uyyFpf/_new  2019-11-06 15:19:40.437384131 +0100
@@ -74,7 +74,7 @@
  clean:
rm -f *.o $(PROGRAMS) .depend $(LIBSYS)
 diff --git a/usr/auth.c b/usr/auth.c
-index e44a279ca157..afb4ea38f080 100644
+index e44a279ca157..1ffb258108e5 100644
 --- a/usr/auth.c
 +++ b/usr/auth.c
 @@ -34,7 +34,6 @@
@@ -339,7 +339,7 @@
client->rmt_state = AUTH_RMT_STATE_ERROR;
client->dbg_status = 
AUTH_DBG_STATUS_PASSWD_IDENTICAL;
break;
-@@ -1764,6 +1818,26 @@ acl_set_chap_alg_list(struct iscsi_acl *client, 
unsigned int option_count,
+@@ -1764,6 +1818,28 @@ acl_set_chap_alg_list(struct iscsi_acl *client, 
unsigned int option_count,
   acl_chk_chap_alg_list);
  }
  
@@ -363,19 +363,21 @@
 +  return i;
 +}
 +
++#define MAX(a,b) ((a) > (b) ? (a) : (b))
++
  int
  acl_init(int node_type, int buf_desc_count, struct auth_buffer_desc 
*buff_desc)
  {
-@@ -1772,7 +1846,7 @@ acl_init(int node_type, int buf_desc_count, struct 
auth_buffer_desc *buff_desc)
+@@ -1772,7 +1848,7 @@ acl_init(int node_type, int buf_desc_count, struct 
auth_buffer_desc *buff_desc)
struct auth_str_block *send_str_blk;
struct auth_large_binary *recv_chap_challenge;
struct auth_large_binary *send_chap_challenge;
 -  int value_list[2];
-+  int value_list[3];
++  int value_list[MAX(AUTH_METHOD_MAX_COUNT, AUTH_CHAP_ALG_MAX_COUNT)];
  
if (buf_desc_count != 5 || !buff_desc)
return AUTH_STATUS_ERROR;
-@@ -1825,7 +1899,6 @@ acl_init(int node_type, int buf_desc_count, struct 
auth_buffer_desc *buff_desc)
+@@ -1825,7 +1901,6 @@ acl_init(int node_type, int buf_desc_count, struct 
auth_buffer_desc *buff_desc)
client->node_type = (enum auth_node_type) node_type;
client->auth_rmt = 1;
client->passwd_present = 0;
@@ -383,7 +385,7 @@
client->ip_sec = 0;
  
client->phase = AUTH_PHASE_CONFIGURE;
-@@ -1851,10 +1924,8 @@ acl_init(int node_type, int buf_desc_count, struct 
auth_buffer_desc *buff_desc)
+@@ -1851,10 +1926,8 @@ acl_init(int node_type, int buf_desc_count, struct 
auth_buffer_desc *buff_desc)
return AUTH_STATUS_ERROR;
}
  




commit open-iscsi for openSUSE:Factory

2019-10-22 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2019-10-22 15:41:14

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new.2352 (New)


Package is "open-iscsi"

Tue Oct 22 15:41:14 2019 rev:87 rq:741166 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2019-09-18 
13:07:50.088735400 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new.2352/open-iscsi.changes  
2019-10-22 15:42:02.117483504 +0200
@@ -1,0 +2,10 @@
+Fri Oct 18 21:00:41 UTC 2019 - Lee Duncan 
+
+- 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):
+  * open-iscsi-SUSE-latest.diff.bz2
+
+---



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.sawbi4/_old  2019-10-22 15:42:02.753484228 +0200
+++ /var/tmp/diff_new_pack.sawbi4/_new  2019-10-22 15:42:02.757484233 +0200
@@ -37,7 +37,7 @@
 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:  pkgconfig(libsystemd)

++ open-iscsi-SUSE-latest.diff.bz2 ++
--- /var/tmp/diff_new_pack.sawbi4/_old  2019-10-22 15:42:02.777484255 +0200
+++ /var/tmp/diff_new_pack.sawbi4/_new  2019-10-22 15:42:02.785484265 +0200
@@ -49,3 +49,391 @@
  install_iface: $(IFACEFILES)
$(INSTALL) -d $(DESTDIR)$(etcdir)/iscsi/ifaces
$(INSTALL) -m 644 $^ $(DESTDIR)$(etcdir)/iscsi/ifaces
+diff --git a/usr/Makefile b/usr/Makefile
+index 42ce6f0cfe1c..338f9ebe1d9d 100644
+--- a/usr/Makefile
 b/usr/Makefile
+@@ -50,8 +50,8 @@ PROGRAMS = iscsid iscsiadm iscsistart
+ # libc compat files
+ SYSDEPS_SRCS = $(sort $(wildcard ../utils/sysdeps/*.o))
+ # sources shared between iscsid, iscsiadm and iscsistart
+-ISCSI_LIB_SRCS = iscsi_util.o io.o auth.o iscsi_timer.o login.o log.o md5.o \
+-  sha1.o iface.o idbm.o sysfs.o host.o session_info.o iscsi_sysfs.o \
++ISCSI_LIB_SRCS = iscsi_util.o io.o auth.o iscsi_timer.o login.o log.o \
++  iface.o idbm.o sysfs.o host.o session_info.o iscsi_sysfs.o \
+   iscsi_net_util.o iscsid_req.o transport.o iser.o cxgbi.o be2iscsi.o \
+   initiator_common.o iscsi_err.o flashnode.o uip_mgmt_ipc.o \
+   netlink.o $(SYSDEPS_SRCS)
+@@ -75,7 +75,7 @@ iscsiadm: $(ISCSI_LIB_SRCS) $(DISCOVERY_SRCS) iscsiadm.o 
session_mgmt.o mntcheck
+ 
+ iscsistart: $(ISCSI_LIB_SRCS) $(INITIATOR_SRCS) $(FW_BOOT_SRCS) \
+   iscsistart.o statics.o
+-  $(CC) $(CFLAGS) $^ -o $@ -lrt $(LDFLAGS) $(ISCSI_LIB)
++  $(CC) $(CFLAGS) $^ -o $@ -lcrypto -lrt $(LDFLAGS) $(ISCSI_LIB)
+ 
+ clean:
+   rm -f *.o $(PROGRAMS) .depend $(LIBSYS)
+diff --git a/usr/auth.c b/usr/auth.c
+index e44a279ca157..afb4ea38f080 100644
+--- a/usr/auth.c
 b/usr/auth.c
+@@ -34,7 +34,6 @@
+ #include "sysdeps.h"
+ #include "auth.h"
+ #include "initiator.h"
+-#include "md5.h"
+ #include "log.h"
+ 
+ static const char acl_hexstring[] = "0123456789abcdefABCDEF";
+@@ -43,9 +42,11 @@ static const char acl_base64_string[] =
+ static const char acl_authmethod_set_chap_alg_list[] = "CHAP";
+ static const char acl_reject_option_name[] = "Reject";
+ 
+-void auth_md5_init(struct MD5Context *);
+-void auth_md5_update(struct MD5Context *, unsigned char *, unsigned int);
+-void auth_md5_final(unsigned char *, struct MD5Context *);
++#include 
++static int auth_hash_init(EVP_MD_CTX **context, int chap_alg);
++static void auth_hash_update(EVP_MD_CTX *context, unsigned char *md, unsigned 
int);
++static unsigned int auth_hash_final(unsigned char *, EVP_MD_CTX *context);
++
+ void get_random_bytes(unsigned char *data, unsigned int length);
+ size_t strlcpy(char *, const char *, size_t);
+ size_t strlcat(char *, const char *, size_t);
+@@ -57,18 +58,19 @@ acl_chap_compute_rsp(struct iscsi_acl *client, int 
rmt_auth, unsigned int id,
+unsigned char *response_data)
+ {
+   unsigned char id_data[1];
+-  struct MD5Context context;
++  EVP_MD_CTX *context = NULL;
+   unsigned char out_data[AUTH_STR_MAX_LEN];
+   unsigned int out_length = AUTH_STR_MAX_LEN;
+ 
+   if (!client->passwd_present)
+   return AUTH_DBG_STATUS_LOCAL_PASSWD_NOT_SET;
+ 
+-  auth_md5_init();
++  if (auth_hash_init(, client->negotiated_chap_alg) != 0)
++  return AUTH_DBG_STATUS_AUTH_FAIL;
+ 
+   /* id byte */
+   

commit open-iscsi for openSUSE:Factory

2019-09-18 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2019-09-18 13:07:48

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new.7948 (New)


Package is "open-iscsi"

Wed Sep 18 13:07:48 2019 rev:86 rq:731323 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2019-08-24 
18:43:31.737773961 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new.7948/open-iscsi.changes  
2019-09-18 13:07:50.088735400 +0200
@@ -1,0 +2,14 @@
+Fri Sep 13 16:20:52 UTC 2019 - Lee Duncan 
+
+- 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.
+
+---

Old:

  open-iscsi-2.0.877-suse.tar.bz2

New:

  open-iscsi-2.0.878-suse.tar.bz2



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.6u0l1r/_old  2019-09-18 13:07:50.608735291 +0200
+++ /var/tmp/diff_new_pack.6u0l1r/_new  2019-09-18 13:07:50.612735290 +0200
@@ -16,9 +16,9 @@
 #
 
 
-%define iscsi_release 877-suse
+%define iscsi_release 878-suse
 Name:   open-iscsi
-Version:2.0.877
+Version:2.0.878
 Release:0
 Summary:Linux iSCSI Software Initiator
 License:GPL-2.0-or-later
@@ -62,7 +62,7 @@
 iscsiadm.
 
 %package -n libopeniscsiusr0_2_0
-Version:2.0.877
+Version:2.0.878
 Release:0
 Summary:iSCSI User-level Library
 Group:  System/Libraries
@@ -94,7 +94,7 @@
 "uio").
 
 %package devel
-Version:2.0.877
+Version:2.0.878
 Release:0
 Summary:iSCSI User-level Library Development Library and Include files
 Group:  Development/Libraries/C and C++
@@ -121,7 +121,7 @@
 %install
 make DESTDIR=%{buildroot} LIB_DIR=%{_libdir} install_user
 # install service files
-make DESTDIR=%{buildroot} LIB_DIR=%{_libdir} 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

++ open-iscsi-2.0.877-suse.tar.bz2 -> open-iscsi-2.0.878-suse.tar.bz2 ++
 2070 lines of diff (skipped)

++ open-iscsi-SUSE-latest.diff.bz2 ++
 2037 lines (skipped)
 between 
/work/SRC/openSUSE:Factory/open-iscsi/open-iscsi-SUSE-latest.diff.bz2
 and 
/work/SRC/openSUSE:Factory/.open-iscsi.new.7948/open-iscsi-SUSE-latest.diff.bz2




commit open-iscsi for openSUSE:Factory

2019-08-24 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2019-08-24 18:43:30

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new.7948 (New)


Package is "open-iscsi"

Sat Aug 24 18:43:30 2019 rev:85 rq:725687 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2019-08-15 
12:22:22.562651459 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new.7948/open-iscsi.changes  
2019-08-24 18:43:31.737773961 +0200
@@ -1,0 +2,6 @@
+Mon Aug 12 12:08:11 UTC 2019 - Martin Liška 
+
+- Enable LTO on aarch64 as the gcc9 package issue is fixed:
+  https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91386
+
+---



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.NSAn3n/_old  2019-08-24 18:43:32.325773905 +0200
+++ /var/tmp/diff_new_pack.NSAn3n/_new  2019-08-24 18:43:32.325773905 +0200
@@ -16,10 +16,6 @@
 #
 
 
-%ifarch aarch64
-%define _lto_cflags %{nil}
-%endif
-
 %define iscsi_release 877-suse
 Name:   open-iscsi
 Version:2.0.877




commit open-iscsi for openSUSE:Factory

2019-08-15 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2019-08-15 12:22:18

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new.9556 (New)


Package is "open-iscsi"

Thu Aug 15 12:22:18 2019 rev:84 rq:720704 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2019-07-23 
22:28:05.423072257 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new.9556/open-iscsi.changes  
2019-08-15 12:22:22.562651459 +0200
@@ -1,0 +2,7 @@
+Thu Aug  1 18:52:00 UTC 2019 - Lee Duncan 
+
+- Disable LTO (Link Time Optimization) on aarch64 since it seems
+  to fail -- iscsiadm core dumps almost immediately (bsc#1143192),
+  updating the SPEC file.
+
+---



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.N66iJF/_old  2019-08-15 12:22:24.254651037 +0200
+++ /var/tmp/diff_new_pack.N66iJF/_new  2019-08-15 12:22:24.254651037 +0200
@@ -16,6 +16,10 @@
 #
 
 
+%ifarch aarch64
+%define _lto_cflags %{nil}
+%endif
+
 %define iscsi_release 877-suse
 Name:   open-iscsi
 Version:2.0.877




commit open-iscsi for openSUSE:Factory

2019-07-23 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2019-07-23 22:28:05

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new.4126 (New)


Package is "open-iscsi"

Tue Jul 23 22:28:05 2019 rev:83 rq:716094 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2019-07-13 
13:58:58.662924038 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new.4126/open-iscsi.changes  
2019-07-23 22:28:05.423072257 +0200
@@ -1,0 +2,7 @@
+Wed Jul 17 11:58:21 UTC 2019 - Bernhard Wiedemann 
+
+- Ensure /etc/iscsi/initiatorname.iscsi has reproducible size
+  works around https://github.com/rpm-software-management/rpm/pull/229,
+  updating the SPEC file
+
+---



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.AyiVQB/_old  2019-07-23 22:28:06.007072172 +0200
+++ /var/tmp/diff_new_pack.AyiVQB/_new  2019-07-23 22:28:06.011072172 +0200
@@ -128,7 +128,7 @@
 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




commit open-iscsi for openSUSE:Factory

2019-07-13 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2019-07-13 13:43:02

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new.4615 (New)


Package is "open-iscsi"

Sat Jul 13 13:43:02 2019 rev:82 rq:714265 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2019-06-13 
22:38:39.700277544 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new.4615/open-iscsi.changes  
2019-07-13 13:58:58.662924038 +0200
@@ -1,0 +2,10 @@
+Tue Jul  9 15:41:53 UTC 2019 - Lee Duncan 
+
+- Added latest upstream changes, including:
+  * iscsiuio: update version to 0.7.8.6
+  * iscsiuio: allow processing of iscsid requests in DHCP failure condition
+  * rec update: disable the idbm_lock in read/write when updating the rec
+  Updating:
+  * open-iscsi-SUSE-latest.diff.bz2
+
+---



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.dcreps/_old  2019-07-13 13:58:59.106923903 +0200
+++ /var/tmp/diff_new_pack.dcreps/_new  2019-07-13 13:58:59.106923903 +0200
@@ -40,8 +40,8 @@
 BuildRequires:  openssl-devel
 BuildRequires:  pkg-config
 BuildRequires:  suse-module-tools
-BuildRequires:  pkgconfig(systemd)
 BuildRequires:  pkgconfig(libsystemd)
+BuildRequires:  pkgconfig(systemd)
 Requires(post): coreutils
 Requires:   libopeniscsiusr0_2_0 = %{version}
 %{?systemd_requires}

++ open-iscsi-SUSE-latest.diff.bz2 ++
 652 lines (skipped)
 between 
/work/SRC/openSUSE:Factory/open-iscsi/open-iscsi-SUSE-latest.diff.bz2
 and 
/work/SRC/openSUSE:Factory/.open-iscsi.new.4615/open-iscsi-SUSE-latest.diff.bz2




commit open-iscsi for openSUSE:Factory

2019-06-13 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2019-06-13 22:38:37

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new.4811 (New)


Package is "open-iscsi"

Thu Jun 13 22:38:37 2019 rev:81 rq:709746 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2019-04-01 
12:33:30.385800266 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new.4811/open-iscsi.changes  
2019-06-13 22:38:39.700277544 +0200
@@ -1,0 +2,20 @@
+Wed Jun 12 14:24:16 UTC 2019 - Dominique Leuenberger 
+
+- BuildRequire pkgconfig(systemd) instead of systemd: allow OBS to
+  shortcut the build queues by allowing usage of systemd-mini
+
+---
+Tue Jun  4 17:45:40 UTC 2019 - Lee Duncan 
+
+- Added latest upstream changes, including:
+  - iscsiuio: Stop using /var directory for PIDfile and locks
+  - iscsiuio: improve daemon synchronization (bsc#1135070)
+  - fix pipe notification code
+  - add systemd support for iscsiuio
+  - make iscsid systemd usage optional
+  - fix possible discovery hang timeout
+  - fix iscsiuio systemd disablement
+  Updating:
+  * open-iscsi-SUSE-latest.diff.bz2
+
+---



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.kAo2qH/_old  2019-06-13 22:38:40.240277362 +0200
+++ /var/tmp/diff_new_pack.kAo2qH/_new  2019-06-13 22:38:40.240277362 +0200
@@ -12,7 +12,7 @@
 # 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/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -40,8 +40,8 @@
 BuildRequires:  openssl-devel
 BuildRequires:  pkg-config
 BuildRequires:  suse-module-tools
-BuildRequires:  systemd
-BuildRequires:  systemd-devel
+BuildRequires:  pkgconfig(systemd)
+BuildRequires:  pkgconfig(libsystemd)
 Requires(post): coreutils
 Requires:   libopeniscsiusr0_2_0 = %{version}
 %{?systemd_requires}

++ open-iscsi-SUSE-latest.diff.bz2 ++
--- /var/tmp/diff_new_pack.kAo2qH/_old  2019-06-13 22:38:40.272277351 +0200
+++ /var/tmp/diff_new_pack.kAo2qH/_new  2019-06-13 22:38:40.276277349 +0200
@@ -1,5 +1,5 @@
 diff --git a/Makefile b/Makefile
-index a03b2e687440..2816803264a0 100644
+index a03b2e687440..2539182d3baa 100644
 --- a/Makefile
 +++ b/Makefile
 @@ -20,7 +20,8 @@ rulesdir = $(libdir)/udev/rules.d
@@ -12,6 +12,30 @@
  SCRIPTS = utils/iscsi_discovery utils/iscsi_fw_login utils/iscsi_offload \
  utils/iscsi-gen-initiatorname
  INSTALL = install
+@@ -41,6 +42,14 @@ ifneq (,$(CFLAGS))
+ export CFLAGS
+ endif
+ 
++# export systemd disablement if set
++ifneq ($(NO_SYSTEMD),)
++export NO_SYSTEMD
++WITHOUT_ARG = --without-systemd
++else
++WITHOUT_ARG =
++endif
++
+ # Random comments:
+ # using '$(MAKE)' instead of just 'make' allows make to run in parallel
+ # over multiple makefile.
+@@ -66,7 +75,7 @@ user: iscsiuio/Makefile
+   @echo "Read README file for detailed information."
+ 
+ iscsiuio/Makefile: iscsiuio/configure iscsiuio/Makefile.in
+-  cd iscsiuio; ./configure
++  cd iscsiuio; ./configure $(WITHOUT_ARG)
+ 
+ iscsiuio/configure iscsiuio/Makefile.in: iscsiuio/configure.ac 
iscsiuio/Makefile.am
+   cd iscsiuio; autoreconf --install
 diff --git a/doc/iscsiadm.8 b/doc/iscsiadm.8
 index a82805e28fb9..bf23dd2e6e27 100644
 --- a/doc/iscsiadm.8
@@ -707,6 +731,74 @@
  .SH AUTHORS
  Open-iSCSI project 
  .br
+diff --git a/doc/iscsid.8 b/doc/iscsid.8
+index d6b32ddc42e4..6f9218f74c4c 100644
+--- a/doc/iscsid.8
 b/doc/iscsid.8
+@@ -40,7 +40,7 @@ do not write a process ID file.
+ .TP
+ .BI [-p|--pid=]\fIpid\-file\fP
+ write process ID to \fIpid\-file\fR rather than the default
+-\fI/var/run/iscsid.pid\fR
++\fI/run/iscsid.pid\fR
+ .TP
+ .BI [-h|--help]
+ display this help and exit
+diff --git a/etc/initd/initd.debian b/etc/initd/initd.debian
+index 59bf59b8f495..b531be5f8574 100644
+--- a/etc/initd/initd.debian
 b/etc/initd/initd.debian
+@@ -11,7 +11,7 @@
+ PATH=/sbin:/bin:/usr/sbin:/usr/bin
+ DAEMON=/sbin/iscsid
+ ADM=/sbin/iscsiadm
+-PIDFILE=/var/run/iscsid.pid
++PIDFILE=/run/iscsid.pid
+ 
+ [ -x "$DAEMON" ] || exit 0
+ 
+diff --git a/etc/initd/initd.redhat b/etc/initd/initd.redhat
+index d14908269395..568f0cf95a2e 100644
+--- a/etc/initd/initd.redhat
 b/etc/initd/initd.redhat
+@@ -4,7 +4,7 @@
+ # description: Starts and stops the iSCSI initiator
+ #
+ # processname: iscsid
+-# pidfile: /var/run/iscsid.pid
++# pidfile: /run/iscsid.pid
+ # config:  

commit open-iscsi for openSUSE:Factory

2019-04-01 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2019-04-01 12:33:22

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new.25356 (New)


Package is "open-iscsi"

Mon Apr  1 12:33:22 2019 rev:80 rq:688862 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2019-02-04 
21:23:49.599618975 +0100
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new.25356/open-iscsi.changes 
2019-04-01 12:33:30.385800266 +0200
@@ -1,0 +2,11 @@
+Tue Mar 26 17:43:23 UTC 2019 - Lee Duncan 
+
+- Added latest upstream changes, including:
+  * Fix output of node printing for multiple paths.
+  * Fix printing of node database again.
+  * Add Restart=on-failure option to iscsid.service
+  * Fix node print return value when no nodes.
+  Updating:
+  * open-iscsi-SUSE-latest.diff.bz2
+
+---



Other differences:
--
++ open-iscsi-SUSE-latest.diff.bz2 ++
--- /var/tmp/diff_new_pack.uu35bd/_old  2019-04-01 12:33:31.925800660 +0200
+++ /var/tmp/diff_new_pack.uu35bd/_new  2019-04-01 12:33:31.941800663 +0200
@@ -707,6 +707,36 @@
  .SH AUTHORS
  Open-iSCSI project 
  .br
+diff --git a/etc/systemd/iscsi.service b/etc/systemd/iscsi.service
+index 0edcf510b9cb..e4758881cb9c 100644
+--- a/etc/systemd/iscsi.service
 b/etc/systemd/iscsi.service
+@@ -3,11 +3,12 @@ Description=Login and scanning of iSCSI devices
+ Documentation=man:iscsiadm(8) man:iscsid(8)
+ Before=remote-fs.target
+ After=network.target network-online.target iscsid.service
++Requires=iscsid.service
+ ConditionPathExists=/etc/iscsi/initiatorname.iscsi
+ 
+ [Service]
+ Type=oneshot
+-ExecStart=-/sbin/iscsiadm -m node --loginall=automatic
++ExecStart=/sbin/iscsiadm -m node --loginall=automatic
+ ExecStop=/sbin/iscsiadm -m node --logoutall=automatic
+ ExecStop=/sbin/iscsiadm -m node --logoutall=manual
+ SuccessExitStatus=21
+diff --git a/etc/systemd/iscsid.service b/etc/systemd/iscsid.service
+index f5e8979fa1d1..4fef168163ca 100644
+--- a/etc/systemd/iscsid.service
 b/etc/systemd/iscsid.service
+@@ -10,6 +10,7 @@ Type=notify
+ NotifyAccess=main
+ ExecStart=/sbin/iscsid -f
+ KillMode=mixed
++Restart=on-failure
+ 
+ [Install]
+ WantedBy=multi-user.target
 diff --git a/iscsiuio/README b/iscsiuio/README
 index 9cbf7ce6717a..19150055a3fb 100644
 --- a/iscsiuio/README
@@ -885,7 +915,7 @@
  check: $(LIBS) $(TESTS)
sudo env LD_LIBRARY_PATH=$(LIBISCSI_USR_DIR) TESTS="$(TESTS)" \
 diff --git a/libopeniscsiusr/idbm.c b/libopeniscsiusr/idbm.c
-index 7724de2668bc..055dd9a16050 100644
+index 7724de2668bc..677139e86ced 100644
 --- a/libopeniscsiusr/idbm.c
 +++ b/libopeniscsiusr/idbm.c
 @@ -676,7 +676,7 @@ updated:
@@ -897,6 +927,16 @@
value = passwd_len; \
goto setup_passwd_len; \
}
+@@ -833,6 +833,9 @@ int _idbm_iface_get(struct iscsi_context *ctx, const char 
*iface_name, struct
+   if (iface_name == NULL)
+   goto out;
+ 
++  if (strcmp(iface_name, "iface.example") == 0)
++  goto out;
++
+   _good(_asprintf(_path, "%s/%s", IFACE_CONFIG_DIR, iface_name),
+ rc, out);
+ 
 diff --git a/usr/Makefile b/usr/Makefile
 index f541d7cb0362..1326a444cdbd 100644
 --- a/usr/Makefile
@@ -994,10 +1034,15 @@
goto setup_passwd_len; \
}
 diff --git a/usr/iscsiadm.c b/usr/iscsiadm.c
-index 25c6cdc0ff12..7cb4b97ff326 100644
+index 25c6cdc0ff12..a8f6f4a9a6e4 100644
 --- a/usr/iscsiadm.c
 +++ b/usr/iscsiadm.c
-@@ -694,9 +694,8 @@ static void print_node_flat(struct iscsi_node *node)
+@@ -689,14 +689,12 @@ static void print_node_flat(struct iscsi_node *node)
+  iscsi_node_target_name_get(node));
+ }
+ 
+-// The 'iface_mode' argument is only used for command
+-//`iscsiadm -m iface -P 1`
  static void print_nodes_tree(struct iscsi_node **nodes, uint32_t node_count,
 enum _print_node_tree_mode print_mode)
  {
@@ -1005,10 +1050,11 @@
 +  unsigned int i;
struct iscsi_node *cur_node = NULL;
 -  struct iscsi_node *pre_node = NULL;
++  struct iscsi_node *prev_node = NULL;
const char *prefix = NULL;
  
if (print_mode == _PRINT_MODE_IFACE)
-@@ -708,27 +707,14 @@ static void print_nodes_tree(struct iscsi_node **nodes, 
uint32_t node_count,
+@@ -708,27 +706,24 @@ static void print_nodes_tree(struct iscsi_node **nodes, 
uint32_t node_count,
// is no need to create hash table for this.
for (i = 0; i < node_count; ++i) {
cur_node = nodes[i];
@@ -1017,8 +1063,17 @@
 -  if ((pre_node == NULL) ||
 -

commit open-iscsi for openSUSE:Factory

2019-02-04 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2019-02-04 21:23:47

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new.28833 (New)


Package is "open-iscsi"

Mon Feb  4 21:23:47 2019 rev:79 rq:668187 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2018-12-10 
12:22:44.834861739 +0100
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new.28833/open-iscsi.changes 
2019-02-04 21:23:49.599618975 +0100
@@ -1,0 +2,23 @@
+Wed Jan 23 20:31:56 UTC 2019 - ldun...@suse.com
+
+- Merged latest upstream commits to get needed fix:
+  * Fix output for iscsiadm node/iface print level P1 (needed
+for bsc#1122938)
+  * Updated iscsiadm man page: add "onboot" handling.
+  Updating:
+  * open-iscsi-SUSE-latest.diff.bz2
+
+---
+Mon Jan 14 21:18:35 UTC 2019 - ldun...@suse.com
+
+- Update SPEC file to allow %_libdir macro to override LIB_DIR
+  when building or installing
+
+---
+Mon Jan 14 20:42:26 UTC 2019 - ldun...@suse.com
+
+- Update SPEC file to use %license macro for COPYING
+  file so that it gets delivered when when other docs
+  are excluded (bsc#1121877)
+
+---



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.IWWhg2/_old  2019-02-04 21:23:50.747618694 +0100
+++ /var/tmp/diff_new_pack.IWWhg2/_new  2019-02-04 21:23:50.747618694 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package open-iscsi
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -111,17 +111,17 @@
 
 %build
 [ -z "$SOURCE_DATE_EPOCH" ] || export 
KBUILD_BUILD_TIMESTAMP=@$SOURCE_DATE_EPOCH
-make %{?_smp_mflags} OPTFLAGS="%{optflags} -fno-strict-aliasing 
-DOFFLOAD_BOOT_SUPPORTED -DLOCK_DIR=\\\"%{_sysconfdir}/iscsi\\\"" user
+make %{?_smp_mflags} OPTFLAGS="%{optflags} -fno-strict-aliasing 
-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_service_suse
 # create rc symlinks
 [ -d %{buildroot}%{_sbindir} ] || mkdir -p %{buildroot}%{_sbindir}
 ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rciscsi
@@ -190,7 +190,8 @@
 /sbin/iscsi_offload
 /sbin/iscsi_discovery
 /sbin/iscsi_fw_login
-%doc COPYING README
+%doc README
+%license COPYING
 %{_mandir}/man8/iscsiadm.8%{ext_man}
 %{_mandir}/man8/iscsid.8%{ext_man}
 %{_mandir}/man8/iscsi_discovery.8%{ext_man}

++ open-iscsi-SUSE-latest.diff.bz2 ++
 759 lines (skipped)
 between 
/work/SRC/openSUSE:Factory/open-iscsi/open-iscsi-SUSE-latest.diff.bz2
 and 
/work/SRC/openSUSE:Factory/.open-iscsi.new.28833/open-iscsi-SUSE-latest.diff.bz2




commit open-iscsi for openSUSE:Factory

2018-12-10 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2018-12-10 12:22:43

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new.19453 (New)


Package is "open-iscsi"

Mon Dec 10 12:22:43 2018 rev:78 rq:655895 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2018-11-27 
10:39:40.568363398 +0100
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new.19453/open-iscsi.changes 
2018-12-10 12:22:44.834861739 +0100
@@ -1,0 +2,7 @@
+Thu Dec  6 18:38:33 UTC 2018 - ldun...@suse.com
+
+- Fixed iscsiuio issues (bsc#1116712) by merging the latest from
+  upstream, bringing the iscsiuio version to v0.7.8.5, updating:
+  * open-iscsi-SUSE-latest.diff.bz2
+
+---



Other differences:
--
++ open-iscsi-SUSE-latest.diff.bz2 ++
--- /var/tmp/diff_new_pack.VSdYmE/_old  2018-12-10 12:22:45.354861221 +0100
+++ /var/tmp/diff_new_pack.VSdYmE/_new  2018-12-10 12:22:45.358861217 +0100
@@ -12,8 +12,117 @@
  SCRIPTS = utils/iscsi_discovery utils/iscsi_fw_login utils/iscsi_offload \
  utils/iscsi-gen-initiatorname
  INSTALL = install
+diff --git a/iscsiuio/README b/iscsiuio/README
+index 9cbf7ce6717a..19150055a3fb 100644
+--- a/iscsiuio/README
 b/iscsiuio/README
+@@ -1,6 +1,6 @@
+ Iscsiuio Userspace Tool
+-Version 0.7.8.4
+-Feb 22, 2018
++Version 0.7.8.5
++Nov 20, 2018
+ --
+ 
+ This tool is to be used in conjunction with the QLogic NetXtreme II Linux
+diff --git a/iscsiuio/RELEASE.TXT b/iscsiuio/RELEASE.TXT
+index ca51b26338a1..0ebf27f9539c 100644
+--- a/iscsiuio/RELEASE.TXT
 b/iscsiuio/RELEASE.TXT
+@@ -1,7 +1,7 @@
+   Release Notes
+ QLogic uIP Linux Driver
+-Version 0.7.8.4
+-   2/22/2018
++Version 0.7.8.5
++   11/20/2018
+ 
+   QLogic Corporation
+ 26650 Aliso Viejo Pkwy,
+@@ -11,7 +11,29 @@
+Copyright (c) 2014, QLogic Corporation
+All rights reserved
+ 
++uIP v0.7.8.5 (Nov 20, 2018)
++===
++Fixes:
++---
++  1. Problem: CQ102578: observing ISCSI initiator IP ping drop
++ Change: 1. Do not flush tx queue on each uio interrupt
++   2. Use UIO BD index instead on buffer index.
++   3. Set buf_size in case of ICMP and ARP packet
++ Impact: QL41xxx adapters
++
++  2. Problem: CQ103034 - Unable to boot iSCSI BFS in IPv6 DHCP config
++ Change: Limit retries of performing dhcpv6 before declaring dhcp 
failure
++ Impact: All
++
++  3. Problem: CQ102438: I/O fails to resume on multipath LUN during port 
toggle.
++ Change: lib/cnic, lib/qedi, Release xmit_mutex in error code path and
++ during clear tx queue.
++ Impact: QL84xx adapters
+ 
++  4. Problem: Netlink buffer corruption when more than one host
++try to xmit packet at the same time
++ Change: Add inter-host mutex while doing xmit
++ Impact: All
+ 
+ uIP v0.7.8.4 (Feb 22, 2018)
+ ===
+diff --git a/iscsiuio/configure.ac b/iscsiuio/configure.ac
+index fa67ea74c47a..ae23078aa0a3 100644
+--- a/iscsiuio/configure.ac
 b/iscsiuio/configure.ac
+@@ -12,9 +12,9 @@ dnl Benjamin Li  (be...@broadcom.com)
+ dnl
+ 
+ PACKAGE=iscsiuio
+-VERSION=0.7.8.4
++VERSION=0.7.8.5
+ 
+-AC_INIT([iscsiuio], [0.7.8.4], [qlogic-storage-upstr...@cavium.com])
++AC_INIT([iscsiuio], [0.7.8.5], [qlogic-storage-upstr...@cavium.com])
+ 
+ AM_INIT_AUTOMAKE
+ AC_CONFIG_HEADER(config.h)
+diff --git a/iscsiuio/src/unix/libs/qedi.c b/iscsiuio/src/unix/libs/qedi.c
+index 3aa2de7155e8..b7595d5223eb 100644
+--- a/iscsiuio/src/unix/libs/qedi.c
 b/iscsiuio/src/unix/libs/qedi.c
+@@ -994,7 +994,7 @@ static int qedi_read(nic_t *nic, packet_t *pkt)
+   void *rx_pkt;
+   int rc = 0;
+   uint32_t sw_cons, bd_cons;
+-  uint32_t hw_prod;
++  uint32_t hw_prod, bd_prod;
+   uint32_t rx_pkt_idx;
+   int len;
+   struct qedi_rx_bd *rx_bd;
+@@ -1013,14 +1013,20 @@ static int qedi_read(nic_t *nic, packet_t *pkt)
+   msync(bp->rx_comp_ring, nic->page_size, MS_SYNC);
+   uctrl = (struct qedi_uio_ctrl *)bp->uctrl_map;
+   hw_prod = uctrl->hw_rx_prod;
++  bd_prod = uctrl->hw_rx_bd_prod;
+   sw_cons = uctrl->host_rx_cons;
+   bd_cons = 

commit open-iscsi for openSUSE:Factory

2018-11-27 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2018-11-27 10:39:34

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new.19453 (New)


Package is "open-iscsi"

Tue Nov 27 10:39:34 2018 rev:77 rq:648635 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2018-10-25 
08:10:02.596278379 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new.19453/open-iscsi.changes 
2018-11-27 10:39:40.568363398 +0100
@@ -1,0 +2,14 @@
+Tue Nov 13 01:48:12 UTC 2018 - ldun...@suse.com
+
+- Updated to latest upstream, with fixes:
+  * Use pkg-config in Makefiles for newer libraries.
+  * Merge pull request #145 from gonzoleeman/fix-i586-build-warnings
+  * Fix i586 build issues with string length overflow.
+  * iscsistart is not installed
+  * iscsiuio: Do not flush tx queue on each uio interrupt.
+  updating:
+  * open-iscsi-SUSE-latest.diff.bz2
+  Also, update the SPEC file: no more need to specify libkmod
+  or libsystemd, since upstream handles that now.
+
+---



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.ABMgJU/_old  2018-11-27 10:39:41.064362898 +0100
+++ /var/tmp/diff_new_pack.ABMgJU/_new  2018-11-27 10:39:41.064362898 +0100
@@ -38,6 +38,7 @@
 BuildRequires:  make
 BuildRequires:  open-isns-devel
 BuildRequires:  openssl-devel
+BuildRequires:  pkg-config
 BuildRequires:  suse-module-tools
 BuildRequires:  systemd
 BuildRequires:  systemd-devel
@@ -110,7 +111,7 @@
 
 %build
 [ -z "$SOURCE_DATE_EPOCH" ] || export 
KBUILD_BUILD_TIMESTAMP=@$SOURCE_DATE_EPOCH
-make %{?_smp_mflags} OPTFLAGS="%{optflags} -fno-strict-aliasing 
-DOFFLOAD_BOOT_SUPPORTED -DUSE_KMOD -I/usr/include/kmod 
-DLOCK_DIR=\\\"%{_sysconfdir}/iscsi\\\"" LDFLAGS="-lkmod -lsystemd" user
+make %{?_smp_mflags} OPTFLAGS="%{optflags} -fno-strict-aliasing 
-DOFFLOAD_BOOT_SUPPORTED -DLOCK_DIR=\\\"%{_sysconfdir}/iscsi\\\"" user
 cd iscsiuio
 touch AUTHORS NEWS
 autoreconf --install

++ open-iscsi-SUSE-latest.diff.bz2 ++
--- /var/tmp/diff_new_pack.ABMgJU/_old  2018-11-27 10:39:41.080362882 +0100
+++ /var/tmp/diff_new_pack.ABMgJU/_new  2018-11-27 10:39:41.084362878 +0100
@@ -0,0 +1,175 @@
+diff --git a/Makefile b/Makefile
+index a03b2e687440..2816803264a0 100644
+--- a/Makefile
 b/Makefile
+@@ -20,7 +20,8 @@ rulesdir = $(libdir)/udev/rules.d
+ MANPAGES = doc/iscsid.8 doc/iscsiadm.8 doc/iscsi_discovery.8 \
+   iscsiuio/docs/iscsiuio.8 doc/iscsi_fw_login.8 doc/iscsi-iname.8 
\
+   doc/iscsistart.8
+-PROGRAMS = usr/iscsid usr/iscsiadm utils/iscsi-iname 
iscsiuio/src/unix/iscsiuio
++PROGRAMS = usr/iscsid usr/iscsiadm utils/iscsi-iname 
iscsiuio/src/unix/iscsiuio \
++ usr/iscsistart
+ SCRIPTS = utils/iscsi_discovery utils/iscsi_fw_login utils/iscsi_offload \
+ utils/iscsi-gen-initiatorname
+ INSTALL = install
+diff --git a/iscsiuio/src/unix/nic.c b/iscsiuio/src/unix/nic.c
+index dfc2ad0a7a7b..29c4332a3162 100644
+--- a/iscsiuio/src/unix/nic.c
 b/iscsiuio/src/unix/nic.c
+@@ -799,9 +799,12 @@ int nic_process_intr(nic_t *nic, int discard_check)
+ 
+   nic->intr_count = count;
+ 
+-  LOG_DEBUG(PFX "%s: host:%d - calling clear_tx_intr from 
process_intr",
+- nic->log_name, nic->host_no);
+-  (*nic->ops->clear_tx_intr) (nic);
++  if (strcmp(nic->ops->description, "qedi")) {
++  LOG_DEBUG(PFX "%s: host:%d - calling clear_tx_intr from 
process_intr",
++nic->log_name, nic->host_no);
++  (*nic->ops->clear_tx_intr) (nic);
++  }
++
+   ret = 1;
+   }
+   pthread_mutex_unlock(>nic_mutex);
+diff --git a/libopeniscsiusr/Makefile b/libopeniscsiusr/Makefile
+index a7fd25fb6c25..5c511d345690 100644
+--- a/libopeniscsiusr/Makefile
 b/libopeniscsiusr/Makefile
+@@ -24,6 +24,8 @@ INCLUDE_DIR ?= $(prefix)/include
+ PKGCONF_DIR ?= $(LIB_DIR)/pkgconfig
+ MAN_DIR ?= $(prefix)/share/man
+ 
++PKG_CONFIG = /usr/bin/pkg-config
++
+ LIBISCSI_USR_DIR=$(TOPDIR)/libopeniscsiusr
+ 
+ LIBISCSI_USR_VERSION_MAJOR=0
+@@ -44,6 +46,9 @@ OBJS = context.o misc.o session.o sysfs.o iface.o idbm.o 
node.o default.o
+ 
+ CFLAGS ?= -O2 -g
+ CFLAGS += -Wall -Werror -Wextra -fvisibility=hidden -fPIC
++CFLAGS += $(shell $(PKG_CONFIG) --cflags libkmod)
++
++LDFLAGS += $(shell $(PKG_CONFIG) --libs libkmod)
+ 
+ LIBADD =
+ 
+@@ -62,7 +67,7 @@ clean:
+ 
+ $(TESTS): $(LIBS)
+ $(TESTS): CFLAGS += -I$(TOPDIR)/libopeniscsiusr -g
+-$(TESTS): LDFLAGS += $(LIBADD) -L$(TOPDIR)/libopeniscsiusr 

commit open-iscsi for openSUSE:Factory

2018-10-25 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2018-10-25 08:09:58

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is "open-iscsi"

Thu Oct 25 08:09:58 2018 rev:76 rq:644428 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2018-10-02 
19:42:27.474134889 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2018-10-25 08:10:02.596278379 +0200
@@ -1,0 +2,24 @@
+Wed Oct 24 19:06:27 UTC 2018 - ldun...@suse.com
+
+- Updated SPEC file with Obsoletes for library, and disclaimer
+  abot updating SPEC file directly.
+
+  Also, added using KBUILD_BUILD_TIMESTAMP to create reproducable
+  man pages (bsc#1047218)
+
+---
+Wed Oct 17 18:23:30 UTC 2018 - ldun...@suse.com
+
+- Upgraded to upstream open-iscsi version 2.0.877, which will be
+  merged with our (few) changes and tagged 2.0.877-suse. See the
+  Changelog file for a details list of changes in this upstream
+  update. This update replaces:
+  * open-iscsi-2.0.876-suse.tar.bz2 (old)
+  with
+  *  open-iscsi-2.0.877-suse.tar.bz2 (new)
+  and resets the file:
+  * open-iscsi-SUSE-latest.diff.bz2
+  to be our local changes since version 2.0.877-suse. The spec
+  file is updated as well.
+
+---

Old:

  open-iscsi-2.0.876-suse.tar.bz2

New:

  open-iscsi-2.0.877-suse.tar.bz2



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.KzEZ8L/_old  2018-10-25 08:10:03.072278067 +0200
+++ /var/tmp/diff_new_pack.KzEZ8L/_new  2018-10-25 08:10:03.076278065 +0200
@@ -16,11 +16,11 @@
 #
 
 
-%define iscsi_release 876-suse
+%define iscsi_release 877-suse
 Name:   open-iscsi
-Version:2.0.876
+Version:2.0.877
 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
@@ -40,32 +40,35 @@
 BuildRequires:  openssl-devel
 BuildRequires:  suse-module-tools
 BuildRequires:  systemd
+BuildRequires:  systemd-devel
 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.0.877
 Release:0
-Summary:Userspace iSCSI API
+Summary: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.4
@@ -78,7 +81,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
@@ -86,15 +89,15 @@
  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.0.877
 Release:0
-Summary:Linux open-iscsi user-level library and include files
+Summary:iSCSI User-level Library Development Library and Include files
 Group:  Development/Libraries/C and C++
-Requires:   

commit open-iscsi for openSUSE:Factory

2018-10-02 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2018-10-02 19:42:25

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is "open-iscsi"

Tue Oct  2 19:42:25 2018 rev:75 rq:638852 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2018-09-05 
13:48:16.538229467 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2018-10-02 19:42:27.474134889 +0200
@@ -1,0 +2,8 @@
+Thu Sep 27 17:47:27 UTC 2018 - ldun...@suse.com
+
+- Merge the latest upstream code, updating the libopeniscsiusr
+  version from 0_1_0 to 0_2_0, which updates the SPEC file. Also
+  updated with new code:
+  * open-iscsi-SUSE-latest.diff.bz2
+
+---



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.HC034z/_old  2018-10-02 19:42:28.190134167 +0200
+++ /var/tmp/diff_new_pack.HC034z/_new  2018-10-02 19:42:28.198134159 +0200
@@ -41,7 +41,7 @@
 BuildRequires:  suse-module-tools
 BuildRequires:  systemd
 Requires(post): coreutils
-Requires:   libopeniscsiusr0_1_0 = %{version}
+Requires:   libopeniscsiusr0_2_0 = %{version}
 %{?systemd_requires}
 
 %description
@@ -58,17 +58,17 @@
 comes with a daemon process called iscsid, and a management utility,
 iscsiadm.
 
-%package -n libopeniscsiusr0_1_0
+%package -n libopeniscsiusr0_2_0
 Version:2.0.876
 Release:0
 Summary:Userspace iSCSI API
 Group:  System/Libraries
 
-%description -n libopeniscsiusr0_1_0
+%description -n libopeniscsiusr0_2_0
 The iSCSI userspace API from the open-iscsi project.
 
 %package -n iscsiuio
-Version:0.7.8.2
+Version:0.7.8.4
 Release:0
 Summary:Linux Broadcom NetXtremem II iscsi server
 Group:  Productivity/Networking/Other
@@ -147,8 +147,8 @@
 %preun
 %{service_del_preun iscsid.socket iscsid.service iscsi.service}
 
-%post   -n libopeniscsiusr0_1_0 -p /sbin/ldconfig
-%postun -n libopeniscsiusr0_1_0 -p /sbin/ldconfig
+%post   -n libopeniscsiusr0_2_0 -p /sbin/ldconfig
+%postun -n libopeniscsiusr0_2_0 -p /sbin/ldconfig
 
 %post -n iscsiuio
 %{service_add_post iscsiuio.socket iscsiuio.service}
@@ -192,7 +192,7 @@
 %{_mandir}/man8/iscsi_fw_login.8%{ext_man}
 %{_udevrulesdir}/50-iscsi-firmware-login.rules
 
-%files -n libopeniscsiusr0_1_0
+%files -n libopeniscsiusr0_2_0
 %{_libdir}/libopeniscsiusr.so*
 
 %files -n iscsiuio

++ open-iscsi-SUSE-latest.diff.bz2 ++
 6849 lines (skipped)
 between 
/work/SRC/openSUSE:Factory/open-iscsi/open-iscsi-SUSE-latest.diff.bz2
 and 
/work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi-SUSE-latest.diff.bz2




commit open-iscsi for openSUSE:Factory

2018-09-05 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2018-09-05 13:48:15

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is "open-iscsi"

Wed Sep  5 13:48:15 2018 rev:74 rq:633203 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2018-06-05 
12:49:32.853031733 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2018-09-05 13:48:16.538229467 +0200
@@ -1,0 +2,14 @@
+Tue Sep  4 17:35:55 UTC 2018 - ldun...@suse.com
+
+- Use libkmod instead of running modprobe (bsc#1106685), updating
+  the spec file, and:
+  * open-iscsi-SUSE-latest.diff.bz2
+
+---
+Fri Aug 31 16:15:47 UTC 2018 - ldun...@suse.com
+
+- iscsiuio: limit retries on dhcpv6 (bsc#1106694 and bsc#1105916),
+  updating:
+  * open-iscsi-SUSE-latest.diff.bz2
+
+---



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.f2bXdb/_old  2018-09-05 13:48:17.826231628 +0200
+++ /var/tmp/diff_new_pack.f2bXdb/_new  2018-09-05 13:48:17.838231648 +0200
@@ -21,7 +21,7 @@
 Version:2.0.876
 Release:0
 Summary:Linux Open-iSCSI Software Initiator
-License:GPL-2.0+
+License:GPL-2.0-or-later
 Group:  Productivity/Networking/Other
 Url:http://www.open-iscsi.com
 Source: %{name}-2.0.%{iscsi_release}.tar.bz2
@@ -32,6 +32,7 @@
 BuildRequires:  db-devel < 5
 BuildRequires:  fdupes
 BuildRequires:  flex
+BuildRequires:  libkmod-devel
 BuildRequires:  libmount-devel
 BuildRequires:  libtool
 BuildRequires:  make
@@ -105,7 +106,7 @@
 %patch1 -p1
 
 %build
-make %{?_smp_mflags} OPTFLAGS="%{optflags} -fno-strict-aliasing 
-DOFFLOAD_BOOT_SUPPORTED -DLOCK_DIR=\\\"%{_sysconfdir}/iscsi\\\"" LDFLAGS="" 
user
+make %{?_smp_mflags} OPTFLAGS="%{optflags} -fno-strict-aliasing 
-DOFFLOAD_BOOT_SUPPORTED -DUSE_KMOD -I/usr/include/kmod 
-DLOCK_DIR=\\\"%{_sysconfdir}/iscsi\\\"" LDFLAGS="-lkmod" user
 cd iscsiuio
 touch AUTHORS NEWS
 autoreconf --install

++ open-iscsi-SUSE-latest.diff.bz2 ++
--- /var/tmp/diff_new_pack.f2bXdb/_old  2018-09-05 13:48:17.858231681 +0200
+++ /var/tmp/diff_new_pack.f2bXdb/_new  2018-09-05 13:48:17.862231688 +0200
@@ -92,6 +92,35 @@
  };
  
  /* iSCSI port state */
+diff --git a/iscsiuio/src/uip/ipv6_ndpc.c b/iscsiuio/src/uip/ipv6_ndpc.c
+index a396cb784bd3..bb07c1dd64ff 100644
+--- a/iscsiuio/src/uip/ipv6_ndpc.c
 b/iscsiuio/src/uip/ipv6_ndpc.c
+@@ -134,6 +134,7 @@ wait_rtr:
+   } while (!(ipv6c->flags & IPV6_FLAGS_ROUTER_ADV_RECEIVED));
+ 
+   LOG_DEBUG("%s: ndpc_handle got rtr adv", s->nic->log_name);
++  s->retry_count = 0;
+ 
+ no_rtr_adv:
+   s->state = NDPC_STATE_RTR_ADV;
+@@ -200,9 +201,13 @@ wait_dhcp:
+   } else {
+   /* Static IPv6 */
+   if (ustack->ip_config == IPV6_CONFIG_DHCP) {
+-  LOG_DEBUG("%s: ndpc_handle DHCP failed",
+-s->nic->log_name);
+-  PT_RESTART(>pt);
++  s->retry_count++;
++  if (s->retry_count > DHCPV6_NUM_OF_RETRY) {
++  LOG_DEBUG("%s: ndpc_handle DHCP failed",
++s->nic->log_name);
++  } else {
++  PT_RESTART(>pt);
++  }
+   }
+ staticv6:
+   ipv6_disable_dhcpv6(ipv6c);
 diff --git a/iscsiuio/src/unix/iscsid_ipc.c b/iscsiuio/src/unix/iscsid_ipc.c
 index d4322350fcf6..2acac485af72 100644
 --- a/iscsiuio/src/unix/iscsid_ipc.c
@@ -217,6 +246,28 @@
  
n = scandir(sys_scsi_host_dir_path, , _scan_filter_skip_dot,
alphasort);
+diff --git a/usr/Makefile b/usr/Makefile
+index 438bba57a6e2..f541d7cb0362 100644
+--- a/usr/Makefile
 b/usr/Makefile
+@@ -60,14 +60,14 @@ all: $(PROGRAMS)
+ 
+ iscsid: $(ISCSI_LIB_SRCS) $(INITIATOR_SRCS) $(DISCOVERY_SRCS) \
+   iscsid.o session_mgmt.o discoveryd.o mntcheck.o
+-  $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@  -lisns -lcrypto -lrt -lmount 
$(ISCSI_LIB)
++  $(CC) $(CFLAGS) $^ -o $@  $(LDFLAGS) -lisns -lcrypto -lrt -lmount 
$(ISCSI_LIB)
+ 
+ iscsiadm: $(ISCSI_LIB_SRCS) $(DISCOVERY_SRCS) iscsiadm.o session_mgmt.o 
mntcheck.o
+-  $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ -lisns -lcrypto -lmount $(ISCSI_LIB)
++  $(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS) -lisns -lcrypto -lmount $(ISCSI_LIB)
+ 
+ iscsistart: $(ISCSI_LIB_SRCS) $(INITIATOR_SRCS) $(FW_BOOT_SRCS) \
+   iscsistart.o statics.o
+-  $(CC) 

commit open-iscsi for openSUSE:Factory

2018-06-05 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2018-06-05 12:49:31

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is "open-iscsi"

Tue Jun  5 12:49:31 2018 rev:73 rq:613367 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2018-04-25 
09:56:28.041593680 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2018-06-05 12:49:32.853031733 +0200
@@ -1,0 +2,7 @@
+Thu May 31 21:41:35 UTC 2018 - ldun...@suse.com
+
+- Fix a core dump which can occur if iscsiuio is started then
+  immediately stopped (bsc#1094797), updating:
+  * open-iscsi-SUSE-latest.diff.bz2
+
+---



Other differences:
--
++ open-iscsi-SUSE-latest.diff.bz2 ++
--- /var/tmp/diff_new_pack.vqkIIe/_old  2018-06-05 12:49:34.032988497 +0200
+++ /var/tmp/diff_new_pack.vqkIIe/_new  2018-06-05 12:49:34.032988497 +0200
@@ -92,6 +92,20 @@
  };
  
  /* iSCSI port state */
+diff --git a/iscsiuio/src/unix/iscsid_ipc.c b/iscsiuio/src/unix/iscsid_ipc.c
+index d4322350fcf6..2acac485af72 100644
+--- a/iscsiuio/src/unix/iscsid_ipc.c
 b/iscsiuio/src/unix/iscsid_ipc.c
+@@ -1245,7 +1245,8 @@ void iscsid_cleanup()
+ {
+   int rc;
+ 
+-  if (iscsid_opts.fd != INVALID_FD) {
++  if (iscsid_opts.fd != INVALID_FD &&
++  iscsid_opts.thread != INVALID_THREAD) {
+   rc = pthread_cancel(iscsid_opts.thread);
+   if (rc != 0) {
+   LOG_ERR("Could not cancel iscsid listening thread: %s",
 diff --git a/iscsiuio/src/unix/libs/cnic.c b/iscsiuio/src/unix/libs/cnic.c
 index 9662f024041b..86fb1889db5c 100644
 --- a/iscsiuio/src/unix/libs/cnic.c




commit open-iscsi for openSUSE:Factory

2018-04-25 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2018-04-25 09:56:25

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is "open-iscsi"

Wed Apr 25 09:56:25 2018 rev:72 rq:600139 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2018-04-22 
14:32:13.225077195 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2018-04-25 09:56:28.041593680 +0200
@@ -1,0 +2,6 @@
+Mon Apr 23 18:23:29 UTC 2018 - ldun...@suse.com
+
+- Ensure we can get qedi transport name (bsc#1090275), updating:
+  * open-iscsi-SUSE-latest.diff.bz2
+
+---



Other differences:
--
++ open-iscsi-SUSE-latest.diff.bz2 ++
--- /var/tmp/diff_new_pack.plTAwH/_old  2018-04-25 09:56:28.601573139 +0200
+++ /var/tmp/diff_new_pack.plTAwH/_new  2018-04-25 09:56:28.605572992 +0200
@@ -268,3 +268,31 @@
default:
return "Invalid or unknown error code";
}
+diff --git a/utils/fwparam_ibft/fw_entry.c b/utils/fwparam_ibft/fw_entry.c
+index b49e53f7713d..96af14565321 100644
+--- a/utils/fwparam_ibft/fw_entry.c
 b/utils/fwparam_ibft/fw_entry.c
+@@ -161,7 +161,11 @@ void fw_free_targets(struct list_head *list)
+ 
+ static void dump_initiator(struct boot_context *context)
+ {
+-  char transport_name[ISCSI_TRANSPORT_NAME_MAXLEN];
++  struct iface_rec iface;
++
++  memset(, 0, sizeof(iface));
++  iface_setup_defaults();
++  iface_setup_from_boot_context(, context);
+ 
+   if (strlen(context->initiatorname))
+   printf("%s = %s\n", IFACE_INAME, context->initiatorname);
+@@ -169,9 +173,7 @@ static void dump_initiator(struct boot_context *context)
+   if (strlen(context->isid))
+   printf("%s = %s\n", IFACE_ISID, context->isid);
+ 
+-  memset(transport_name, 0, ISCSI_TRANSPORT_NAME_MAXLEN);
+-  if (!net_get_transport_name_from_netdev(context->iface, transport_name))
+-  printf("%s = %s\n", IFACE_TRANSPORTNAME, transport_name);
++  printf("%s = %s\n", IFACE_TRANSPORTNAME, iface.transport_name);
+ }
+ 
+ static void dump_target(struct boot_context *context)




commit open-iscsi for openSUSE:Factory

2018-04-22 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2018-04-22 14:32:08

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is "open-iscsi"

Sun Apr 22 14:32:08 2018 rev:71 rq:597859 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2018-03-26 
12:33:49.740624130 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2018-04-22 14:32:13.225077195 +0200
@@ -1,0 +2,14 @@
+Wed Apr 18 17:17:52 UTC 2018 - ldun...@suse.com
+
+- Added upstream patch to allow host_id of 0 (bsc#1089687),
+  updating:
+  * open-iscsi-SUSE-latest.diff.bz2
+
+---
+Fri Apr 13 20:50:05 UTC 2018 - ldun...@suse.com
+
+- Added 2 upstream commits to address issue of iscsi_if.h
+  stayig in sync with kernel vesion (bsc#1086344), updating:
+  * open-iscsi-SUSE-latest.diff.bz2
+
+---



Other differences:
--
++ open-iscsi-SUSE-latest.diff.bz2 ++
--- /var/tmp/diff_new_pack.alOWpI/_old  2018-04-22 14:32:13.797056494 +0200
+++ /var/tmp/diff_new_pack.alOWpI/_new  2018-04-22 14:32:13.797056494 +0200
@@ -50,6 +50,48 @@
  
  depend:
for dir in usr utils utils/fwparam_ibft; do \
+diff --git a/include/iscsi_if.h b/include/iscsi_if.h
+index 5be1981beb52..2d46214c2a60 100644
+--- a/include/iscsi_if.h
 b/include/iscsi_if.h
+@@ -30,6 +30,12 @@
+ 
+ #include "iscsi_proto.h"
+ 
++/*
++ * NOTE: This file should be kept in sync with the kernel include file
++ * of the same name. In particular, iscsi_param and iscsi_err need
++ * to be in sync.
++ */
++
+ #define ISCSI_NL_GRP_ISCSID   1
+ #define ISCSI_NL_GRP_UIP  2
+ 
+@@ -536,6 +542,7 @@ enum iscsi_err {
+   ISCSI_ERR_XMIT_FAILED   = ISCSI_ERR_BASE + 19,
+   ISCSI_ERR_TCP_CONN_CLOSE= ISCSI_ERR_BASE + 20,
+   ISCSI_ERR_SCSI_EH_SESSION_RST   = ISCSI_ERR_BASE + 21,
++  ISCSI_ERR_NOP_TIMEDOUT  = ISCSI_ERR_BASE + 22,
+ };
+ 
+ /*
+@@ -627,6 +634,7 @@ enum iscsi_param {
+ 
+   ISCSI_PARAM_DISCOVERY_PARENT_IDX,
+   ISCSI_PARAM_DISCOVERY_PARENT_TYPE,
++  ISCSI_PARAM_LOCAL_IPADDR,
+   /* must always be last */
+   ISCSI_PARAM_MAX,
+ };
+@@ -731,6 +739,8 @@ enum iscsi_port_speed {
+   ISCSI_PORT_SPEED_100MBPS= 0x4,
+   ISCSI_PORT_SPEED_1GBPS  = 0x8,
+   ISCSI_PORT_SPEED_10GBPS = 0x10,
++  ISCSI_PORT_SPEED_25GBPS = 0x20,
++  ISCSI_PORT_SPEED_40GBPS = 0x40,
+ };
+ 
+ /* iSCSI port state */
 diff --git a/iscsiuio/src/unix/libs/cnic.c b/iscsiuio/src/unix/libs/cnic.c
 index 9662f024041b..86fb1889db5c 100644
 --- a/iscsiuio/src/unix/libs/cnic.c
@@ -116,6 +158,18 @@
$(INSTALL) -m 644 -D $(PKGFILE).in $(DESTDIR)$(PKGCONF_DIR)/$(PKGFILE)
perl -i -pe 's|__VERSION__|$(LIBNVME_VERSION)|g' \
$(DESTDIR)$(PKGCONF_DIR)/$(PKGFILE)
+diff --git a/libopeniscsiusr/iface.c b/libopeniscsiusr/iface.c
+index 79898df45b33..c8519a7ea34e 100644
+--- a/libopeniscsiusr/iface.c
 b/libopeniscsiusr/iface.c
+@@ -158,7 +158,6 @@ int _iscsi_iface_get(struct iscsi_context *ctx, uint32_t 
host_id, uint32_t sid,
+   char proc_name[ISCSI_TRANSPORT_NAME_MAXLEN];
+ 
+   assert(ctx != NULL);
+-  assert(host_id != 0);
+   assert(sid != 0);
+   /* TODO(Gris Ge): Handle when sid == 0(ignored) */
+   assert(iface != NULL);
 diff --git a/libopeniscsiusr/sysfs.c b/libopeniscsiusr/sysfs.c
 index 70298f21a0df..6f590f428efa 100644
 --- a/libopeniscsiusr/sysfs.c
@@ -201,3 +255,16 @@
n = scandir(path_full, , trans_filter,
alphasort);
if (n <= 0)
+diff --git a/usr/kern_err_table.c b/usr/kern_err_table.c
+index a6ea8fbc7e37..8af6f054c4a5 100644
+--- a/usr/kern_err_table.c
 b/usr/kern_err_table.c
+@@ -77,6 +77,8 @@ const char *kern_err_code_to_string(int err)
+   case ISCSI_ERR_SCSI_EH_SESSION_RST:
+   return "ISCSI_ERR_SCSI_EH_SESSION_RST: Session was dropped as "
+   "a result of SCSI error recovery";
++  case ISCSI_ERR_NOP_TIMEDOUT:
++  return "ISCSI_ERR_NOP_TIMEDOUT: A NOP has timed out";
+   default:
+   return "Invalid or unknown error code";
+   }




commit open-iscsi for openSUSE:Factory

2018-03-26 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2018-03-26 12:32:45

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is "open-iscsi"

Mon Mar 26 12:32:45 2018 rev:70 rq:590442 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2018-02-23 
15:28:40.428959660 +0100
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2018-03-26 12:33:49.740624130 +0200
@@ -1,0 +2,11 @@
+Thu Mar 22 18:35:10 UTC 2018 - ldun...@suse.com
+
+- Cleaned up complaints by gcc-8 about strings (bsc#1084640)
+- Fixed rpmlint complaint about libopeniscsiusr summary
+  not starting with a capital letter
+- Fixed libopeniscsiusr global variable overload
+- No functional changes. This updates:
+  * open-iscsi-SUSE-latest.diff.bz2, and
+  * open-iscsi.spec
+
+---



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.li8Avs/_old  2018-03-26 12:33:51.444562949 +0200
+++ /var/tmp/diff_new_pack.li8Avs/_new  2018-03-26 12:33:51.452562661 +0200
@@ -60,7 +60,7 @@
 %package -n libopeniscsiusr0_1_0
 Version:2.0.876
 Release:0
-Summary:iSCSI userspace API
+Summary:Userspace iSCSI API
 Group:  System/Libraries
 
 %description -n libopeniscsiusr0_1_0

++ open-iscsi-SUSE-latest.diff.bz2 ++
--- /var/tmp/diff_new_pack.li8Avs/_old  2018-03-26 12:33:51.488561369 +0200
+++ /var/tmp/diff_new_pack.li8Avs/_new  2018-03-26 12:33:51.492561225 +0200
@@ -66,6 +66,19 @@
}
}
arp_retry = 0;
+diff --git a/iscsiuio/src/unix/nic_utils.c b/iscsiuio/src/unix/nic_utils.c
+index e2f294389840..786f2a4d5b5d 100644
+--- a/iscsiuio/src/unix/nic_utils.c
 b/iscsiuio/src/unix/nic_utils.c
+@@ -305,7 +305,7 @@ static int nic_util_enable_disable_multicast(nic_t *nic, 
uint32_t cmd)
+   /* Prepare the request */
+   memset(, 0, sizeof(ifr));
+   strncpy(ifr.ifr_name, nic->eth_device_name,
+-  sizeof(nic->eth_device_name));
++  sizeof(ifr.ifr_name));
+   memcpy(ifr.ifr_hwaddr.sa_data, multicast_addr.addr, ETH_ALEN);
+ 
+   fd = socket(AF_INET, SOCK_DGRAM, 0);
 diff --git a/libopeniscsiusr/Makefile b/libopeniscsiusr/Makefile
 index 8b9b523c1d96..748ec6e6e24b 100644
 --- a/libopeniscsiusr/Makefile
@@ -103,3 +116,88 @@
$(INSTALL) -m 644 -D $(PKGFILE).in $(DESTDIR)$(PKGCONF_DIR)/$(PKGFILE)
perl -i -pe 's|__VERSION__|$(LIBNVME_VERSION)|g' \
$(DESTDIR)$(PKGCONF_DIR)/$(PKGFILE)
+diff --git a/libopeniscsiusr/sysfs.c b/libopeniscsiusr/sysfs.c
+index 70298f21a0df..6f590f428efa 100644
+--- a/libopeniscsiusr/sysfs.c
 b/libopeniscsiusr/sysfs.c
+@@ -311,6 +311,9 @@ int _iscsi_host_id_of_session(struct iscsi_context *ctx, 
uint32_t sid,
+   int n = 0;
+   const char *host_id_str = NULL;
+   int i = 0;
++  const char iscsi_host_dir_str[] = "/iscsi_host/";
++  const unsigned int iscsi_host_dir_strlen = strlen(iscsi_host_dir_str);
++
+ 
+   assert(ctx != NULL);
+   assert(sid != 0);
+@@ -323,8 +326,16 @@ int _iscsi_host_id_of_session(struct iscsi_context *ctx, 
uint32_t sid,
+ 
+   _good(sysfs_get_dev_path(ctx, sys_se_dir_path, sys_dev_path), rc, out);
+ 
+-  snprintf(sys_scsi_host_dir_path, PATH_MAX, "%s/iscsi_host/",
+-   sys_dev_path);
++  if ((strlen(sys_dev_path) + iscsi_host_dir_strlen) >= PATH_MAX) {
++  rc = LIBISCSI_ERR_SYSFS_LOOKUP;
++  _error(ctx, "Pathname too long: %s%s",
++ sys_dev_path, iscsi_host_dir_str);
++  goto out;
++  }
++
++  strncpy(sys_scsi_host_dir_path, sys_dev_path, PATH_MAX);
++  strncat(sys_scsi_host_dir_path, iscsi_host_dir_str,
++  PATH_MAX - iscsi_host_dir_strlen);
+ 
+   n = scandir(sys_scsi_host_dir_path, , _scan_filter_skip_dot,
+   alphasort);
+diff --git a/usr/iscsi_sysfs.c b/usr/iscsi_sysfs.c
+index 0cc55b97bde9..a5106945006a 100644
+--- a/usr/iscsi_sysfs.c
 b/usr/iscsi_sysfs.c
+@@ -1153,7 +1153,7 @@ int iscsi_sysfs_for_each_iface_on_host(void *data, 
uint32_t host_no,
+   int rc = 0, i, n;
+   struct iface_rec iface;
+ char devpath[PATH_SIZE];
+-char sysfs_path[PATH_SIZE];
++char sysfs_dev_iscsi_iface_path[PATH_SIZE];
+ char id[NAME_SIZE];
+ 
+ snprintf(id, sizeof(id), "host%u", host_no);
+@@ -1163,11 +1163,11 @@ int iscsi_sysfs_for_each_iface_on_host(void *data, 
uint32_t host_no,
+ return ISCSI_ERR_SYSFS_LOOKUP;
+ }
+ 
+-  sprintf(sysfs_path, "/sys");
+- 

commit open-iscsi for openSUSE:Factory

2018-02-23 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2018-02-23 15:28:39

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is "open-iscsi"

Fri Feb 23 15:28:39 2018 rev:69 rq:578855 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2018-01-31 
19:48:23.903223260 +0100
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2018-02-23 15:28:40.428959660 +0100
@@ -1,0 +2,22 @@
+Wed Feb 21 19:19:13 UTC 2018 - ldun...@suse.com
+
+- Ensure correct dependencies: main package must depend
+  on (new) libopeniscsiusr package, and devel package
+  must depend on main package (updating spec file)
+
+---
+Tue Feb 20 19:40:58 UTC 2018 - ldun...@suse.com
+
+- Fix ARP booting issue with different subnets
+  (bsc#1058463), updating:
+  * open-iscsi-SUSE-latest.diff.bz2
+
+---
+Wed Feb  7 17:50:15 UTC 2018 - jeng...@inai.de
+
+- Trim filler wording from description.
+  Update old commands/RPM variables to macros.
+- Implement shared library packaging guideline.
+- Do not let fdupes run across partitions.
+
+---



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.7nd6uC/_old  2018-02-23 15:28:41.400924545 +0100
+++ /var/tmp/diff_new_pack.7nd6uC/_new  2018-02-23 15:28:41.404924399 +0100
@@ -20,7 +20,7 @@
 Name:   open-iscsi
 Version:2.0.876
 Release:0
-Summary:Linux* Open-iSCSI Software Initiator
+Summary:Linux Open-iSCSI Software Initiator
 License:GPL-2.0+
 Group:  Productivity/Networking/Other
 Url:http://www.open-iscsi.com
@@ -40,26 +40,31 @@
 BuildRequires:  suse-module-tools
 BuildRequires:  systemd
 Requires(post): coreutils
+Requires:   libopeniscsiusr0_1_0 = %{version}
 %{?systemd_requires}
 
 %description
-Open-iSCSI is a high-performance, transport independent, multi-platform
-implementation of RFC3720 iSCSI.
+Open-iSCSI is a transport independent implementation of RFC 3720
+iSCSI. It is partitioned into user and kernel parts.
 
-Open-iSCSI 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.
+
+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.
 
-The kernel portion of Open-iSCSI is a from-scratch code licensed under
-GPL. The kernel part implements iSCSI data path (that is, iSCSI Read
-and iSCSI Write), and consists of two loadable modules: iscsi_if.ko and
-iscsi_tcp.ko.
-
-User space contains the entire control plane: configuration manager,
-iSCSI Discovery, Login and Logout processing, connection-level error
-processing, Nop-In and Nop-Out handling, and (in the future:) Text
-processing, iSNS, SLP, Radius, etc.
+%package -n libopeniscsiusr0_1_0
+Version:2.0.876
+Release:0
+Summary:iSCSI userspace API
+Group:  System/Libraries
 
-The user space Open-iSCSI consists of a daemon process called iscsid,
-and a management utility iscsiadm.
+%description -n libopeniscsiusr0_1_0
+The iSCSI userspace API from the open-iscsi project.
 
 %package -n iscsiuio
 Version:0.7.8.2
@@ -70,17 +75,18 @@
 
 %description -n iscsiuio
 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').
+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
 Broadcom Network Controllers:
-  bnx2:  BCM5706, BCM5708, BCM5709 devices
-  bnx2x: BCM57710, BCM57711, BCM57711E, BCM57712, BCM57712E,
+
+* bnx2:  BCM5706, BCM5708, BCM5709 devices
+* bnx2x: BCM57710, BCM57711, BCM57711E, BCM57712, BCM57712E,
  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
-'uio').
+"uio").
 
 %package devel
 Version:2.0.876
@@ -101,8 +107,7 @@
 %build
 make %{?_smp_mflags} 

commit open-iscsi for openSUSE:Factory

2018-01-31 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2018-01-31 19:48:22

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is "open-iscsi"

Wed Jan 31 19:48:22 2018 rev:68 rq:568778 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2017-12-19 
10:48:47.853416784 +0100
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2018-01-31 19:48:23.903223260 +0100
@@ -1,0 +2,32 @@
+Tue Jan 23 22:43:51 UTC 2018 - ldun...@suse.com
+
+- Removed the "rpm/" source directory from both the
+  open-iscsi-2.0.876-suse.tar.bz2  and open-iscsi-SUSE-latest.diff.bz2
+  files, since they are not needed for building and are not part
+  of the upstream sources. They are still available under the
+  git repository at github.com/hreinecke/open-iscsi.git. This means
+  that changes to the spec file or the changes file will no longer
+  require a change to the "*SUSE-latest*" file.
+
+---
+Mon Jan 22 20:58:30 UTC 2018 - ldun...@suse.com
+
+- Update to latest upstream vesion 2.0.876, with very few
+  SUSE-specific modifications, namely around things upstream
+  does not care about, like SUSE-specific systemd files. Also,
+  version number modified to add "-suse", as usual. See
+  the Changelog file for more details on changes in this
+  upstream version.
+
+  This replaces open-iscsi-2.0.875-suse.tar.bz2 with
+  open-iscsi-2.0.876-suse.tar.bz2, and resets
+  open-iscsi-SUSE-latest.diff.bz2 to contain only changes
+  since the 2.0.876-suse tag.
+
+  These changes added a new libopeniscsiusr.so library, as
+  well as include files under a new open-iscsi-dev package,
+  if you want to link against this library.
+
+  The SPEC file was also cleaned up using spec-cleaner.
+
+---

Old:

  open-iscsi-2.0.875-suse.tar.bz2

New:

  open-iscsi-2.0.876-suse.tar.bz2



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.6PlYsv/_old  2018-01-31 19:48:24.563192574 +0100
+++ /var/tmp/diff_new_pack.6PlYsv/_new  2018-01-31 19:48:24.567192388 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package open-iscsi
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,11 +16,21 @@
 #
 
 
+%define iscsi_release 876-suse
 Name:   open-iscsi
+Version:2.0.876
+Release:0
+Summary:Linux* Open-iSCSI Software Initiator
+License:GPL-2.0+
+Group:  Productivity/Networking/Other
+Url:http://www.open-iscsi.com
+Source: %{name}-2.0.%{iscsi_release}.tar.bz2
+Patch1: %{name}-SUSE-latest.diff.bz2
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  bison
 BuildRequires:  db-devel < 5
+BuildRequires:  fdupes
 BuildRequires:  flex
 BuildRequires:  libmount-devel
 BuildRequires:  libtool
@@ -29,18 +39,8 @@
 BuildRequires:  openssl-devel
 BuildRequires:  suse-module-tools
 BuildRequires:  systemd
-Url:http://www.open-iscsi.com
-Version:2.0.875
-Release:0
-%{?systemd_requires}
-%define iscsi_release 875-suse
-Summary:Linux* Open-iSCSI Software Initiator
-License:GPL-2.0+
-Group:  Productivity/Networking/Other
 Requires(post): coreutils
-Source: %{name}-2.0.%{iscsi_release}.tar.bz2
-Patch1: %{name}-SUSE-latest.diff.bz2
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+%{?systemd_requires}
 
 %description
 Open-iSCSI is a high-performance, transport independent, multi-platform
@@ -62,10 +62,10 @@
 and a management utility iscsiadm.
 
 %package -n iscsiuio
-Summary:Linux Broadcom NetXtremem II iscsi server
-Group:  Productivity/Networking/Other
 Version:0.7.8.2
 Release:0
+Summary:Linux Broadcom NetXtremem II iscsi server
+Group:  Productivity/Networking/Other
 Requires:   logrotate
 
 %description -n iscsiuio
@@ -82,44 +82,59 @@
 The communication to the driver is done via Userspace I/O (Kernel module name
 'uio').
 
+%package devel
+Version:2.0.876
+Release:0
+Summary:Linux open-iscsi user-level library and include files
+Group:  Development/Libraries/C and C++
+Requires:   %{name}
+
+%description devel
+This development package contains the open-iscsi user-level library
+include files and documentation. These are used to compile 

commit open-iscsi for openSUSE:Factory

2017-12-19 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2017-12-19 10:48:43

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is "open-iscsi"

Tue Dec 19 10:48:43 2017 rev:67 rq:557440 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2017-12-08 
21:48:32.544090116 +0100
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2017-12-19 10:48:47.853416784 +0100
@@ -1,0 +2,6 @@
+Thu Dec 14 01:45:23 UTC 2017 - ldun...@suse.com
+
+- Fix vulnerabilities found in iscsiuio by qualsys (bsc#1072312),
+  updating: open-iscsi-SUSE-latest.diff.bz2
+
+---



Other differences:
--
++ open-iscsi-SUSE-latest.diff.bz2 ++
 3702 lines (skipped)
 between 
/work/SRC/openSUSE:Factory/open-iscsi/open-iscsi-SUSE-latest.diff.bz2
 and 
/work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi-SUSE-latest.diff.bz2




commit open-iscsi for openSUSE:Factory

2017-12-08 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2017-12-08 21:48:28

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is "open-iscsi"

Fri Dec  8 21:48:28 2017 rev:66 rq:547761 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2017-09-09 
20:24:22.956291412 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2017-12-08 21:48:32.544090116 +0100
@@ -1,0 +2,6 @@
+Sat Dec  2 22:42:53 UTC 2017 - ldun...@suse.com
+
+- Added fixes for working with latest gcc (7.2.1),
+  updating: open-iscsi-SUSE-latest.diff.bz2
+
+---



Other differences:
--
++ open-iscsi-SUSE-latest.diff.bz2 ++
 3451 lines (skipped)
 between 
/work/SRC/openSUSE:Factory/open-iscsi/open-iscsi-SUSE-latest.diff.bz2
 and 
/work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi-SUSE-latest.diff.bz2




commit open-iscsi for openSUSE:Factory

2017-09-09 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2017-09-09 20:24:19

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is "open-iscsi"

Sat Sep  9 20:24:19 2017 rev:65 rq:522096 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2017-09-04 
12:28:42.907689697 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2017-09-09 20:24:22.956291412 +0200
@@ -1,0 +2,7 @@
+Wed Sep  6 00:04:00 UTC 2017 - ldun...@suse.com
+
+- Start iscsi logins before remote filesystems (bsc#1028323),
+  updating:
+  * open-iscsi-SUSE-latest.diff.bz2
+
+---



Other differences:
--
++ open-iscsi-SUSE-latest.diff.bz2 ++
--- /var/tmp/diff_new_pack.YOV0Li/_old  2017-09-09 20:24:23.456220945 +0200
+++ /var/tmp/diff_new_pack.YOV0Li/_new  2017-09-09 20:24:23.460220382 +0200
@@ -79,6 +79,18 @@
  open-iscsi-2.0-873 - open-iscsi-2.0.874
  
  Adam Jackson (6):
+diff --git a/etc/systemd/iscsi.service b/etc/systemd/iscsi.service
+index a68b182f0d17..0edcf510b9cb 100644
+--- a/etc/systemd/iscsi.service
 b/etc/systemd/iscsi.service
+@@ -1,6 +1,7 @@
+ [Unit]
+ Description=Login and scanning of iSCSI devices
+ Documentation=man:iscsiadm(8) man:iscsid(8)
++Before=remote-fs.target
+ After=network.target network-online.target iscsid.service
+ ConditionPathExists=/etc/iscsi/initiatorname.iscsi
+ 
 diff --git a/include/iscsi_net_util.h b/include/iscsi_net_util.h
 index cbf363737291..16d48e3508e3 100644
 --- a/include/iscsi_net_util.h
@@ -120,11 +132,18 @@
  TMPDIR=
  
 diff --git a/rpm/open-iscsi.changes b/rpm/open-iscsi.changes
-index 0055538e5069..b9f8dbaedb45 100644
+index 0055538e5069..91a18aca308d 100644
 --- a/rpm/open-iscsi.changes
 +++ b/rpm/open-iscsi.changes
-@@ -1,4 +1,12 @@
+@@ -1,4 +1,19 @@
  ---
++Wed Sep  6 00:04:00 UTC 2017 - ldun...@suse.com
++
++- Start iscsi logins before remote filesystems (bsc#1028323),
++  updating:
++  * open-iscsi-SUSE-latest.diff.bz2
++
++---
 +Sat Sep 02 16:35:14 UTC 2017 - ldun...@suse.com
 +
 +- Update to latest upstream 2.0.875, with a few SUSE-only




commit open-iscsi for openSUSE:Factory

2017-09-04 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2017-09-04 12:28:42

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is "open-iscsi"

Mon Sep  4 12:28:42 2017 rev:64 rq:520364 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2017-08-12 
19:32:49.093368296 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2017-09-04 12:28:42.907689697 +0200
@@ -1,0 +2,15 @@
+Sat Sep 02 16:35:14 UTC 2017 - ldun...@suse.com
+
+- Update to latest upstream 2.0.875, with a few SUSE-only
+  modifications, replacing the 2.0.874-suse tarball with a
+  2.0.875-suse version, and resetting the SUSE-latest-diff
+  file to contain changes from 2.0.875-suse forward (bsc#1056689)
+
+---
+Mon Aug 28 13:45:52 PDT 2017 - ldun...@suse.com
+
+- Add missing coreutils dependency for initrd macros (bsc#1055492)
+  in SPEC file, which (as always) changes:
+  * open-iscsi-SUSE-latest.diff.bz2
+
++---

Old:

  open-iscsi-2.0.874-suse.tar.bz2

New:

  open-iscsi-2.0.875-suse.tar.bz2



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.PClWcB/_old  2017-09-04 12:28:43.523603102 +0200
+++ /var/tmp/diff_new_pack.PClWcB/_new  2017-09-04 12:28:43.527602540 +0200
@@ -30,13 +30,14 @@
 BuildRequires:  suse-module-tools
 BuildRequires:  systemd
 Url:http://www.open-iscsi.com
-Version:2.0.874
+Version:2.0.875
 Release:0
 %{?systemd_requires}
-%define iscsi_release 874-suse
+%define iscsi_release 875-suse
 Summary:Linux* Open-iSCSI Software Initiator
 License:GPL-2.0+
 Group:  Productivity/Networking/Other
+Requires(post): coreutils
 Source: %{name}-2.0.%{iscsi_release}.tar.bz2
 Patch1: %{name}-SUSE-latest.diff.bz2
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build

++ open-iscsi-2.0.874-suse.tar.bz2 -> open-iscsi-2.0.875-suse.tar.bz2 ++
 4588 lines of diff (skipped)

++ open-iscsi-SUSE-latest.diff.bz2 ++
 4847 lines (skipped)
 between 
/work/SRC/openSUSE:Factory/open-iscsi/open-iscsi-SUSE-latest.diff.bz2
 and 
/work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi-SUSE-latest.diff.bz2




commit open-iscsi for openSUSE:Factory

2017-08-12 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2017-08-12 19:32:47

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is "open-iscsi"

Sat Aug 12 19:32:47 2017 rev:63 rq:514132 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2017-06-07 
09:51:44.557892627 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2017-08-12 19:32:49.093368296 +0200
@@ -1,0 +2,8 @@
+Thu Jul 27 16:22:58 UTC 2017 - ldun...@suse.com
+
+- Clear errno before calling strotull in iscsiadm
+  (bsc#1029364). Note that this changes the file:
+  * open-iscsi-SUSE-latest.diff.bz2
+  which is changed each and every time this package is updated.
+
+---



Other differences:
--
++ open-iscsi-SUSE-latest.diff.bz2 ++
--- /var/tmp/diff_new_pack.HlbRcg/_old  2017-08-12 19:32:49.709281930 +0200
+++ /var/tmp/diff_new_pack.HlbRcg/_new  2017-08-12 19:32:49.725279687 +0200
@@ -3025,10 +3025,10 @@
  rm -rf $DESTDIR
  if [ "$TMPDIR" ] ; then
 diff --git a/rpm/open-iscsi.changes b/rpm/open-iscsi.changes
-index 65f4171e0bae..3af3ffc25dbc 100644
+index 65f4171e0bae..78bcd59199e2 100644
 --- a/rpm/open-iscsi.changes
 +++ b/rpm/open-iscsi.changes
-@@ -1,173 +1,275 @@
+@@ -1,173 +1,283 @@
  ---
 -Thu Nov 17 01:48:22 UTC 2016 - ldun...@suse.com
 -
@@ -3176,6 +3176,14 @@
 -
 
 -Tue Nov 25 11:43:03 PST 2014 - ldun...@suse.com
++Thu Jul 27 16:22:58 UTC 2017 - ldun...@suse.com
++
++- Clear errno before calling strotull in iscsiadm
++  (bsc#1029364). Note that this changes the file:
++  * open-iscsi-SUSE-latest.diff.bz2
++  which is changed each and every time this package is updated.
++
++---
 +Fri May 26 16:03:54 UTC 2017 - ldun...@suse.com
 +
 +- Added two iscsiuio upstream commits, for ipv6
@@ -3459,7 +3467,7 @@
  
  ---
  Tue Jul  8 16:27:39 CEST 2014 - h...@suse.de
-@@ -203,13 +305,13 @@ Wed May 28 15:26:29 CEST 2014 - h...@suse.de
+@@ -203,13 +313,13 @@ Wed May 28 15:26:29 CEST 2014 - h...@suse.de
  Fri May 2 15:07:14 2014 +0200 - h...@suse.de
  
  - iscsi_offload: do not print error messages for be2iscsi
@@ -3476,7 +3484,7 @@
  
  - Added two not-yet-upstream patches for iscsiuio/systemd activation
from Chris Leech (bnc#869567):
-@@ -218,67 +320,73 @@ Mon Apr 28 11:00:03 PDT 2014 - ldun...@suse.com
+@@ -218,67 +328,73 @@ Mon Apr 28 11:00:03 PDT 2014 - ldun...@suse.com
Updated spec file to handle install/package of new files.
  
  ---
@@ -4095,7 +4103,7 @@
  extern int iscsi_sysfs_get_host_state(char *state, int host_no);
  extern int iscsi_sysfs_get_device_state(char *state, int host_no, int target,
 diff --git a/usr/iscsiadm.c b/usr/iscsiadm.c
-index 9602f6c331ec..6c27f3e4c34d 100644
+index 9602f6c331ec..b30518a293db 100644
 --- a/usr/iscsiadm.c
 +++ b/usr/iscsiadm.c
 @@ -252,7 +252,7 @@ str_to_portal_type(char *str)
@@ -4159,7 +4167,15 @@
  
switch (disc_type) {
case DISCOVERY_TYPE_SENDTARGETS:
-@@ -3263,6 +3265,7 @@ main(int argc, char **argv)
+@@ -3086,6 +3088,7 @@ static uint64_t parse_host_info(char *optarg, int *rc)
+   *rc = ISCSI_ERR_INVAL;
+   }
+   } else {
++  errno = 0;  // ensure errors from strtoull are real
+   host_no = strtoull(optarg, NULL, 10);
+   if (errno || (host_no > MAX_HOST_NO)) {
+   if (host_no > MAX_HOST_NO)
+@@ -3263,6 +3266,7 @@ main(int argc, char **argv)
int packet_size=32, ping_count=1, ping_interval=0;
int do_discover = 0, sub_mode = -1;
int portal_type = -1;
@@ -4167,7 +4183,15 @@
struct sigaction sa_old;
struct sigaction sa_new;
struct list_head ifaces;
-@@ -3448,7 +3451,7 @@ main(int argc, char **argv)
+@@ -3413,6 +3417,7 @@ main(int argc, char **argv)
+   ISCSI_VERSION_STR);
+   return 0;
+   case 'x':
++  errno = 0;  // ensure errors from strtoull are real
+   index = strtoull(optarg, NULL, 10);
+   if (errno) {
+   log_error("Invalid index %s. %s.",
+@@ -3448,7 +3453,7 @@ main(int argc, char **argv)
}
  
if (killiscsid >= 0) {




commit open-iscsi for openSUSE:Factory

2017-06-07 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2017-06-07 09:51:43

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is "open-iscsi"

Wed Jun  7 09:51:43 2017 rev:62 rq:499820 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2017-05-04 
08:54:53.016913508 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2017-06-07 09:51:44.557892627 +0200
@@ -1,0 +2,6 @@
+Fri May 26 16:03:54 UTC 2017 - ldun...@suse.com
+
+- Added two iscsiuio upstream commits, for ipv6
+  support, and general bug fixes (bsc#1040559)
+
+---



Other differences:
--
++ open-iscsi-SUSE-latest.diff.bz2 ++
--- /var/tmp/diff_new_pack.b9KXR1/_old  2017-06-07 09:51:45.041824238 +0200
+++ /var/tmp/diff_new_pack.b9KXR1/_new  2017-06-07 09:51:45.049823107 +0200
@@ -1129,6 +1129,34 @@
  
  AM_INIT_AUTOMAKE
  AC_CONFIG_HEADER(config.h)
+diff --git a/iscsiuio/src/apps/dhcpc/dhcpv6.c 
b/iscsiuio/src/apps/dhcpc/dhcpv6.c
+index a4e25f0bdbbd..461af0ec2a11 100644
+--- a/iscsiuio/src/apps/dhcpc/dhcpv6.c
 b/iscsiuio/src/apps/dhcpc/dhcpv6.c
+@@ -153,7 +153,7 @@ static u16_t dhcpv6_init_packet(struct dhcpv6_context 
*context, u8_t type)
+   if (dhcpv6->dhcpv6_type != type)
+   context->dhcpv6_transaction_id++;
+ 
+-  dhcpv6->dhcpv6_trans_id = context->dhcpv6_transaction_id;
++  dhcpv6->dhcpv6_trans_id = HOST_TO_NET16(context->dhcpv6_transaction_id);
+   dhcpv6->dhcpv6_type = type;
+ 
+   /* Keep track of length of all DHCP options. */
+@@ -265,8 +265,13 @@ void ipv6_udp_handle_dhcp(struct dhcpv6_context *context)
+   dhcpv6 = (union dhcpv6_hdr *)((u8_t *)context->udp +
+   sizeof(struct udp_hdr));
+ 
+-  if (dhcpv6->dhcpv6_trans_id != context->dhcpv6_transaction_id)
++  if (dhcpv6->dhcpv6_trans_id !=
++  HOST_TO_NET16(context->dhcpv6_transaction_id)) {
++  LOG_ERR("DHCPv6 transaction-id error, sent %x, received %x",
++  HOST_TO_NET16(context->dhcpv6_transaction_id),
++  dhcpv6->dhcpv6_trans_id);
+   return;
++  }
+ 
+   dhcpv6_len =
+   NET_TO_HOST16(context->udp->length) - sizeof(struct udp_hdr);
 diff --git a/iscsiuio/src/unix/libs/Makefile.am 
b/iscsiuio/src/unix/libs/Makefile.am
 index 890415f5a79a..737546b04917 100644
 --- a/iscsiuio/src/unix/libs/Makefile.am
@@ -1140,8 +1168,76 @@
 -  bnx2x.c
 +  bnx2x.c \
 +  qedi.c
+diff --git a/iscsiuio/src/unix/libs/bnx2x.c b/iscsiuio/src/unix/libs/bnx2x.c
+index 19cbcecaacca..1e8f532edcdf 100644
+--- a/iscsiuio/src/unix/libs/bnx2x.c
 b/iscsiuio/src/unix/libs/bnx2x.c
+@@ -1316,7 +1316,6 @@ void bnx2x_start_xmit(nic_t *nic, size_t len, u16_t 
vlan_id)
+   if ((rx_bd->addr_hi == 0) && (rx_bd->addr_lo == 0)) {
+   LOG_PACKET(PFX "%s: trying to transmit when device is closed",
+  nic->log_name);
+-  pthread_mutex_unlock(>xmit_mutex);
+   return;
+   }
+ 
+@@ -1343,12 +1342,9 @@ void bnx2x_start_xmit(nic_t *nic, size_t len, u16_t 
vlan_id)
+  (bp->tx_bd_prod << 16));
+   bnx2x_flush_doorbell(bp, bp->tx_doorbell);
+   } else {
+-  /* If the doorbell is not rung, the packet will not
+- get sent.  Hence, the xmit_mutex lock will not
+- get freed.
+-   */
+-  pthread_mutex_unlock(>xmit_mutex);
++  LOG_ERR(PFX "Pkt transmission failed.");
+   }
++
+   LOG_PACKET(PFX "%s: sent %d bytes using bp->tx_prod: %d",
+  nic->log_name, len, bp->tx_prod);
+ }
+@@ -1412,6 +1408,8 @@ int bnx2x_write(nic_t *nic, nic_interface_t *nic_iface, 
packet_t *pkt)
+  nic->log_name, pkt->buf_size,
+  bp->tx_cons, bp->tx_prod, bp->tx_bd_prod);
+ 
++  pthread_mutex_unlock(>xmit_mutex);
++
+   return 0;
+ }
+ 
+@@ -1560,17 +1558,16 @@ static int bnx2x_clear_tx_intr(nic_t *nic)
+   hw_cons = bp->get_tx_cons(bp);
+ 
+   if (bp->tx_cons == hw_cons) {
+-  if (bp->tx_cons == bp->tx_prod) {
+-  /* Make sure the xmit_mutex lock is unlock */
+-  if (pthread_mutex_trylock(>xmit_mutex))
+-  LOG_ERR(PFX "bnx2x tx lock with prod == cons");
+-
+-  pthread_mutex_unlock(>xmit_mutex);
++  if (bp->tx_cons 

commit open-iscsi for openSUSE:Factory

2017-05-04 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2017-05-04 08:54:42

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is "open-iscsi"

Thu May  4 08:54:42 2017 rev:61 rq:491994 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2017-04-25 
08:58:12.798876701 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2017-05-04 08:54:53.016913508 +0200
@@ -1,0 +2,5 @@
+Fri Apr 28 23:13:20 UTC 2017 - ldun...@suse.com
+
+- Added support for qedi ping (bsc#1036238)
+
+---



Other differences:
--
++ open-iscsi-SUSE-latest.diff.bz2 ++
--- /var/tmp/diff_new_pack.5irFAy/_old  2017-05-04 08:54:53.724813673 +0200
+++ /var/tmp/diff_new_pack.5irFAy/_new  2017-05-04 08:54:53.736811981 +0200
@@ -2889,10 +2889,10 @@
  rm -rf $DESTDIR
  if [ "$TMPDIR" ] ; then
 diff --git a/rpm/open-iscsi.changes b/rpm/open-iscsi.changes
-index 65f4171e0bae..cdb713f7f2e5 100644
+index 65f4171e0bae..ba7ae654ab0a 100644
 --- a/rpm/open-iscsi.changes
 +++ b/rpm/open-iscsi.changes
-@@ -1,173 +1,264 @@
+@@ -1,173 +1,269 @@
  ---
 -Thu Nov 17 01:48:22 UTC 2016 - ldun...@suse.com
 -
@@ -3040,6 +3040,11 @@
 -
 
 -Tue Nov 25 11:43:03 PST 2014 - ldun...@suse.com
++Fri Apr 28 23:13:20 UTC 2017 - ldun...@suse.com
++
++- Added support for qedi ping (bsc#1036238)
++
++---
 +Mon Apr 24 15:37:32 UTC 2017 - ldun...@suse.com
 +
 +- Fixed coredump when printing session information (bsc#1035236),
@@ -3312,7 +3317,7 @@
  
  ---
  Tue Jul  8 16:27:39 CEST 2014 - h...@suse.de
-@@ -203,13 +294,13 @@ Wed May 28 15:26:29 CEST 2014 - h...@suse.de
+@@ -203,13 +299,13 @@ Wed May 28 15:26:29 CEST 2014 - h...@suse.de
  Fri May 2 15:07:14 2014 +0200 - h...@suse.de
  
  - iscsi_offload: do not print error messages for be2iscsi
@@ -3329,7 +3334,7 @@
  
  - Added two not-yet-upstream patches for iscsiuio/systemd activation
from Chris Leech (bnc#869567):
-@@ -218,67 +309,73 @@ Mon Apr 28 11:00:03 PDT 2014 - ldun...@suse.com
+@@ -218,67 +314,73 @@ Mon Apr 28 11:00:03 PDT 2014 - ldun...@suse.com
Updated spec file to handle install/package of new files.
  
  ---
@@ -4314,10 +4319,10 @@
  
  #endif
 diff --git a/usr/transport.c b/usr/transport.c
-index 18b770464608..533ba30a8846 100644
+index 18b770464608..3b7a00a2245e 100644
 --- a/usr/transport.c
 +++ b/usr/transport.c
-@@ -114,6 +114,18 @@ struct iscsi_transport_template ocs = {
+@@ -114,6 +114,19 @@ struct iscsi_transport_template ocs = {
.ep_disconnect  = ktransport_ep_disconnect,
  };
  
@@ -4331,12 +4336,13 @@
 +  .ep_poll= ktransport_ep_poll,
 +  .ep_disconnect  = ktransport_ep_disconnect,
 +  .set_net_config = uip_broadcast_params,
++  .exec_ping  = uip_broadcast_ping_req,
 +};
 +
  static struct iscsi_transport_template *iscsi_transport_templates[] = {
_tcp,
_iser,
-@@ -123,6 +135,7 @@ static struct iscsi_transport_template 
*iscsi_transport_templates[] = {
+@@ -123,6 +136,7 @@ static struct iscsi_transport_template 
*iscsi_transport_templates[] = {
,
,
,




commit open-iscsi for openSUSE:Factory

2017-04-25 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2017-04-25 08:58:10

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is "open-iscsi"

Tue Apr 25 08:58:10 2017 rev:60 rq:490791 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2017-04-12 
17:12:13.141212175 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2017-04-25 08:58:12.798876701 +0200
@@ -1,0 +2,6 @@
+Mon Apr 24 15:37:32 UTC 2017 - ldun...@suse.com
+
+- Fixed coredump when printing session information (bsc#1035236),
+  backporting commit c8e6198dca71 from upstream open-iscsi
+
+---
@@ -7 +13 @@
-  upstream.
+  upstream. (bsc#1032402/FATE#321911)



Other differences:
--
++ open-iscsi-SUSE-latest.diff.bz2 ++
--- /var/tmp/diff_new_pack.Ha8Xgw/_old  2017-04-25 08:58:13.534772646 +0200
+++ /var/tmp/diff_new_pack.Ha8Xgw/_new  2017-04-25 08:58:13.542771515 +0200
@@ -2889,10 +2889,10 @@
  rm -rf $DESTDIR
  if [ "$TMPDIR" ] ; then
 diff --git a/rpm/open-iscsi.changes b/rpm/open-iscsi.changes
-index 65f4171e0bae..2f0beb3662db 100644
+index 65f4171e0bae..cdb713f7f2e5 100644
 --- a/rpm/open-iscsi.changes
 +++ b/rpm/open-iscsi.changes
-@@ -1,173 +1,258 @@
+@@ -1,173 +1,264 @@
  ---
 -Thu Nov 17 01:48:22 UTC 2016 - ldun...@suse.com
 -
@@ -3040,12 +3040,18 @@
 -
 
 -Tue Nov 25 11:43:03 PST 2014 - ldun...@suse.com
++Mon Apr 24 15:37:32 UTC 2017 - ldun...@suse.com
++
++- Fixed coredump when printing session information (bsc#1035236),
++  backporting commit c8e6198dca71 from upstream open-iscsi
++
++---
 +Mon Apr 10 16:42:37 UTC 2017 - ldun...@suse.com
 +
 +- This is now the latest upstream open-iscsi, i.e. 2.0.874
 +  plus latest as of this date, together with SUSE-specific
 +  changes that are not yet upstream or not appropriate for
-+  upstream.
++  upstream. (bsc#1032402/FATE#321911)
 +
 +  Important changes in this update include:
 +  * qedi transport support
@@ -3306,7 +3312,7 @@
  
  ---
  Tue Jul  8 16:27:39 CEST 2014 - h...@suse.de
-@@ -203,13 +288,13 @@ Wed May 28 15:26:29 CEST 2014 - h...@suse.de
+@@ -203,13 +294,13 @@ Wed May 28 15:26:29 CEST 2014 - h...@suse.de
  Fri May 2 15:07:14 2014 +0200 - h...@suse.de
  
  - iscsi_offload: do not print error messages for be2iscsi
@@ -3323,7 +3329,7 @@
  
  - Added two not-yet-upstream patches for iscsiuio/systemd activation
from Chris Leech (bnc#869567):
-@@ -218,67 +303,73 @@ Mon Apr 28 11:00:03 PDT 2014 - ldun...@suse.com
+@@ -218,67 +309,73 @@ Mon Apr 28 11:00:03 PDT 2014 - ldun...@suse.com
Updated spec file to handle install/package of new files.
  
  ---
@@ -4226,7 +4232,7 @@
 * handle race where iscsid proc is starting up while we are
 * trying to connect.
 diff --git a/usr/session_info.c b/usr/session_info.c
-index 89422d8e3933..9dc6e25b05fb 100644
+index 89422d8e3933..f4dffa76fa78 100644
 --- a/usr/session_info.c
 +++ b/usr/session_info.c
 @@ -93,7 +93,7 @@ static int session_info_print_flat(void *data, struct 
session_info *info)
@@ -4275,13 +4281,12 @@
num_found = 1;
break;
}
-@@ -422,7 +423,8 @@ int session_info_print(int info_level, struct session_info 
*info, int do_show)
+@@ -422,7 +423,7 @@ int session_info_print(int info_level, struct session_info 
*info, int do_show)
if (err || !num_found)
break;
  
 -  session_info_print_tree(, "", flags, do_show);
-+  session_info_print_tree(, "", flags, do_show,
-+  info->iscsid_req_tmo);
++  session_info_print_tree(, "", flags, do_show, -1);
session_info_free_list();
break;
default:




commit open-iscsi for openSUSE:Factory

2017-04-12 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2017-04-12 17:12:11

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is "open-iscsi"

Wed Apr 12 17:12:11 2017 rev:59 rq:487127 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2017-04-07 
13:52:24.419103599 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2017-04-12 17:12:13.141212175 +0200
@@ -2 +2 @@
-Tue Mar 28 15:24:33 UTC 2017 - ldun...@suse.com
+Mon Apr 10 16:42:37 UTC 2017 - ldun...@suse.com
@@ -4,2 +4,6 @@
-- Merged in SUSE-specific changes from SLE branch, to
-  bring this up to date with latest upstream, including:
+- This is now the latest upstream open-iscsi, i.e. 2.0.874
+  plus latest as of this date, together with SUSE-specific
+  changes that are not yet upstream or not appropriate for
+  upstream.
+
+  Important changes in this update include:
@@ -10,2 +14,7 @@
-  Also, refactored base tar file to pre 2.0.874-suse and
-  patches file to everything after that tag.
+
+  Also, the base tar file has been refactored to
+  pre 2.0.874-suse as well as patches file for everything
+  after that tag.
+
+  Lastly, this update syncs this "Changes" file in Factory to and
+  SLE, including SLE bug and FATE numbers, for reference.
@@ -14 +23 @@
-Thu Mar  9 17:55:58 UTC 2017 - ldun...@suse.com
+Fri Nov 25 00:37:51 UTC 2016 - ldun...@suse.com
@@ -16,2 +25,2 @@
-- Updated from latest upstream patches, including
-  ability to disable auto-scans and README cleanup
+- Added two patches submitted upstream that
+  make iscsi service shutdown cleaner (bsc#952437)
@@ -20 +29 @@
-Thu Nov 17 01:48:22 UTC 2016 - ldun...@suse.com
+Sat Oct 29 01:58:17 UTC 2016 - ldun...@suse.com
@@ -22,5 +31,4 @@
-- Updated to upstream version 2.0-874, but still includes
-  (very few) SUSE-specific changes. This replaced the 2.0-873
-  tarball with a 2.0-874 tarball, but still includes the 
-  Factory-latest compressed diff patch file, though it is
-  now empty. See Changes file for functional change details.
+- Added open-isns patch to remove Discovery
+  Domain doubling when loading from file (bsc#897297),
+  adding patch:
+  * open-isns-Fix-DD-member-doubling-when-restoring-from-DB.patch
@@ -29 +37 @@
-Wed Apr 13 17:06:42 UTC 2016 - ldun...@suse.com
+Fri Oct 14 18:53:15 UTC 2016 - ldun...@suse.com
@@ -31,5 +39 @@
-- Ported 3 changes from SLE 12 that are not upstream, but
-  are needed here, as there are in SLE:
-  * Fixed systemd start of iscsi.service (bsc#897565)
-  * iscsiuio: ARP table too small when switches involve
-  * Discovery via non-tcp transport needs IPC set.
+- Stop manual sessions for iscsi service (bsc#989548)
@@ -38 +42 @@
-Thu Jan 14 23:56:07 UTC 2016 - ldun...@suse.com
+Fri May  6 15:36:03 UTC 2016 - ldun...@suse.com
@@ -40,6 +44,2 @@
-- Synced with current upstream as of today, which included 29
-  changes. Most changes were directly from upstream, but
-  some where to fix small differences that had developed
-  between our code and theirs, now fixed. As always, see
-  g...@github.com:hreinecke/open-iscsi.git, openSUSE-Factory
-  branch, for details.
+- Added patch submitted upstream that sets socket option
+  to SO_LINGER (bsc#974102)
@@ -47,29 +47,7 @@
-  Change summary:
-  * Syncing top-level files with upstream.
-  * Fixed my typo in default CFLAGS.
-  * Syncing up utils/fwparam_ibft with upstream.
-  * Adding in missing part of previous commit.
-  * iscsiuio: Get the library to use based on uio sysfs name
-  * iscsiuio: Wait for iface to be ready before issuing the ping
-  * iscsiadm: let ping be tried after iface config is initialized
-  * iscsiuio: Add ping support through iscsiuio
-  * iscsid: Changes to support ping through iscsiuio
-  * iscsiuio: Add QLogic Vendor ID to support newer NX2 HBAs
-  * iscsid: fix iscsi_host_set_net_params return code
-  * iscsid/iscsiuio: remove uio poll
-  * iscsid: make sure actor is delated before rescheduling
-  * Remove last pieces of building local open-isns.
-  * iscsi: remove local copy of open-isns
-  * Use system-wide open-isns, not internal version.
-  * Fix typo in man page.
-  * fix typo
-  * iscsiuio: Correct the handling of Multi Function mode
-  * Reformat man page synopsis sections
-  * Spelling and escaping error fixes.
-  * Remove outdated Debian packaging code.
-  * buildsys: respect CFLAGS and LDFLAGS from the outside
-  * buildsys: make 'make clean' idempotent
-  * Fix small typo in iscsid.conf
-  * Fix iBFT target flags check.
-  * Remove duplicate newlines in log messages.
-  * Kernel include path
+---
+Mon Apr 11 16:26:14 UTC 2016 - ldun...@suse.com
+
+- Update user-space open-iscsi 

commit open-iscsi for openSUSE:Factory

2017-04-07 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2017-04-07 13:52:21

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is "open-iscsi"

Fri Apr  7 13:52:21 2017 rev:58 rq:483205 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2017-03-18 
20:48:36.738353570 +0100
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2017-04-07 13:52:24.419103599 +0200
@@ -1,0 +2,12 @@
+Tue Mar 28 15:24:33 UTC 2017 - ldun...@suse.com
+
+- Merged in SUSE-specific changes from SLE branch, to
+  bring this up to date with latest upstream, including:
+  * qedi transport support
+  * README cleanup
+  * iscsiuio update
+  * shutdown cleanup
+  Also, refactored base tar file to pre 2.0.874-suse and
+  patches file to everything after that tag.
+
+---

Old:

  open-iscsi-2.0-874.tar.bz2
  open-iscsi-Factory-latest.diff.bz2

New:

  open-iscsi-2.0.874-suse.tar.bz2
  open-iscsi-SUSE-latest.diff.bz2



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.ZBuNbx/_old  2017-04-07 13:52:25.674926212 +0200
+++ /var/tmp/diff_new_pack.ZBuNbx/_new  2017-04-07 13:52:25.674926212 +0200
@@ -22,29 +22,23 @@
 BuildRequires:  bison
 BuildRequires:  db-devel < 5
 BuildRequires:  flex
+BuildRequires:  libmount-devel
 BuildRequires:  libtool
 BuildRequires:  make
 BuildRequires:  open-isns-devel
 BuildRequires:  openssl-devel
-%if 0%{?suse_version} >= 1230
-BuildRequires:  systemd
-%else
-PreReq: %fillup_prereq %insserv_prereq
-%endif
-%if 0%{?suse_version} >= 1320
 BuildRequires:  suse-module-tools
-%endif
-BuildRequires:  libmount-devel
-Url:http://www.open-iscsi.org
+BuildRequires:  systemd
+Url:http://www.open-iscsi.com
 Version:2.0.874
 Release:0
 %{?systemd_requires}
-%define iscsi_release 874
+%define iscsi_release 874-suse
 Summary:Linux* Open-iSCSI Software Initiator
 License:GPL-2.0+
 Group:  Productivity/Networking/Other
-Source: %{name}-2.0-%{iscsi_release}.tar.bz2
-Patch1: %{name}-Factory-latest.diff.bz2
+Source: %{name}-2.0.%{iscsi_release}.tar.bz2
+Patch1: %{name}-SUSE-latest.diff.bz2
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -88,7 +82,7 @@
 'uio').
 
 %prep
-%setup -n %{name}-2.0-%{iscsi_release}
+%setup -n %{name}-2.0.%{iscsi_release}
 %patch1 -p1
 
 %build
@@ -102,96 +96,48 @@
 
 %install
 make DESTDIR=${RPM_BUILD_ROOT} install_user
-%if 0%{?suse_version} < 1320
-make DESTDIR=${RPM_BUILD_ROOT} install_mkinitrd_suse
-%endif
 # install service files
-%if 0%{?suse_version} >= 1230
 make DESTDIR=${RPM_BUILD_ROOT} install_service_suse
 # create rc symlinks
 [ -d ${RPM_BUILD_ROOT}/usr/sbin ] || mkdir -p ${RPM_BUILD_ROOT}/usr/sbin
 ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rciscsi
 ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rciscsid
 ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rciscsiuio
-%else
-make DESTDIR=${RPM_BUILD_ROOT} install_initd_suse
-# rename open-iscsi service to iscsid for openSUSE
-mv ${RPM_BUILD_ROOT}/etc/init.d/boot.open-iscsi \
-   ${RPM_BUILD_ROOT}/etc/init.d/boot.iscsid-early
-mv ${RPM_BUILD_ROOT}/etc/init.d/open-iscsi \
-   ${RPM_BUILD_ROOT}/etc/init.d/iscsid
-# create rc shortcut
-[ -d ${RPM_BUILD_ROOT}/usr/sbin ] || mkdir -p ${RPM_BUILD_ROOT}/usr/sbin
-ln -sf ../../etc/init.d/iscsid ${RPM_BUILD_ROOT}/usr/sbin/rciscsid
-%endif
 (cd ${RPM_BUILD_ROOT}/etc; ln -sf iscsi/iscsid.conf iscsid.conf)
 touch ${RPM_BUILD_ROOT}/etc/iscsi/initiatorname.iscsi
 install -m 0755 usr/iscsistart %{buildroot}/sbin
 make DESTDIR=${RPM_BUILD_ROOT} -C iscsiuio install
 
 %post
-%if 0%{?suse_version} < 1320
-[ -x /sbin/mkinitrd_setup ] && mkinitrd_setup
-%else
 %{?regenerate_initrd_post}
-%endif
 if [ ! -f /etc/iscsi/initiatorname.iscsi ] ; then
 /sbin/iscsi-gen-initiatorname
 fi
-%if 0%{?suse_version} >= 1230
 %{service_add_post iscsid.socket iscsid.service iscsi.service}
-%else
-%{fillup_and_insserv -Y boot.iscsid-early}
-%endif
 
 %posttrans
-%if 0%{?suse_version} >= 1320
 %{?regenerate_initrd_posttrans}
-%endif
 
 %postun
-%if 0%{?suse_version} < 1320
-[ -x /sbin/mkinitrd_setup ] && mkinitrd_setup
-%endif
-%if 0%{?suse_version} >= 1230
 %{service_del_postun iscsid.socket iscsid.service iscsi.service}
-%else
-%{insserv_cleanup}
-%endif
 
 %pre
-%if 0%{?suse_version} >= 1230
 %{service_add_pre iscsid.socket iscsid.service iscsi.service}
-%endif
 
 %preun
-%if 0%{?suse_version} >= 1230
 %{service_del_preun iscsid.socket iscsid.service iscsi.service}

commit open-iscsi for openSUSE:Factory

2017-03-18 Thread root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2017-03-18 20:48:32

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is "open-iscsi"

Sat Mar 18 20:48:32 2017 rev:57 rq:479806 version:unknown

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2016-11-18 
21:59:57.0 +0100
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2017-03-18 20:48:36.738353570 +0100
@@ -1,0 +2,6 @@
+Thu Mar  9 17:55:58 UTC 2017 - ldun...@suse.com
+
+- Updated from latest upstream patches, including
+  ability to disable auto-scans and README cleanup
+
+---



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.NFtwpO/_old  2017-03-18 20:48:37.322270848 +0100
+++ /var/tmp/diff_new_pack.NFtwpO/_new  2017-03-18 20:48:37.322270848 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package open-iscsi
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed

++ open-iscsi-Factory-latest.diff.bz2 ++
 3414 lines (skipped)
 between 
/work/SRC/openSUSE:Factory/open-iscsi/open-iscsi-Factory-latest.diff.bz2
 and 
/work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi-Factory-latest.diff.bz2




commit open-iscsi for openSUSE:Factory

2016-11-18 Thread h_root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2016-11-18 21:59:57

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is "open-iscsi"

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2016-04-30 
23:23:20.0 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2016-11-18 21:59:57.0 +0100
@@ -1,0 +2,9 @@
+Thu Nov 17 01:48:22 UTC 2016 - ldun...@suse.com
+
+- Updated to upstream version 2.0-874, but still includes
+  (very few) SUSE-specific changes. This replaced the 2.0-873
+  tarball with a 2.0-874 tarball, but still includes the 
+  Factory-latest compressed diff patch file, though it is
+  now empty. See Changes file for functional change details.
+
+---

Old:

  open-iscsi-2.0-873.tar.bz2

New:

  open-iscsi-2.0-874.tar.bz2



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.4DUtmH/_old  2016-11-18 21:59:59.0 +0100
+++ /var/tmp/diff_new_pack.4DUtmH/_new  2016-11-18 21:59:59.0 +0100
@@ -36,10 +36,10 @@
 %endif
 BuildRequires:  libmount-devel
 Url:http://www.open-iscsi.org
-Version:2.0.873
+Version:2.0.874
 Release:0
 %{?systemd_requires}
-%define iscsi_release 873
+%define iscsi_release 874
 Summary:Linux* Open-iSCSI Software Initiator
 License:GPL-2.0+
 Group:  Productivity/Networking/Other

++ open-iscsi-2.0-873.tar.bz2 -> open-iscsi-2.0-874.tar.bz2 ++
 79098 lines of diff (skipped)

++ open-iscsi-Factory-latest.diff.bz2 ++
 78330 lines (skipped)
 between 
/work/SRC/openSUSE:Factory/open-iscsi/open-iscsi-Factory-latest.diff.bz2
 and 
/work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi-Factory-latest.diff.bz2




commit open-iscsi for openSUSE:Factory

2016-04-30 Thread h_root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2016-04-30 23:23:18

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is "open-iscsi"

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2016-01-23 
01:15:47.0 +0100
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2016-04-30 23:23:20.0 +0200
@@ -1,0 +2,9 @@
+Wed Apr 13 17:06:42 UTC 2016 - ldun...@suse.com
+
+- Ported 3 changes from SLE 12 that are not upstream, but
+  are needed here, as there are in SLE:
+  * Fixed systemd start of iscsi.service (bsc#897565)
+  * iscsiuio: ARP table too small when switches involve
+  * Discovery via non-tcp transport needs IPC set.
+
+---



Other differences:
--
++ open-iscsi-Factory-latest.diff.bz2 ++
--- /var/tmp/diff_new_pack.eWf2A4/_old  2016-04-30 23:23:21.0 +0200
+++ /var/tmp/diff_new_pack.eWf2A4/_new  2016-04-30 23:23:21.0 +0200
@@ -1480,7 +1480,7 @@
  [ "$iscsiuio_pid" ] && kill -TERM $iscsiuio_pid
 diff --git a/etc/systemd/iscsi.service b/etc/systemd/iscsi.service
 new file mode 100644
-index ..0239ef6936a5
+index ..7aa655f1f32d
 --- /dev/null
 +++ b/etc/systemd/iscsi.service
 @@ -0,0 +1,15 @@
@@ -1492,7 +1492,7 @@
 +
 +[Service]
 +Type=oneshot
-+ExecStart=/sbin/iscsiadm -m node --loginall=automatic
++ExecStart=-/sbin/iscsiadm -m node --loginall=automatic
 +ExecStop=/sbin/iscsiadm -m node --logoutall=automatic
 +SuccessExitStatus=21
 +RemainAfterExit=true
@@ -8837,7 +8837,7 @@
 +  context->flags |= IPV6_FLAGS_DISABLE_DHCPV6;
  }
 diff --git a/iscsiuio/src/uip/ipv6.h b/iscsiuio/src/uip/ipv6.h
-index 167f5f69383b..bc63762ebc55 100644
+index 167f5f69383b..35864377d9f3 100644
 --- a/iscsiuio/src/uip/ipv6.h
 +++ b/iscsiuio/src/uip/ipv6.h
 @@ -1,5 +1,6 @@
@@ -9203,7 +9203,8 @@
 +  struct ipv6_addr default_router;
 +  struct ipv6_prefix_entry *addr_list;
u8_t hop_limit;
- #define UIP_ARPTAB_SIZE 8
+-#define UIP_ARPTAB_SIZE 8
++#define UIP_ARPTAB_SIZE 16
  
struct uip_stack *ustack;
  #define MAX_MCADDR_TABLE 5
@@ -11869,7 +11870,7 @@
return 0;
  }
 diff --git a/iscsiuio/src/uip/uipopt.h b/iscsiuio/src/uip/uipopt.h
-index c91ec54c2876..946fce284926 100644
+index c91ec54c2876..bcc8949b8f16 100644
 --- a/iscsiuio/src/uip/uipopt.h
 +++ b/iscsiuio/src/uip/uipopt.h
 @@ -53,7 +53,6 @@
@@ -11898,6 +11899,15 @@
  /**
   * \name UDP configuration options
   * @{
+@@ -342,7 +341,7 @@
+ #ifdef UIP_CONF_ARPTAB_SIZE
+ #define UIP_ARPTAB_SIZE UIP_CONF_ARPTAB_SIZE
+ #else
+-#define UIP_ARPTAB_SIZE 8
++#define UIP_ARPTAB_SIZE 16
+ #endif
+ 
+ /**
 @@ -356,7 +355,7 @@
  
  /** @} */
@@ -20854,11 +20864,20 @@
  
  echo "$RPM src rpm copied to $DESTDIR"
 diff --git a/rpm/open-iscsi.changes b/rpm/open-iscsi.changes
-index 2e21afc6bc7b..ac5ff5f591f4 100644
+index 2e21afc6bc7b..140df4d6d0c5 100644
 --- a/rpm/open-iscsi.changes
 +++ b/rpm/open-iscsi.changes
-@@ -1,4 +1,467 @@
+@@ -1,4 +1,476 @@
  ---
++Wed Apr 13 17:06:42 UTC 2016 - ldun...@suse.com
++
++- Ported 3 changes from SLE 12 that are not upstream, but
++  are needed here, as there are in SLE:
++  * Fixed systemd start of iscsi.service (bsc#897565)
++  * iscsiuio: ARP table too small when switches involve
++  * Discovery via non-tcp transport needs IPC set.
++
++---
 +Thu Jan 14 23:56:07 UTC 2016 - ldun...@suse.com
 +
 +- Synced with current upstream as of today, which included 29
@@ -20900,7 +20919,7 @@
 +  * Allow setting host params to return EAGAIN errors.
 +
 +---
-+Thu Jan 07 01:39:10 UTC 16 - ldun...@suse.com
++Thu Jan 07 01:39:10 UTC 2016 - ldun...@suse.com
 +
 +- Removing creation of the open-isns RPM, since it
 +  is now created in its own package
@@ -21325,7 +21344,7 @@
  Fri Dec  9 15:09:01 CET 2011 - h...@suse.de
  
  - iscsiadm: Return correct error when login fails (bnc#715071)
-@@ -40,6 +503,11 @@ Fri Nov  4 09:15:52 CET 2011 - h...@suse.de
+@@ -40,6 +512,11 @@ Fri Nov  4 09:15:52 CET 2011 - h...@suse.de
  - Stop iscsiuio when run inside initrd (bnc#728095)
  
  ---
@@ -21337,7 +21356,7 @@
  Mon Oct 24 09:13:19 CEST 2011 - h...@suse.de
  
  - Update iscsiuio to 0.7.0.14f (bnc#687392)
-@@ -101,6 +569,11 @@ Tue Jun 21 15:09:46 CEST 2011 - h...@suse.de
+@@ -101,6 +578,11 @@ Tue Jun 21 15:09:46 CEST 2011 - h...@suse.de
  - Include scripts for 

commit open-iscsi for openSUSE:Factory

2016-01-22 Thread h_root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2016-01-23 01:15:36

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is "open-iscsi"

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2016-01-11 
19:10:07.0 +0100
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2016-01-23 01:15:47.0 +0100
@@ -2 +2,42 @@
-Thu Jan 07 01:39:10 UTC 16 - ldun...@suse.com
+Thu Jan 14 23:56:07 UTC 2016 - ldun...@suse.com
+
+- Synced with current upstream as of today, which included 29
+  changes. Most changes were directly from upstream, but
+  some where to fix small differences that had developed
+  between our code and theirs, now fixed. As always, see
+  g...@github.com:hreinecke/open-iscsi.git, openSUSE-Factory
+  branch, for details.
+  
+  Change summary:
+  * Syncing top-level files with upstream.
+  * Fixed my typo in default CFLAGS.
+  * Syncing up utils/fwparam_ibft with upstream.
+  * Adding in missing part of previous commit.
+  * iscsiuio: Get the library to use based on uio sysfs name
+  * iscsiuio: Wait for iface to be ready before issuing the ping
+  * iscsiadm: let ping be tried after iface config is initialized
+  * iscsiuio: Add ping support through iscsiuio
+  * iscsid: Changes to support ping through iscsiuio
+  * iscsiuio: Add QLogic Vendor ID to support newer NX2 HBAs
+  * iscsid: fix iscsi_host_set_net_params return code
+  * iscsid/iscsiuio: remove uio poll
+  * iscsid: make sure actor is delated before rescheduling
+  * Remove last pieces of building local open-isns.
+  * iscsi: remove local copy of open-isns
+  * Use system-wide open-isns, not internal version.
+  * Fix typo in man page.
+  * fix typo
+  * iscsiuio: Correct the handling of Multi Function mode
+  * Reformat man page synopsis sections
+  * Spelling and escaping error fixes.
+  * Remove outdated Debian packaging code.
+  * buildsys: respect CFLAGS and LDFLAGS from the outside
+  * buildsys: make 'make clean' idempotent
+  * Fix small typo in iscsid.conf
+  * Fix iBFT target flags check.
+  * Remove duplicate newlines in log messages.
+  * Kernel include path
+  * Allow setting host params to return EAGAIN errors.
+
+---
+Thu Jan 07 01:39:10 UTC 2016 - ldun...@suse.com



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.RzTmWk/_old  2016-01-23 01:15:48.0 +0100
+++ /var/tmp/diff_new_pack.RzTmWk/_new  2016-01-23 01:15:48.0 +0100
@@ -24,6 +24,7 @@
 BuildRequires:  flex
 BuildRequires:  libtool
 BuildRequires:  make
+BuildRequires:  open-isns-devel
 BuildRequires:  openssl-devel
 %if 0%{?suse_version} >= 1230
 BuildRequires:  systemd
@@ -92,7 +93,6 @@
 
 %build
 %{__make} OPTFLAGS="${RPM_OPT_FLAGS} -fno-strict-aliasing 
-DOFFLOAD_BOOT_SUPPORTED -DLOCK_DIR=\\\"/etc/iscsi\\\"" LDFLAGS="" user
-%{__make} OPTFLAGS="${RPM_OPT_FLAGS}" -C utils/open-isns programs
 cd iscsiuio
 touch NEWS
 touch AUTHORS

++ open-iscsi-Factory-latest.diff.bz2 ++
 56737 lines (skipped)
 between 
/work/SRC/openSUSE:Factory/open-iscsi/open-iscsi-Factory-latest.diff.bz2
 and 
/work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi-Factory-latest.diff.bz2




commit open-iscsi for openSUSE:Factory

2016-01-11 Thread h_root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2016-01-11 19:10:06

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is "open-iscsi"

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2015-07-05 
17:56:14.0 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2016-01-11 19:10:07.0 +0100
@@ -1,0 +2,6 @@
+Thu Jan 07 01:39:10 UTC 16 - ldun...@suse.com
+
+- Removing creation of the open-isns RPM, since it
+  is now created in its own package
+
+---

Old:

  open-iscsi-firewall.service



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.Tyb2ZA/_old  2016-01-11 19:10:08.0 +0100
+++ /var/tmp/diff_new_pack.Tyb2ZA/_new  2016-01-11 19:10:08.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package open-iscsi
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -43,7 +43,6 @@
 License:GPL-2.0+
 Group:  Productivity/Networking/Other
 Source: %{name}-2.0-%{iscsi_release}.tar.bz2
-Source1:%{name}-firewall.service
 Patch1: %{name}-Factory-latest.diff.bz2
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -66,19 +65,6 @@
 The user space Open-iSCSI consists of a daemon process called iscsid,
 and a management utility iscsiadm.
 
-%package -n open-isns
-Summary:Linux iSNS server
-Group:  Productivity/Networking/Other
-Version:0.90
-Release:0
-Obsoletes:  isns <= 2.1.02
-Provides:   isns = 2.1.03
-
-%description -n open-isns
-This is a partial implementation of iSNS, according to RFC4171.
-The implementation is still somewhat incomplete, but I am releasing
-it for your reading pleasure.
-
 %package -n iscsiuio
 Summary:Linux Broadcom NetXtremem II iscsi server
 Group:  Productivity/Networking/Other
@@ -127,7 +113,6 @@
 ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rciscsi
 ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rciscsid
 ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rciscsiuio
-ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcisnsd
 %else
 make DESTDIR=${RPM_BUILD_ROOT} install_initd_suse
 # rename open-iscsi service to iscsid for openSUSE
@@ -142,13 +127,7 @@
 (cd ${RPM_BUILD_ROOT}/etc; ln -sf iscsi/iscsid.conf iscsid.conf)
 touch ${RPM_BUILD_ROOT}/etc/iscsi/initiatorname.iscsi
 install -m 0755 usr/iscsistart %{buildroot}/sbin
-make DESTDIR=${RPM_BUILD_ROOT} -C utils/open-isns install
-%if 0%{?suse_version} >= 1230
-make DESTDIR=${RPM_BUILD_ROOT} -C utils/open-isns install_service
-%endif
 make DESTDIR=${RPM_BUILD_ROOT} -C iscsiuio install
-# install firewall file for isns server
-install -vD %{S:1} %{buildroot}/etc/sysconfig/SuSEfirewall2.d/services/isns
 
 %post
 %if 0%{?suse_version} < 1320
@@ -192,28 +171,6 @@
 %{stop_on_removal iscsid}
 %endif
 
-%post -n open-isns
-%if 0%{?suse_version} >= 1230
-%{service_add_post isnsd.socket isnsd.service}
-%endif
-
-%postun -n open-isns
-%if 0%{?suse_version} >= 1230
-%{service_del_postun isnsd.socket isnsd.service}
-%endif
-
-%pre -n open-isns
-%if 0%{?suse_version} >= 1230
-%{service_add_pre isnsd.socket isnsd.service}
-%endif
-
-%preun -n open-isns
-%if 0%{?suse_version} >= 1230
-%{service_del_preun isnsd.socket isnsd.service}
-%else
-%{stop_on_removal isnsd isnsdd}
-%endif
-
 %post -n iscsiuio
 %if 0%{?suse_version} >= 1230
 %{service_add_post iscsiuio.socket iscsiuio.service}
@@ -276,25 +233,6 @@
 %doc %{_mandir}/man8/iscsistart.8.gz
 %doc %{_mandir}/man8/iscsi-iname.8.gz
 
-%files -n open-isns
-%defattr(-,root,root)
-%dir /etc/isns
-%attr(0600,root,root) %config(noreplace) /etc/isns/isnsd.conf
-%attr(0600,root,root) %config(noreplace) /etc/isns/isnsdd.conf
-%attr(0644,root,root) %config /etc/sysconfig/SuSEfirewall2.d/services/isns
-%if 0%{?suse_version} >= 1230
-%{_unitdir}/isnsd.service
-%{_unitdir}/isnsd.socket
-%{_sbindir}/rcisnsd
-%endif
-/usr/sbin/isnsd
-/usr/sbin/isnsdd
-/usr/sbin/isnsadm
-%doc %{_mandir}/man8/isnsadm.8.gz
-%doc %{_mandir}/man8/isnsd.8.gz
-%doc %{_mandir}/man8/isnsdd.8.gz
-%doc %{_mandir}/man5/isns_config.5.gz
-
 %files -n iscsiuio
 %defattr(-,root,root)
 /sbin/iscsiuio

++ open-iscsi-Factory-latest.diff.bz2 ++
--- /var/tmp/diff_new_pack.Tyb2ZA/_old  2016-01-11 19:10:08.0 +0100
+++ /var/tmp/diff_new_pack.Tyb2ZA/_new  2016-01-11 19:10:09.0 +0100
@@ 

commit open-iscsi for openSUSE:Factory

2015-07-05 Thread h_root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2015-07-05 17:56:12

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is open-iscsi

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2015-03-27 
09:37:31.0 +0100
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2015-07-05 17:56:14.0 +0200
@@ -1,0 +2,6 @@
+Thu Jun 18 17:29:56 UTC 2015 - ldun...@suse.com
+
+- Add rcsymlinks (bnc#932814) (from mplus...@suse.com)
+  Cleaned up spec file rpmlint commplaints
+
+---



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.rkvG8Q/_old  2015-07-05 17:56:14.0 +0200
+++ /var/tmp/diff_new_pack.rkvG8Q/_new  2015-07-05 17:56:14.0 +0200
@@ -38,8 +38,6 @@
 Version:2.0.873
 Release:0
 %{?systemd_requires}
-Requires:   libmount1
-Requires:   logrotate
 %define iscsi_release 873
 Summary:Linux* Open-iSCSI Software Initiator
 License:GPL-2.0+
@@ -86,6 +84,7 @@
 Group:  Productivity/Networking/Other
 Version:0.7.8.2
 Release:0
+Requires:   logrotate
 
 %description -n iscsiuio
 This tool is to be used in conjunction with the Broadcom NetXtreme II Linux
@@ -123,6 +122,12 @@
 # install service files
 %if 0%{?suse_version} = 1230
 make DESTDIR=${RPM_BUILD_ROOT} install_service_suse
+# create rc symlinks
+[ -d ${RPM_BUILD_ROOT}/usr/sbin ] || mkdir -p ${RPM_BUILD_ROOT}/usr/sbin
+ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rciscsi
+ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rciscsid
+ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rciscsiuio
+ln -s %{_sbindir}/service %{buildroot}%{_sbindir}/rcisnsd
 %else
 make DESTDIR=${RPM_BUILD_ROOT} install_initd_suse
 # rename open-iscsi service to iscsid for openSUSE
@@ -244,11 +249,12 @@
 %{_unitdir}/iscsid.socket
 %{_unitdir}/iscsi.service
 %{_libexecdir}/systemd/system-generators/ibft-rule-generator
+%{_sbindir}/rciscsi
 %else
 %config /etc/init.d/iscsid
 %config /etc/init.d/boot.iscsid-early
-/usr/sbin/rciscsid
 %endif
+%{_sbindir}/rciscsid
 /sbin/iscsid
 /sbin/iscsiadm
 /sbin/iscsi-iname
@@ -279,6 +285,7 @@
 %if 0%{?suse_version} = 1230
 %{_unitdir}/isnsd.service
 %{_unitdir}/isnsd.socket
+%{_sbindir}/rcisnsd
 %endif
 /usr/sbin/isnsd
 /usr/sbin/isnsdd
@@ -297,6 +304,7 @@
 %if 0%{?suse_version} = 1230
 %{_unitdir}/iscsiuio.service
 %{_unitdir}/iscsiuio.socket
+%{_sbindir}/rciscsiuio
 %endif
 
 %changelog

++ open-iscsi-Factory-latest.diff.bz2 ++
--- /var/tmp/diff_new_pack.rkvG8Q/_old  2015-07-05 17:56:14.0 +0200
+++ /var/tmp/diff_new_pack.rkvG8Q/_new  2015-07-05 17:56:14.0 +0200
@@ -19120,11 +19120,17 @@
 +# space separated list of allowed UDP broadcast ports
 +BROADCAST=isns
 diff --git a/rpm/open-iscsi.changes b/rpm/open-iscsi.changes
-index 2e21afc6bc7b..71c03c092ddc 100644
+index 2e21afc6bc7b..42bace691f3b 100644
 --- a/rpm/open-iscsi.changes
 +++ b/rpm/open-iscsi.changes
-@@ -1,4 +1,414 @@
+@@ -1,4 +1,420 @@
  ---
++Thu Jun 18 17:29:56 UTC 2015 - ldun...@suse.com
++
++- Add rcsymlinks (bnc#932814) (from mplus...@suse.com)
++  Cleaned up spec file rpmlint commplaints
++
++---
 +Thu Mar 19 16:30:26 UTC 2015 - ldun...@suse.com
 +
 +- Updated to latest upstream, adding 42 patches. See
@@ -19538,7 +19544,7 @@
  Fri Dec  9 15:09:01 CET 2011 - h...@suse.de
  
  - iscsiadm: Return correct error when login fails (bnc#715071)
-@@ -40,6 +450,11 @@ Fri Nov  4 09:15:52 CET 2011 - h...@suse.de
+@@ -40,6 +456,11 @@ Fri Nov  4 09:15:52 CET 2011 - h...@suse.de
  - Stop iscsiuio when run inside initrd (bnc#728095)
  
  ---
@@ -19550,7 +19556,7 @@
  Mon Oct 24 09:13:19 CEST 2011 - h...@suse.de
  
  - Update iscsiuio to 0.7.0.14f (bnc#687392)
-@@ -101,6 +516,11 @@ Tue Jun 21 15:09:46 CEST 2011 - h...@suse.de
+@@ -101,6 +522,11 @@ Tue Jun 21 15:09:46 CEST 2011 - h...@suse.de
  - Include scripts for automated build
  
  ---
@@ -19562,7 +19568,7 @@
  Wed Feb  2 11:32:12 CET 2011 - mweckbec...@suse.de
  
  - Fix the following issues:
-@@ -224,6 +644,11 @@ Wed Nov 18 10:33:27 CET 2009 - h...@suse.de
+@@ -224,6 +650,11 @@ Wed Nov 18 10:33:27 CET 2009 - h...@suse.de
  - Read initiatorname correctly from sysfs (bnc#541882)
  
  ---
@@ -19574,7 +19580,7 @@
  

commit open-iscsi for openSUSE:Factory

2015-03-27 Thread h_root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2015-03-27 09:37:29

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is open-iscsi

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2015-03-12 
16:38:03.0 +0100
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2015-03-27 09:37:31.0 +0100
@@ -1,0 +2,49 @@
+Thu Mar 19 16:30:26 UTC 2015 - ldun...@suse.com
+
+- Updated to latest upstream, adding 42 patches. See
+  g...@github.com:hreinecke/open-iscsi.git, openSUSE-Factory
+  branch, for details:
+  * iscsid: retry login for ISCSI_ERR_HOST_NOT_FOUND
+  * iscsid: Fix double close of mgmt ipc fd
+  * iscsiadm: Initialize param_count in set_host_chap_info
+  * iscsiuio: Rebranding iscsiuio
+  * iscsiadm : make iface.ipaddress optional in iface
+  * isns: Add docs for deregistering discovery domains.
+  * iscsid: don't round up when modifying padding len
+  * Fix build warnings for unused variables
+  * Fix warning about possibly-uninitialized variable
+  * Fix bad sizeof in memset
+  * Fix missing header
+  * iscsiuio: Fix warning about non-matching types
+  * iscsiuio: Fix strict-aliasing warning with struct
+  * iscsiuio: Resolve strict aliasing issue in
+  * iscsiuio: Fix aliasing issue with
+  * iscsiuio: Use attribute(unused) for variables that are
+  * iscsiuio: Use attribute(unused) for *icmpv6_hdr
+  * iscsiuio: Change nic_disable to return void
+  * iscsiuio: Remove set but unused variables
+  * iscsiuio: Check return value from nic_queue_tx_packet
+  * Code cleanup: no functional changes
+  * Represent DHCP origin as an enum, not a string.
+  * Allow modifications for iface.gateway and
+  * actor: Mark actor_check static
+  * actor: simplify actor_check
+  * actor: s/ACTOR_TICKS/actor_jiffies/
+  * actor: Remove ACTOR_TICKS_10MS()
+  * actor: Unobfuscate ACTOR_MAX_LOOPS
+  * actor: Simplify actor_poll a little
+  * Remove actor_init and rename actor_new to actor_init
+  * Make running actors event-driven
+  * Wake up to reap children
+  * fix regression in iscsi_tcp iface binding
+  * guard against NULL ptr during discovery from unexpected
+  * add discovery as a valid mode in iscsiadm.8
+  * iscsid: fix order of setting uid/gid and drop
+  * iscsiuio CFLAGS fixes
+  * Fix incorrect list operation leading to out-of-order
+  * Prevent spinning over poll() when reconnecting to an
+  * Add some more debug logging to actor.c
+  * iscsid safe session logout
+  * iscsid: don't re-read config file for every session
+
+---



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.ILhJT8/_old  2015-03-27 09:37:32.0 +0100
+++ /var/tmp/diff_new_pack.ILhJT8/_new  2015-03-27 09:37:32.0 +0100
@@ -33,10 +33,12 @@
 %if 0%{?suse_version} = 1320
 BuildRequires:  suse-module-tools
 %endif
+BuildRequires:  libmount-devel
 Url:http://www.open-iscsi.org
 Version:2.0.873
 Release:0
 %{?systemd_requires}
+Requires:   libmount1
 Requires:   logrotate
 %define iscsi_release 873
 Summary:Linux* Open-iSCSI Software Initiator

++ open-iscsi-Factory-latest.diff.bz2 ++
 7454 lines (skipped)
 between 
/work/SRC/openSUSE:Factory/open-iscsi/open-iscsi-Factory-latest.diff.bz2
 and 
/work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi-Factory-latest.diff.bz2

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit open-iscsi for openSUSE:Factory

2015-03-12 Thread h_root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2015-03-12 16:38:02

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is open-iscsi

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2014-12-08 
16:56:03.0 +0100
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2015-03-12 16:38:03.0 +0100
@@ -1,0 +2,14 @@
+Mon Mar  9 21:29:30 UTC 2015 - ldun...@suse.com
+
+- Supply strings for newly-added error numbers
+- Allow again errors from transport in some cases
+  (bsc#903729)
+
+---
+Fri Mar  6 23:41:12 UTC 2015 - p.drou...@gmail.com
+
+- Do not depend on fillup and insserv if the package build with
+  systemd support; it's redundant
+- Remove obsolete %clean and AUTHORS sections
+
+---



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.t7uuvo/_old  2015-03-12 16:38:04.0 +0100
+++ /var/tmp/diff_new_pack.t7uuvo/_new  2015-03-12 16:38:04.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package open-iscsi
 #
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -27,12 +27,13 @@
 BuildRequires:  openssl-devel
 %if 0%{?suse_version} = 1230
 BuildRequires:  systemd
+%else
+PreReq: %fillup_prereq %insserv_prereq
 %endif
 %if 0%{?suse_version} = 1320
 BuildRequires:  suse-module-tools
 %endif
 Url:http://www.open-iscsi.org
-PreReq: %fillup_prereq %insserv_prereq
 Version:2.0.873
 Release:0
 %{?systemd_requires}
@@ -65,12 +66,6 @@
 The user space Open-iSCSI consists of a daemon process called iscsid,
 and a management utility iscsiadm.
 
-
-
-Authors:
-
-open-is...@googlegroups.com
-
 %package -n open-isns
 Summary:Linux iSNS server
 Group:  Productivity/Networking/Other
@@ -84,10 +79,6 @@
 The implementation is still somewhat incomplete, but I am releasing
 it for your reading pleasure.
 
-Authors:
-
-Olaf Kirch o...@suse.de
-
 %package -n iscsiuio
 Summary:Linux Broadcom NetXtremem II iscsi server
 Group:  Productivity/Networking/Other
@@ -108,11 +99,6 @@
 The communication to the driver is done via Userspace I/O (Kernel module name
 'uio').
 
-Authors:
-
-Eddie Wai eddie@broadcom.com
-Benjamin Li be...@broadcom.com
-
 %prep
 %setup -n %{name}-2.0-%{iscsi_release}
 %patch1 -p1
@@ -157,9 +143,6 @@
 # install firewall file for isns server
 install -vD %{S:1} %{buildroot}/etc/sysconfig/SuSEfirewall2.d/services/isns
 
-%clean
-[ ${RPM_BUILD_ROOT} != / -a -d ${RPM_BUILD_ROOT} ]  rm -rf 
${RPM_BUILD_ROOT}
-
 %post
 %if 0%{?suse_version}  1320
 [ -x /sbin/mkinitrd_setup ]  mkinitrd_setup
@@ -196,9 +179,10 @@
 %endif
 
 %preun
-%{stop_on_removal iscsid}
 %if 0%{?suse_version} = 1230
 %{service_del_preun iscsid.socket iscsid.service iscsi.service}
+%else
+%{stop_on_removal iscsid}
 %endif
 
 %post -n open-isns
@@ -217,9 +201,10 @@
 %endif
 
 %preun -n open-isns
-%{stop_on_removal isnsd isnsdd}
 %if 0%{?suse_version} = 1230
 %{service_del_preun isnsd.socket isnsd.service}
+%else
+%{stop_on_removal isnsd isnsdd}
 %endif
 
 %post -n iscsiuio
@@ -238,9 +223,10 @@
 %endif
 
 %preun -n iscsiuio
-%{stop_on_removal iscsiuio}
 %if 0%{?suse_version} = 1230
 %{service_del_preun iscsiuio.socket iscsiuio.service}
+%else
+%{stop_on_removal iscsiuio}
 %endif
 
 %files
@@ -255,7 +241,7 @@
 %{_unitdir}/iscsid.service
 %{_unitdir}/iscsid.socket
 %{_unitdir}/iscsi.service
-/usr/lib/systemd/system-generators/ibft-rule-generator
+%{_libexecdir}/systemd/system-generators/ibft-rule-generator
 %else
 %config /etc/init.d/iscsid
 %config /etc/init.d/boot.iscsid-early

++ open-iscsi-Factory-latest.diff.bz2 ++
--- /var/tmp/diff_new_pack.t7uuvo/_old  2015-03-12 16:38:04.0 +0100
+++ /var/tmp/diff_new_pack.t7uuvo/_new  2015-03-12 16:38:04.0 +0100
@@ -18783,11 +18783,31 @@
 +# space separated list of allowed UDP broadcast ports
 +BROADCAST=isns
 diff --git a/rpm/open-iscsi.changes b/rpm/open-iscsi.changes
-index 2e21afc6bc7b..770389bc724d 100644
+index 2e21afc6bc7b..7898cc51ff34 100644
 --- a/rpm/open-iscsi.changes
 +++ b/rpm/open-iscsi.changes
-@@ -1,4 +1,345 @@
+@@ -1,4 +1,365 @@
  ---
++Mon Mar  9 21:29:30 UTC 2015 - ldun...@suse.com

commit open-iscsi for openSUSE:Factory

2014-12-08 Thread h_root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2014-12-08 16:56:24

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is open-iscsi

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2014-11-29 
08:39:50.0 +0100
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2014-12-08 16:56:03.0 +0100
@@ -1,0 +2,6 @@
+Fri Dec  5 22:54:32 UTC 2014 - ldun...@suse.com
+
+- Fixed spec file to support dracut on newers versions (bsc#893578)
+- Also cleaned up spec file a bit for rpmlint
+
+---



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.I1D8PR/_old  2014-12-08 16:56:04.0 +0100
+++ /var/tmp/diff_new_pack.I1D8PR/_new  2014-12-08 16:56:04.0 +0100
@@ -28,12 +28,15 @@
 %if 0%{?suse_version} = 1230
 BuildRequires:  systemd
 %endif
+%if 0%{?suse_version} = 1320
+BuildRequires:  suse-module-tools
+%endif
 Url:http://www.open-iscsi.org
 PreReq: %fillup_prereq %insserv_prereq
 Version:2.0.873
 Release:0
 %{?systemd_requires}
-Recommends: logrotate
+Requires:   logrotate
 %define iscsi_release 873
 Summary:Linux* Open-iSCSI Software Initiator
 License:GPL-2.0+
@@ -126,7 +129,9 @@
 
 %install
 make DESTDIR=${RPM_BUILD_ROOT} install_user
+%if 0%{?suse_version}  1320
 make DESTDIR=${RPM_BUILD_ROOT} install_mkinitrd_suse
+%endif
 # install service files
 %if 0%{?suse_version} = 1230
 make DESTDIR=${RPM_BUILD_ROOT} install_service_suse
@@ -156,7 +161,11 @@
 [ ${RPM_BUILD_ROOT} != / -a -d ${RPM_BUILD_ROOT} ]  rm -rf 
${RPM_BUILD_ROOT}
 
 %post
+%if 0%{?suse_version}  1320
 [ -x /sbin/mkinitrd_setup ]  mkinitrd_setup
+%else
+%{?regenerate_initrd_post}
+%endif
 if [ ! -f /etc/iscsi/initiatorname.iscsi ] ; then
 /sbin/iscsi-gen-initiatorname
 fi
@@ -166,8 +175,15 @@
 %{fillup_and_insserv -Y boot.iscsid-early}
 %endif
 
+%posttrans
+%if 0%{?suse_version} = 1320
+%{?regenerate_initrd_posttrans}
+%endif
+
 %postun
+%if 0%{?suse_version}  1320
 [ -x /sbin/mkinitrd_setup ]  mkinitrd_setup
+%endif
 %if 0%{?suse_version} = 1230
 %{service_del_postun iscsid.socket iscsid.service iscsi.service}
 %else
@@ -192,7 +208,7 @@
 
 %postun -n open-isns
 %if 0%{?suse_version} = 1230
-%{service_add_post isnsd.socket isnsd.service}
+%{service_del_postun isnsd.socket isnsd.service}
 %endif
 
 %pre -n open-isns
@@ -213,7 +229,7 @@
 
 %postun -n iscsiuio
 %if 0%{?suse_version} = 1230
-%{service_add_post iscsiuio.socket iscsiuio.service}
+%{service_del_postun iscsiuio.socket iscsiuio.service}
 %endif
 
 %pre -n iscsiuio
@@ -252,11 +268,13 @@
 /sbin/iscsi-gen-initiatorname
 /sbin/iscsi_offload
 /sbin/iscsi_discovery
+%if 0%{?suse_version}  1320
 %dir /lib/mkinitrd
 %dir /lib/mkinitrd/scripts
 /lib/mkinitrd/scripts/setup-iscsi.sh
 /lib/mkinitrd/scripts/boot-iscsi.sh
 /lib/mkinitrd/scripts/boot-killiscsi.sh
+%endif
 %doc COPYING README
 %doc %{_mandir}/man8/iscsiadm.8.gz
 %doc %{_mandir}/man8/iscsid.8.gz

++ open-iscsi-Factory-latest.diff.bz2 ++
--- /var/tmp/diff_new_pack.I1D8PR/_old  2014-12-08 16:56:04.0 +0100
+++ /var/tmp/diff_new_pack.I1D8PR/_new  2014-12-08 16:56:04.0 +0100
@@ -19194,7 +19194,7 @@
  
  - Fix relogin retry handling (bnc#466846)
 diff --git a/rpm/open-iscsi.spec b/rpm/open-iscsi.spec
-index 27ab050554f1..1328f4a473d2 100644
+index 27ab050554f1..8fe23e7ecb2a 100644
 --- a/rpm/open-iscsi.spec
 +++ b/rpm/open-iscsi.spec
 @@ -1,7 +1,7 @@
@@ -19206,7 +19206,7 @@
  #
  # All modifications and additions to the file contributed by third parties
  # remain the property of their copyright owners, unless otherwise agreed
-@@ -15,27 +15,32 @@
+@@ -15,27 +15,35 @@
  # Please submit bugfixes or comments via http://bugs.opensuse.org/
  #
  
@@ -19226,6 +19226,9 @@
 +%if 0%{?suse_version} = 1230
 +BuildRequires:  systemd
 +%endif
++%if 0%{?suse_version} = 1320
++BuildRequires:  suse-module-tools
++%endif
  Url:http://www.open-iscsi.org
 -License:GPL v2 or later
 -Group:  Productivity/Networking/Other
@@ -19235,11 +19238,12 @@
 -Release:0.RELEASE26
 -Provides:   linux-iscsi
 -Obsoletes:  linux-iscsi
+-Recommends: logrotate
+-%define iscsi_release 872
 +Version:2.0.873
 +Release:0
 +%{?systemd_requires}
- Recommends: logrotate
--%define iscsi_release 872
++Requires:   logrotate
 +%define iscsi_release 873
  Summary:Linux* Open-iSCSI Software Initiator
 +License:GPL-2.0+
@@ -19253,7 +19257,7 @@
  BuildRoot:  %{_tmppath}/%{name}-%{version}-build
  
 

commit open-iscsi for openSUSE:Factory

2014-11-28 Thread h_root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2014-11-29 08:39:48

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is open-iscsi

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2014-11-05 
16:26:32.0 +0100
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2014-11-29 08:39:50.0 +0100
@@ -1,0 +2,11 @@
+Tue Nov 25 13:44:28 PST 2014 - ldun...@suse.com
+
+- Fixed spec file: db-devel  5, to fix SLE 12 and SP3 builds
+
+---
+Tue Nov 25 11:43:03 PST 2014 - ldun...@suse.com
+
+- Fix isns server to allow legal registration sequence,
+  including portal group (bsc#905670)
+
+---



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.mHGYcc/_old  2014-11-29 08:39:51.0 +0100
+++ /var/tmp/diff_new_pack.mHGYcc/_new  2014-11-29 08:39:51.0 +0100
@@ -20,7 +20,7 @@
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  bison
-BuildRequires:  db-devel
+BuildRequires:  db-devel  5
 BuildRequires:  flex
 BuildRequires:  libtool
 BuildRequires:  make

++ open-iscsi-Factory-latest.diff.bz2 ++
--- /var/tmp/diff_new_pack.mHGYcc/_old  2014-11-29 08:39:51.0 +0100
+++ /var/tmp/diff_new_pack.mHGYcc/_new  2014-11-29 08:39:51.0 +0100
@@ -18783,11 +18783,22 @@
 +# space separated list of allowed UDP broadcast ports
 +BROADCAST=isns
 diff --git a/rpm/open-iscsi.changes b/rpm/open-iscsi.changes
-index 2e21afc6bc7b..6296fee051cd 100644
+index 2e21afc6bc7b..770389bc724d 100644
 --- a/rpm/open-iscsi.changes
 +++ b/rpm/open-iscsi.changes
-@@ -1,4 +1,334 @@
+@@ -1,4 +1,345 @@
  ---
++Tue Nov 25 13:44:28 PST 2014 - ldun...@suse.com
++
++- Fixed spec file: db-devel  5, to fix SLE 12 and SP3 builds
++
++---
++Tue Nov 25 11:43:03 PST 2014 - ldun...@suse.com
++
++- Fix isns server to allow legal registration sequence,
++  including portal group (bsc#905670)
++
++---
 +Tue Oct 28 09:56:55 PDT 2014 - ldun...@suse.com
 +
 +- Added fix from Hannes to properly boot all iBFT cards,
@@ -19121,7 +19132,7 @@
  Fri Dec  9 15:09:01 CET 2011 - h...@suse.de
  
  - iscsiadm: Return correct error when login fails (bnc#715071)
-@@ -40,6 +370,11 @@ Fri Nov  4 09:15:52 CET 2011 - h...@suse.de
+@@ -40,6 +381,11 @@ Fri Nov  4 09:15:52 CET 2011 - h...@suse.de
  - Stop iscsiuio when run inside initrd (bnc#728095)
  
  ---
@@ -19133,7 +19144,7 @@
  Mon Oct 24 09:13:19 CEST 2011 - h...@suse.de
  
  - Update iscsiuio to 0.7.0.14f (bnc#687392)
-@@ -101,6 +436,11 @@ Tue Jun 21 15:09:46 CEST 2011 - h...@suse.de
+@@ -101,6 +447,11 @@ Tue Jun 21 15:09:46 CEST 2011 - h...@suse.de
  - Include scripts for automated build
  
  ---
@@ -19145,7 +19156,7 @@
  Wed Feb  2 11:32:12 CET 2011 - mweckbec...@suse.de
  
  - Fix the following issues:
-@@ -224,6 +564,11 @@ Wed Nov 18 10:33:27 CET 2009 - h...@suse.de
+@@ -224,6 +575,11 @@ Wed Nov 18 10:33:27 CET 2009 - h...@suse.de
  - Read initiatorname correctly from sysfs (bnc#541882)
  
  ---
@@ -19157,7 +19168,7 @@
  Wed Aug 19 12:58:13 CEST 2009 - h...@suse.de
  
  - Synchronize startup settings (bnc#514273)
-@@ -231,11 +576,24 @@ Wed Aug 19 12:58:13 CEST 2009 - h...@suse.de
+@@ -231,11 +587,24 @@ Wed Aug 19 12:58:13 CEST 2009 - h...@suse.de
  - Do not use temp file in iscsi_discovery (bnc#528711)
  
  ---
@@ -19183,7 +19194,7 @@
  
  - Fix relogin retry handling (bnc#466846)
 diff --git a/rpm/open-iscsi.spec b/rpm/open-iscsi.spec
-index 27ab050554f1..64ea3ba11202 100644
+index 27ab050554f1..1328f4a473d2 100644
 --- a/rpm/open-iscsi.spec
 +++ b/rpm/open-iscsi.spec
 @@ -1,7 +1,7 @@
@@ -19207,7 +19218,7 @@
 +BuildRequires:  autoconf
 +BuildRequires:  automake
 +BuildRequires:  bison
-+BuildRequires:  db-devel
++BuildRequires:  db-devel  5
 +BuildRequires:  flex
 +BuildRequires:  libtool
 +BuildRequires:  make
@@ -30088,7 +30099,7 @@
  #include util.h
  #include security.h
 diff --git a/utils/open-isns/simple.c b/utils/open-isns/simple.c
-index 1af89fd6fec1..e560d63288ac 100644
+index 1af89fd6fec1..8972a0c858bc 100644
 --- a/utils/open-isns/simple.c
 +++ 

commit open-iscsi for openSUSE:Factory

2014-11-05 Thread h_root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2014-11-05 16:26:30

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is open-iscsi

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2014-10-01 
11:21:55.0 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2014-11-05 16:26:32.0 +0100
@@ -1,0 +2,6 @@
+Tue Oct 28 09:56:55 PDT 2014 - ldun...@suse.com
+
+- Added fix from Hannes to properly boot all iBFT cards,
+  fixing previous update (bnc#902183)
+
+---



Other differences:
--
++ open-iscsi-Factory-latest.diff.bz2 ++
--- /var/tmp/diff_new_pack.3LGsUD/_old  2014-11-05 16:26:33.0 +0100
+++ /var/tmp/diff_new_pack.3LGsUD/_new  2014-11-05 16:26:33.0 +0100
@@ -18575,10 +18575,10 @@
  
  /**
 diff --git a/rpm/build_rpm b/rpm/build_rpm
-index cbfd1003897a..3210d4ab2a55 100755
+index cbfd1003897a..f4858a97a2e2 100755
 --- a/rpm/build_rpm
 +++ b/rpm/build_rpm
-@@ -1,67 +1,76 @@
+@@ -1,73 +1,80 @@
  #!/bin/bash
  #
 -# Build an open-iscsi source rpm 
@@ -18593,7 +18593,7 @@
  RPM=open-iscsi
 -BRANCH=sles11-sp2
 -VERSION=2.0-872
-+BRANCH=openSUSE-Factory
++BRANCH=$(git rev-parse --abbrev-ref HEAD)
 +VERSION=2.0-873
 +PATCH1_END_TAG=HEAD
  DESTDIR=
@@ -18682,7 +18682,13 @@
  ;;
  esac
  done
-@@ -82,7 +91,10 @@ if [ -d $DESTDIR ] ; then
+ 
+-RELEASE=$(sed -n 's/.* iscsi_release *\(.*\)/\1/p' rpm/$RPM.spec)
+-
+ if ! which git  /dev/null ; then
+ echo git not found, cannot continue
+ exit 1
+@@ -82,7 +89,10 @@ if [ -d $DESTDIR ] ; then
  echo Cannot remove directory $DESTDIR
  exit 1
  fi
@@ -18693,7 +18699,7 @@
  else
  DESTDIR=$(mktemp -d --tmpdir $RPM-)
  if [ ! -d $DESTDIR ] ; then
-@@ -102,21 +114,32 @@ if [ -n $use_osc ] ; then
+@@ -102,21 +112,32 @@ if [ -n $use_osc ] ; then
  popd
  fi
  
@@ -18736,7 +18742,7 @@
  if (( $uncommitted_changes )) ; then
  echo WARNING: Including uncommitted changes for testing. 2
  echo  Don't submit the package to Autobuild! 2
-@@ -124,10 +147,12 @@ if (( $uncommitted_changes )) ; then
+@@ -124,10 +145,12 @@ if (( $uncommitted_changes )) ; then
  patchname=$RPM-$(date -u +%Y-%M-%d_%T_%Z).diff
  git diff $BRANCH  $DESTDIR/$patchname
  
@@ -18777,11 +18783,17 @@
 +# space separated list of allowed UDP broadcast ports
 +BROADCAST=isns
 diff --git a/rpm/open-iscsi.changes b/rpm/open-iscsi.changes
-index 2e21afc6bc7b..84c81f2b5b1e 100644
+index 2e21afc6bc7b..6296fee051cd 100644
 --- a/rpm/open-iscsi.changes
 +++ b/rpm/open-iscsi.changes
-@@ -1,4 +1,328 @@
+@@ -1,4 +1,334 @@
  ---
++Tue Oct 28 09:56:55 PDT 2014 - ldun...@suse.com
++
++- Added fix from Hannes to properly boot all iBFT cards,
++  fixing previous update (bnc#902183)
++
++---
 +Tue Sep 23 14:09:33 PDT 2014 - ldun...@suse.com
 +
 +- Added fix from hannes to fixup IPv6 iBFT interface
@@ -19109,7 +19121,7 @@
  Fri Dec  9 15:09:01 CET 2011 - h...@suse.de
  
  - iscsiadm: Return correct error when login fails (bnc#715071)
-@@ -40,6 +364,11 @@ Fri Nov  4 09:15:52 CET 2011 - h...@suse.de
+@@ -40,6 +370,11 @@ Fri Nov  4 09:15:52 CET 2011 - h...@suse.de
  - Stop iscsiuio when run inside initrd (bnc#728095)
  
  ---
@@ -19121,7 +19133,7 @@
  Mon Oct 24 09:13:19 CEST 2011 - h...@suse.de
  
  - Update iscsiuio to 0.7.0.14f (bnc#687392)
-@@ -101,6 +430,11 @@ Tue Jun 21 15:09:46 CEST 2011 - h...@suse.de
+@@ -101,6 +436,11 @@ Tue Jun 21 15:09:46 CEST 2011 - h...@suse.de
  - Include scripts for automated build
  
  ---
@@ -19133,7 +19145,7 @@
  Wed Feb  2 11:32:12 CET 2011 - mweckbec...@suse.de
  
  - Fix the following issues:
-@@ -224,6 +558,11 @@ Wed Nov 18 10:33:27 CET 2009 - h...@suse.de
+@@ -224,6 +564,11 @@ Wed Nov 18 10:33:27 CET 2009 - h...@suse.de
  - Read initiatorname correctly from sysfs (bnc#541882)
  
  ---
@@ -19145,7 +19157,7 @@
  Wed Aug 19 12:58:13 CEST 2009 - h...@suse.de
  
  - Synchronize startup settings (bnc#514273)
-@@ -231,11 +570,24 @@ Wed Aug 19 12:58:13 CEST 2009 - h...@suse.de
+@@ -231,11 +576,24 @@ Wed Aug 19 12:58:13 CEST 2009 - h...@suse.de
  - Do not use temp file in iscsi_discovery (bnc#528711)
  
  ---
@@ 

commit open-iscsi for openSUSE:Factory

2014-10-01 Thread h_root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2014-10-01 11:21:53

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is open-iscsi

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2014-07-28 
06:31:23.0 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2014-10-01 11:21:55.0 +0200
@@ -1,0 +2,9 @@
+Tue Sep 23 14:09:33 PDT 2014 - ldun...@suse.com
+
+- Added fix from hannes to fixup IPv6 iBFT interface
+  description
+- Also cherry-picked commit fro sle12 from hannes:
+  Allow modifications for iface.gateway and iface.subnet_mask,
+  needed for today's fix
+
+---



Other differences:
--
++ open-iscsi-Factory-latest.diff.bz2 ++
 669 lines (skipped)
 between 
/work/SRC/openSUSE:Factory/open-iscsi/open-iscsi-Factory-latest.diff.bz2
 and 
/work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi-Factory-latest.diff.bz2

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit open-iscsi for openSUSE:Factory

2014-07-27 Thread h_root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2014-07-28 06:31:18

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is open-iscsi

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2014-07-13 
14:05:47.0 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2014-07-28 06:31:23.0 +0200
@@ -1,0 +2,5 @@
+Fri Jul 25 10:03:00 PDT 2014 - ldun...@suse.com
+
+- Fixed spec file to stop correct service on iscsiuio removal
+
+---



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.AmcwPA/_old  2014-07-28 06:31:25.0 +0200
+++ /var/tmp/diff_new_pack.AmcwPA/_new  2014-07-28 06:31:25.0 +0200
@@ -222,7 +222,7 @@
 %endif
 
 %preun -n iscsiuio
-%{stop_on_removal isnsd isnsdd}
+%{stop_on_removal iscsiuio}
 %if 0%{?suse_version} = 1230
 %{service_del_preun iscsiuio.socket iscsiuio.service}
 %endif

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit open-iscsi for openSUSE:Factory

2014-07-13 Thread h_root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2014-07-13 14:05:46

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is open-iscsi

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2014-06-16 
21:43:37.0 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2014-07-13 14:05:47.0 +0200
@@ -1,0 +2,7 @@
+Tue Jul  8 16:27:39 CEST 2014 - h...@suse.de
+
+- Remove unused variable 'path'
+- Parse 'origin' value from iBFT
+- iscsi_offload: fix detection of bnx2i (bnc#886198)
+
+---



Other differences:
--
++ open-iscsi-Factory-latest.diff.bz2 ++
--- /var/tmp/diff_new_pack.VWthj6/_old  2014-07-13 14:05:48.0 +0200
+++ /var/tmp/diff_new_pack.VWthj6/_new  2014-07-13 14:05:48.0 +0200
@@ -898,7 +898,7 @@
 +[Install]
 +WantedBy=sockets.target
 diff --git a/include/fw_context.h b/include/fw_context.h
-index 1640859b475f..6563d6883b09 100644
+index 1640859b475f..295b54d3d0c9 100644
 --- a/include/fw_context.h
 +++ b/include/fw_context.h
 @@ -30,6 +30,9 @@
@@ -911,6 +911,14 @@
  
/* target settings */
int target_port;
+@@ -45,6 +48,7 @@ struct boot_context {
+   char initiatorname[TARGET_NAME_MAXLEN + 1];
+ 
+   /* network settings */
++  char origin[2];
+   char dhcp[NI_MAXHOST];
+   char iface[IF_NAMESIZE];
+   char mac[18];
 diff --git a/include/iscsi_err.h b/include/iscsi_err.h
 index aabea4ea8011..125f443a2f25 100644
 --- a/include/iscsi_err.h
@@ -18764,11 +18772,18 @@
 +# space separated list of allowed UDP broadcast ports
 +BROADCAST=isns
 diff --git a/rpm/open-iscsi.changes b/rpm/open-iscsi.changes
-index 2e21afc6bc7b..900c2fc1f44e 100644
+index 2e21afc6bc7b..32b0cce7a799 100644
 --- a/rpm/open-iscsi.changes
 +++ b/rpm/open-iscsi.changes
-@@ -1,4 +1,307 @@
+@@ -1,4 +1,314 @@
  ---
++Tue Jul  8 16:27:39 CEST 2014 - h...@suse.de
++
++- Remove unused variable 'path'
++- Parse 'origin' value from iBFT
++- iscsi_offload: fix detection of bnx2i (bnc#886198)
++
++---
 +Fri Jun  6 16:49:19 CEST 2014 - h...@suse.de
 +
 +- Valgrind fixes for iscsiuio (bnc#881692)
@@ -19075,7 +19090,7 @@
  Fri Dec  9 15:09:01 CET 2011 - h...@suse.de
  
  - iscsiadm: Return correct error when login fails (bnc#715071)
-@@ -40,6 +343,11 @@ Fri Nov  4 09:15:52 CET 2011 - h...@suse.de
+@@ -40,6 +350,11 @@ Fri Nov  4 09:15:52 CET 2011 - h...@suse.de
  - Stop iscsiuio when run inside initrd (bnc#728095)
  
  ---
@@ -19087,7 +19102,7 @@
  Mon Oct 24 09:13:19 CEST 2011 - h...@suse.de
  
  - Update iscsiuio to 0.7.0.14f (bnc#687392)
-@@ -101,6 +409,11 @@ Tue Jun 21 15:09:46 CEST 2011 - h...@suse.de
+@@ -101,6 +416,11 @@ Tue Jun 21 15:09:46 CEST 2011 - h...@suse.de
  - Include scripts for automated build
  
  ---
@@ -19099,7 +19114,7 @@
  Wed Feb  2 11:32:12 CET 2011 - mweckbec...@suse.de
  
  - Fix the following issues:
-@@ -224,6 +537,11 @@ Wed Nov 18 10:33:27 CET 2009 - h...@suse.de
+@@ -224,6 +544,11 @@ Wed Nov 18 10:33:27 CET 2009 - h...@suse.de
  - Read initiatorname correctly from sysfs (bnc#541882)
  
  ---
@@ -19111,7 +19126,7 @@
  Wed Aug 19 12:58:13 CEST 2009 - h...@suse.de
  
  - Synchronize startup settings (bnc#514273)
-@@ -231,11 +549,24 @@ Wed Aug 19 12:58:13 CEST 2009 - h...@suse.de
+@@ -231,11 +556,24 @@ Wed Aug 19 12:58:13 CEST 2009 - h...@suse.de
  - Do not use temp file in iscsi_discovery (bnc#528711)
  
  ---
@@ -26727,6 +26742,26 @@
return 1;
return 0;
  }
+diff --git a/usr/sysfs.c b/usr/sysfs.c
+index 7f31c1ada0a4..d00c9255661d 100644
+--- a/usr/sysfs.c
 b/usr/sysfs.c
+@@ -671,7 +671,6 @@ int sysfs_set_param(char *id, char *subsys, char 
*attr_name,
+   char devpath[PATH_SIZE];
+   size_t sysfs_len;
+   char path_full[PATH_SIZE];
+-  const char *path;
+   int rc = 0, fd;
+ 
+   if (!sysfs_lookup_devpath_by_subsys_id(devpath, sizeof(devpath),
+@@ -684,7 +683,6 @@ int sysfs_set_param(char *id, char *subsys, char 
*attr_name,
+   sysfs_len = strlcpy(path_full, sysfs_path, sizeof(path_full));
+   if(sysfs_len = sizeof(path_full))
+   sysfs_len = sizeof(path_full) - 1;
+-  path = path_full[sysfs_len];
+   

commit open-iscsi for openSUSE:Factory

2014-06-16 Thread h_root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2014-06-16 21:42:58

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is open-iscsi

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2014-06-05 
10:49:51.0 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2014-06-16 21:43:37.0 +0200
@@ -1,0 +2,11 @@
+Fri Jun  6 16:49:19 CEST 2014 - h...@suse.de
+
+- Valgrind fixes for iscsiuio (bnc#881692)
+
+---
+Wed Jun  4 09:58:53 PDT 2014 - ldun...@suse.com
+
+- Added firewall service file for isns server (bnc#880305),
+  adding file: open-iscsi-firewall.service
+
+---

New:

  open-iscsi-firewall.service



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.T1MvUO/_old  2014-06-16 21:43:38.0 +0200
+++ /var/tmp/diff_new_pack.T1MvUO/_new  2014-06-16 21:43:38.0 +0200
@@ -39,6 +39,7 @@
 License:GPL-2.0+
 Group:  Productivity/Networking/Other
 Source: %{name}-2.0-%{iscsi_release}.tar.bz2
+Source1:%{name}-firewall.service
 Patch1: %{name}-Factory-latest.diff.bz2
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
@@ -148,6 +149,8 @@
 make DESTDIR=${RPM_BUILD_ROOT} -C utils/open-isns install_service
 %endif
 make DESTDIR=${RPM_BUILD_ROOT} -C iscsiuio install
+# install firewall file for isns server
+install -vD %{S:1} %{buildroot}/etc/sysconfig/SuSEfirewall2.d/services/isns
 
 %clean
 [ ${RPM_BUILD_ROOT} != / -a -d ${RPM_BUILD_ROOT} ]  rm -rf 
${RPM_BUILD_ROOT}
@@ -266,6 +269,7 @@
 %dir /etc/isns
 %attr(0600,root,root) %config(noreplace) /etc/isns/isnsd.conf
 %attr(0600,root,root) %config(noreplace) /etc/isns/isnsdd.conf
+%attr(0644,root,root) %config /etc/sysconfig/SuSEfirewall2.d/services/isns
 %if 0%{?suse_version} = 1230
 %{_unitdir}/isnsd.service
 %{_unitdir}/isnsd.socket

++ open-iscsi-Factory-latest.diff.bz2 ++
 1732 lines (skipped)
 between 
/work/SRC/openSUSE:Factory/open-iscsi/open-iscsi-Factory-latest.diff.bz2
 and 
/work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi-Factory-latest.diff.bz2

++ open-iscsi-firewall.service ++
## Name: iSNS iSCSI Name Server Daemon
## Description: Opens ports for iSNS Name Server Daemon with broadcast allowed.

# space separated list of allowed TCP ports
TCP=isns

# space separated list of allowed UDP ports
UDP=isns

# space separated list of allowed RPC services
RPC=

# space separated list of allowed IP protocols
IP=

# space separated list of allowed UDP broadcast ports
BROADCAST=isns
-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit open-iscsi for openSUSE:Factory

2014-06-05 Thread h_root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2014-06-05 10:49:49

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is open-iscsi

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2014-05-02 
20:52:19.0 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2014-06-05 10:49:51.0 +0200
@@ -1,0 +2,21 @@
+Fri May 30 11:50:36 CEST 2014 - h...@suse.de
+
+- Install ibft-rule-generator (bnc#880336)
+
+---
+Wed May 28 15:26:29 CEST 2014 - h...@suse.de
+
+- iscsi.service: do not logout from all sessions during shutdown
+  (bnc#880338)
+- iscsid.service: Fixup dependencies (bnc#880338)
+
+---
+Fri May 2 15:07:14 2014 +0200 - h...@suse.de
+
+- iscsi_offload: do not print error messages for be2iscsi
+
+  be2iscsi HBAs display the firmware settings in
+  /sys/firmware/iscsi_boot1 and only provide a subset
+  of the iBFT settings (bnc#876137)
+
+---



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.OivHZv/_old  2014-06-05 10:49:52.0 +0200
+++ /var/tmp/diff_new_pack.OivHZv/_new  2014-06-05 10:49:52.0 +0200
@@ -236,6 +236,7 @@
 %{_unitdir}/iscsid.service
 %{_unitdir}/iscsid.socket
 %{_unitdir}/iscsi.service
+/usr/lib/systemd/system-generators/ibft-rule-generator
 %else
 %config /etc/init.d/iscsid
 %config /etc/init.d/boot.iscsid-early

++ open-iscsi-Factory-latest.diff.bz2 ++
--- /var/tmp/diff_new_pack.OivHZv/_old  2014-06-05 10:49:52.0 +0200
+++ /var/tmp/diff_new_pack.OivHZv/_new  2014-06-05 10:49:52.0 +0200
@@ -12,14 +12,14 @@
   of this license document, but changing it is not allowed.
  
 diff --git a/Makefile b/Makefile
-index 36ebd2d1be13..961048a1d62e 100644
+index 36ebd2d1be13..cf813d51f451 100644
 --- a/Makefile
 +++ b/Makefile
 @@ -14,10 +14,11 @@ mandir = $(prefix)/share/man
  etcdir = /etc
  initddir = $(etcdir)/init.d
  mkinitrd = $(exec_prefix)/lib/mkinitrd/scripts
-+systemddir = $(prefix)/lib/systemd/system
++systemddir = $(prefix)/lib/systemd
  
 -MANPAGES = doc/iscsid.8 doc/iscsiadm.8 doc/iscsi_discovery.8
 -PROGRAMS = usr/iscsid usr/iscsiadm utils/iscsi_discovery utils/iscsi-iname
@@ -98,23 +98,26 @@
$(INSTALL) -d $(DESTDIR)$(mkinitrd)
$(INSTALL) -m 755 etc/mkinitrd/mkinitrd-boot.sh \
$(DESTDIR)$(mkinitrd)/boot-iscsi.sh
-@@ -120,12 +133,26 @@ install_initd_debian:
+@@ -120,12 +133,29 @@ install_initd_debian:
$(INSTALL) -m 755 etc/initd/initd.debian \
$(DESTDIR)$(initddir)/open-iscsi
  
 +# install systemd service files for openSUSE
 +install_service_suse:
-+  $(INSTALL) -d $(DESTDIR)$(systemddir)
++  $(INSTALL) -d $(DESTDIR)$(systemddir)/system
 +  $(INSTALL) -m 644 etc/systemd/iscsid.service \
-+  $(DESTDIR)$(systemddir)
++  $(DESTDIR)$(systemddir)/system
 +  $(INSTALL) -m 644 etc/systemd/iscsid.socket \
-+  $(DESTDIR)$(systemddir)
++  $(DESTDIR)$(systemddir)/system
 +  $(INSTALL) -m 644 etc/systemd/iscsi.service \
-+  $(DESTDIR)$(systemddir)
++  $(DESTDIR)$(systemddir)/system
 +  $(INSTALL) -m 644 etc/systemd/iscsiuio.service \
-+  $(DESTDIR)$(systemddir)
++  $(DESTDIR)$(systemddir)/system
 +  $(INSTALL) -m 644 etc/systemd/iscsiuio.socket \
-+  $(DESTDIR)$(systemddir)
++  $(DESTDIR)$(systemddir)/system
++  $(INSTALL) -d $(DESTDIR)$(systemddir)/system-generators
++  $(INSTALL) -m 755 utils/ibft-rule-generator \
++  $(DESTDIR)$(systemddir)/system-generators
 +
  install_iface: $(IFACEFILES)
$(INSTALL) -d $(DESTDIR)$(etcdir)/iscsi/ifaces
@@ -126,7 +129,7 @@
$(INSTALL) -d $(DESTDIR)$(etcdir)/iscsi ; \
$(INSTALL) -m 644 $^ $(DESTDIR)$(etcdir)/iscsi ; \
fi
-@@ -138,11 +165,11 @@ install_kernel:
+@@ -138,11 +168,11 @@ install_kernel:
$(MAKE) -C kernel install_kernel
  
  install_iname:
@@ -801,7 +804,7 @@
  [ $iscsiuio_pid ]  kill -TERM $iscsiuio_pid
 diff --git a/etc/systemd/iscsi.service b/etc/systemd/iscsi.service
 new file mode 100644
-index ..54fd8159ad56
+index ..0239ef6936a5
 --- /dev/null
 +++ b/etc/systemd/iscsi.service
 @@ -0,0 +1,15 @@
@@ -814,7 +817,7 @@
 +[Service]
 +Type=oneshot
 +ExecStart=/sbin/iscsiadm -m node --loginall=automatic
-+ExecStop=/sbin/iscsiadm -m session --logout
++ExecStop=/sbin/iscsiadm 

commit open-iscsi for openSUSE:Factory

2014-05-02 Thread h_root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2014-05-02 20:52:17

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is open-iscsi

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2014-03-21 
12:13:50.0 +0100
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2014-05-02 20:52:19.0 +0200
@@ -1,0 +2,51 @@
+Mon Apr 28 11:00:03 PDT 2014 - ldun...@suse.com
+
+- Added two not-yet-upstream patches for iscsiuio/systemd activation
+  from Chris Leech (bnc#869567):
+iscsiuio-systemd-socket-activation-support.patch
+iscsiuio-systemd-unit-files.patch
+  Updated spec file to handle install/package of new files.
+
+---
+Mon Apr 28 10:59:09 PDT 2014 - ldun...@suse.com
+
+- Added an upstream patch from Mike Christie (bnc#869356):
+  iscsi-tools-set-non-negotiated-params-early
+
+---
+Mon Apr 28 10:52:58 PDT 2014 - micha...@cs.wisc.edu
+
+   iscsid: Fix handling of iscsi async events.
+
+   When iscsi targets send 32 or more iscsi async event pdus the
+   initiator will run out of memory for events and this message:
+
+   BUG: iscsid: Can not allocate memory for receive context.
+
+   will be logged non stop. iscsid will then not be able to
+   complate any more requests because it is stuck in a endless loop
+   printing that message.
+
+   This fixes the problem by having iscsid handle an event after it
+   has read it in from netlink or the mgmt ipc. Previously we would
+   queue all events then handle them.
+
+---
+Mon Apr 28 10:51:35 PDT 2014 - ldun...@suse.com
+
+- Updated systemd unit files (bnc#847953)
+- Split iscsiuio out as separate package
+   (part of bnc#858972)
+
+---
+Mon Apr 28 10:29:26 PDT 2014 - ldun...@suse.com
+
+- Ported Hannes' open-isns changes fro SLE12, setting up
+  open-isns as a separate sub-package and integrating it
+  with open-iscsi
+- Updated Factory to match latest upstream code base,
+  including changse to open-iscsi and iscsiuio. These changes
+  include bug fixes as well as systemd integration for
+  open-iscsi.
+
+---



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.7WtjM9/_old  2014-05-02 20:52:20.0 +0200
+++ /var/tmp/diff_new_pack.7WtjM9/_new  2014-05-02 20:52:20.0 +0200
@@ -17,9 +17,13 @@
 
 
 Name:   open-iscsi
+BuildRequires:  autoconf
+BuildRequires:  automake
 BuildRequires:  bison
 BuildRequires:  db-devel
 BuildRequires:  flex
+BuildRequires:  libtool
+BuildRequires:  make
 BuildRequires:  openssl-devel
 %if 0%{?suse_version} = 1230
 BuildRequires:  systemd
@@ -29,8 +33,7 @@
 Version:2.0.873
 Release:0
 %{?systemd_requires}
-Provides:   linux-iscsi
-Obsoletes:  linux-iscsi
+Recommends: logrotate
 %define iscsi_release 873
 Summary:Linux* Open-iSCSI Software Initiator
 License:GPL-2.0+
@@ -64,12 +67,61 @@
 
 open-is...@googlegroups.com
 
+%package -n open-isns
+Summary:Linux iSNS server
+Group:  Productivity/Networking/Other
+Version:0.90
+Release:0
+Obsoletes:  isns = 2.1.02
+Provides:   isns = 2.1.03
+
+%description -n open-isns
+This is a partial implementation of iSNS, according to RFC4171.
+The implementation is still somewhat incomplete, but I am releasing
+it for your reading pleasure.
+
+Authors:
+
+Olaf Kirch o...@suse.de
+
+%package -n iscsiuio
+Summary:Linux Broadcom NetXtremem II iscsi server
+Group:  Productivity/Networking/Other
+Version:0.7.8.2
+Release:0
+
+%description -n iscsiuio
+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
+Broadcom Network Controllers:
+  bnx2:  BCM5706, BCM5708, BCM5709 devices
+  bnx2x: BCM57710, BCM57711, BCM57711E, BCM57712, BCM57712E,
+ 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
+'uio').
+
+Authors:
+
+Eddie Wai eddie@broadcom.com
+Benjamin Li be...@broadcom.com
+
 %prep
 %setup -n 

commit open-iscsi for openSUSE:Factory

2014-03-21 Thread h_root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2014-03-21 12:13:49

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is open-iscsi

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2014-01-29 
13:08:59.0 +0100
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2014-03-21 12:13:50.0 +0100
@@ -1,0 +2,5 @@
+Mon Mar 10 10:45:43 PDT 2014 - ldun...@suse.com
+
+- Cleaned up systemd unit files and spec entries (bnc#847953)
+
+---



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.EOlxp8/_old  2014-03-21 12:13:50.0 +0100
+++ /var/tmp/diff_new_pack.EOlxp8/_new  2014-03-21 12:13:50.0 +0100
@@ -134,9 +134,9 @@
 %config /etc/iscsi/ifaces/iface.example
 /etc/iscsid.conf
 %if 0%{?suse_version} = 1230
-%config %{_unitdir}/iscsid.service
+%{_unitdir}/iscsid.service
 %{_unitdir}/iscsid.socket
-%config %{_unitdir}/iscsi.service
+%{_unitdir}/iscsi.service
 %else
 %config /etc/init.d/iscsid
 %config /etc/init.d/boot.iscsid-early

++ open-iscsi-Factory-latest.diff.bz2 ++
--- /var/tmp/diff_new_pack.EOlxp8/_old  2014-03-21 12:13:50.0 +0100
+++ /var/tmp/diff_new_pack.EOlxp8/_new  2014-03-21 12:13:51.0 +0100
@@ -708,20 +708,19 @@
  [ $iscsiuio_pid ]  kill -TERM $iscsiuio_pid
 diff --git a/etc/systemd/iscsi.service b/etc/systemd/iscsi.service
 new file mode 100644
-index ..664d3aa6100f
+index ..54fd8159ad56
 --- /dev/null
 +++ b/etc/systemd/iscsi.service
-@@ -0,0 +1,16 @@
+@@ -0,0 +1,15 @@
 +[Unit]
 +Description=Login and scanning of iSCSI devices
 +Documentation=man:iscsiadm(8) man:iscsid(8)
-+After=network.target NetworkManager-wait-online.service iscsid.service
++After=network.target network-online.target iscsid.service
 +ConditionPathExists=/etc/iscsi/initiatorname.iscsi
 +
 +[Service]
 +Type=oneshot
 +ExecStart=/sbin/iscsiadm -m node --loginall=automatic
-+ExecStop=/bin/sync
 +ExecStop=/sbin/iscsiadm -m session --logout
 +SuccessExitStatus=21
 +RemainAfterExit=true
@@ -730,14 +729,14 @@
 +WantedBy=remote-fs.target
 diff --git a/etc/systemd/iscsid.service b/etc/systemd/iscsid.service
 new file mode 100644
-index ..127e56a70572
+index ..24ecd5e51a16
 --- /dev/null
 +++ b/etc/systemd/iscsid.service
-@@ -0,0 +1,12 @@
+@@ -0,0 +1,13 @@
 +[Unit]
 +Description=Open-iSCSI
 +Documentation=man:iscsid(8) man:iscsiadm(8)
-+After=network.target NetworkManager-wait-online.service tgtd.service 
targetcli.service
++After=network.target network-online.target tgtd.service targetcli.service
 +
 +[Service]
 +Type=forking
@@ -746,6 +745,7 @@
 +
 +[Install]
 +WantedBy=multi-user.target
++Also=iscsid.socket
 diff --git a/etc/systemd/iscsid.socket b/etc/systemd/iscsid.socket
 new file mode 100644
 index ..58a8d1239996
@@ -15255,10 +15255,6 @@
   */
  
  /**
-diff --git a/rpm/.build_rpm.swp b/rpm/.build_rpm.swp
-new file mode 100644
-index ..cfc43160085f
-Binary files /dev/null and b/rpm/.build_rpm.swp differ
 diff --git a/rpm/build_rpm b/rpm/build_rpm
 index cbfd1003897a..effb5494b649 100755
 --- a/rpm/build_rpm
@@ -15436,11 +15432,16 @@
  
  echo $RPM src rpm copied to $DESTDIR
 diff --git a/rpm/open-iscsi.changes b/rpm/open-iscsi.changes
-index 2e21afc6bc7b..8072355bb50b 100644
+index 2e21afc6bc7b..ed7944b1b218 100644
 --- a/rpm/open-iscsi.changes
 +++ b/rpm/open-iscsi.changes
-@@ -1,4 +1,219 @@
+@@ -1,4 +1,224 @@
  ---
++Mon Mar 10 10:45:43 PDT 2014 - ldun...@suse.com
++
++- Cleaned up systemd unit files and spec entries (bnc#847953)
++
++---
 +Tue Jan 28 11:40:16 PST 2014 - ldun...@suse.com
 +
 +- Replaced 8 patches with one, to clean up. Added patch:
@@ -15659,7 +15660,7 @@
  Fri Dec  9 15:09:01 CET 2011 - h...@suse.de
  
  - iscsiadm: Return correct error when login fails (bnc#715071)
-@@ -40,6 +255,11 @@ Fri Nov  4 09:15:52 CET 2011 - h...@suse.de
+@@ -40,6 +260,11 @@ Fri Nov  4 09:15:52 CET 2011 - h...@suse.de
  - Stop iscsiuio when run inside initrd (bnc#728095)
  
  ---
@@ -15671,7 +15672,7 @@
  Mon Oct 24 09:13:19 CEST 2011 - h...@suse.de
  
  - Update iscsiuio to 0.7.0.14f (bnc#687392)
-@@ -101,6 +321,11 @@ Tue Jun 21 15:09:46 CEST 2011 - h...@suse.de
+@@ -101,6 +326,11 @@ Tue Jun 21 15:09:46 CEST 2011 - h...@suse.de
  - Include scripts for automated build
  
  

commit open-iscsi for openSUSE:Factory

2014-01-29 Thread h_root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2014-01-29 13:08:58

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is open-iscsi

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2014-01-13 
12:03:27.0 +0100
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2014-01-29 13:08:59.0 +0100
@@ -1,0 +2,16 @@
+Tue Jan 28 11:40:16 PST 2014 - ldun...@suse.com
+
+- Replaced 8 patches with one, to clean up. Added patch:
+   open-iscsi-Factory-latest.diff.bz2
+  Removed patches:
+   open-iscsi-openSUSE-12.3-first-merge.diff.bz2
+   open-iscsi-openSUSE-Factory-first-merge.diff.bz2
+   open-iscsi-openSUSE-Factory-qla4xxx-patches.diff.bz2
+   open-iscsi-sles11-sp2-latest.diff.bz2
+   open-iscsi-sles11-sp2-update.diff.bz2
+   open-iscsi-sles11-sp3-flash-update.diff.bz2
+   open-iscsi-sles11-sp3-general-updates-1.diff.bz2
+   open-iscsi-sles11-sp3-iscsiuio-update.diff.bz2
+  No functional changes.
+
+---

Old:

  open-iscsi-openSUSE-12.3-first-merge.diff.bz2
  open-iscsi-openSUSE-Factory-first-merge.diff.bz2
  open-iscsi-openSUSE-Factory-qla4xxx-patches.diff.bz2
  open-iscsi-sles11-sp2-latest.diff.bz2
  open-iscsi-sles11-sp2-update.diff.bz2
  open-iscsi-sles11-sp3-flash-update.diff.bz2
  open-iscsi-sles11-sp3-general-updates-1.diff.bz2
  open-iscsi-sles11-sp3-iscsiuio-update.diff.bz2

New:

  open-iscsi-Factory-latest.diff.bz2



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.BI2Clr/_old  2014-01-29 13:09:00.0 +0100
+++ /var/tmp/diff_new_pack.BI2Clr/_new  2014-01-29 13:09:00.0 +0100
@@ -36,14 +36,7 @@
 License:GPL-2.0+
 Group:  Productivity/Networking/Other
 Source: %{name}-2.0-%{iscsi_release}.tar.bz2
-Patch1: %{name}-sles11-sp2-update.diff.bz2
-Patch2: %{name}-sles11-sp2-latest.diff.bz2
-Patch3: %{name}-sles11-sp3-iscsiuio-update.diff.bz2
-Patch4: %{name}-sles11-sp3-flash-update.diff.bz2
-Patch5: %{name}-sles11-sp3-general-updates-1.diff.bz2
-Patch6: %{name}-openSUSE-12.3-first-merge.diff.bz2
-Patch7: %{name}-openSUSE-Factory-first-merge.diff.bz2
-Patch8: %{name}-openSUSE-Factory-qla4xxx-patches.diff.bz2
+Patch1: %{name}-Factory-latest.diff.bz2
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -74,13 +67,6 @@
 %prep
 %setup -n %{name}-2.0-%{iscsi_release}
 %patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch5 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8 -p1
 
 %build
 %{__make} OPTFLAGS=${RPM_OPT_FLAGS} -fno-strict-aliasing 
-DLOCK_DIR=\\\/etc/iscsi\\\ user

++ open-iscsi-Factory-latest.diff.bz2 ++
 22374 lines (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit open-iscsi for openSUSE:Factory

2014-01-13 Thread h_root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2014-01-13 12:03:26

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is open-iscsi

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2013-12-13 
14:55:08.0 +0100
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2014-01-13 12:03:27.0 +0100
@@ -1,0 +2,30 @@
+Thu Jan  9 10:11:32 PST 2014 - ldun...@suse.com
+
+- Added open-iscsi-openSUSE-Factory-qla4xxx-patches.diff.bz2, with
+  the following changes from QLogic (bnc#855859):
+  iscsiadm.8: Updated man page for host statistics.
+  README: Updated for host statistics.
+  iscsi_tool: Add offload host statistics support.
+  iscsiadm: Added document for description of iface attributes
+  iscsi tools: Show iface params based on iface type
+  iscsi tools: Let default type of iface be ipv4
+  iscsi tools: iface params should be updated for node_rec as well.
+  iscsi tools: Additional parameters for network settings
+  iscsi tools: Ignore network parameter if not enabled/disabled
+  iscsi tools: Use single function to set integer network parameters
+  iscsi tools: Use single function to enable/disable network parameters
+  iscsi tools: Use macro to set IPv4/IPv6 IP addresses
+  iscsi_if.h: Additional parameters for network param settings
+  iscsi_if.h: Remove numbers used for network parameter settings
+  iscsi tools: Setup iface conf file with all iface attrs exported in sysfs
+  README changes for adding support to set CHAP entry
+  iscsi tools: Correctly get username_in and password_in flashnode params
+  iscsiadm: Add support to set CHAP entry using host chap mode
+  README changes to use long option --index instead of --flashnode_idx
+  iscsiadm: Man page changes to use -x option for chap_tbl_idx
+  iscsiadm: Use '-x' option instead of '-v' to specify chap_tbl_idx
+  flashnode: Add support to set ISCSI_FLASHNODE_CHAP_OUT_IDX param
+  iscsi tools: Print additional session info for flashnode session
+  iscsiadm: Correctly check for invalid hostno and flashnode index
+
+---

New:

  open-iscsi-openSUSE-Factory-qla4xxx-patches.diff.bz2



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.l6DiSO/_old  2014-01-13 12:03:28.0 +0100
+++ /var/tmp/diff_new_pack.l6DiSO/_new  2014-01-13 12:03:28.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package open-iscsi
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -43,6 +43,7 @@
 Patch5: %{name}-sles11-sp3-general-updates-1.diff.bz2
 Patch6: %{name}-openSUSE-12.3-first-merge.diff.bz2
 Patch7: %{name}-openSUSE-Factory-first-merge.diff.bz2
+Patch8: %{name}-openSUSE-Factory-qla4xxx-patches.diff.bz2
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -79,6 +80,7 @@
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
 
 %build
 %{__make} OPTFLAGS=${RPM_OPT_FLAGS} -fno-strict-aliasing 
-DLOCK_DIR=\\\/etc/iscsi\\\ user

++ open-iscsi-openSUSE-Factory-qla4xxx-patches.diff.bz2 ++
 4295 lines (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit open-iscsi for openSUSE:Factory

2013-12-13 Thread h_root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2013-12-13 14:55:07

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is open-iscsi

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2013-12-03 
14:26:44.0 +0100
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2013-12-13 14:55:08.0 +0100
@@ -1,0 +2,7 @@
+Wed Dec 11 17:40:51 PST 2013 - ldun...@suse.com
+
+- Fixed mkinitrd setup to not scan /etc/fstab
+ (bnc#826700), changing:
+  open-iscsi-openSUSE-Factory-first-merge.diff.bz2
+
+---



Other differences:
--
++ open-iscsi-openSUSE-Factory-first-merge.diff.bz2 ++
--- /var/tmp/diff_new_pack.9IbHNL/_old  2013-12-13 14:55:08.0 +0100
+++ /var/tmp/diff_new_pack.9IbHNL/_new  2013-12-13 14:55:08.0 +0100
@@ -88,6 +88,51 @@
  /sbin/iscsid -n
  
  if [ -d /sys/firmware/ibft/initiator ] ; then
+diff --git a/etc/mkinitrd/mkinitrd-setup.sh b/etc/mkinitrd/mkinitrd-setup.sh
+index ae35ca7970f7..47e36c0c3617 100644
+--- a/etc/mkinitrd/mkinitrd-setup.sh
 b/etc/mkinitrd/mkinitrd-setup.sh
+@@ -48,6 +48,7 @@ function check_iscsi()
+ }
+ 
+ 
++# perform sanity checks on an iSCSI device (given a sysfs path)
+ check_for_node_onboot()
+ {
+ local ip=$1 startup target
+@@ -86,7 +87,7 @@ check_for_node_onboot()
+ if [[ ${startup} != onboot ]] ; then
+   [[ -z ${startup} ]]  return # No parameter - either iBFT or 
not iSCSI: return
+ 
+-  ## Note: could set onboot ourselves here, but that seems heavy-handed
++  ## Note: not sure this warning is useful any longer, but leave in for 
now
+   echo 2 Warning: iSCSI device ${devname} is using 
'node.conn[0].startup = ${startup}'
+   echo 2  System may not be bootable with this setting,
+   echo 2  need to be set to 'onboot' instead, using:
+@@ -106,20 +107,9 @@ for bd in $blockdev ; do
+ check_iscsi $bd  root_iscsi=1
+ done
+ 
+-# Are any of the defined file partitions to be mounted at system boot
+-# attached to iSCSI devices? In case they are, ensure:
+-# (1) the iSCSI gets included in initrd, and
+-# (2) the iSCSI sessions have been configured with
+-# node.conn[0].startup = onboot.
+-if [[ -z ${root_iscsi} ]] ; then
+-for bd in $(awk '/^[[:space:]]*(\/dev\/|(LABEL|UUID)=)/ { print $1 }' 
/etc/fstab) ; do
+-  bd=${bd/LABEL=//dev/disk/by-label/}
+-  bd=${bd/UUID=//dev/disk/by-uuid/}
+-  update_blockdev $bd
+-  check_iscsi $bd  root_iscsi=1
+-done
+-fi
+-
++# No need to check for non-root volumes listed in fstab here, since
++# we will assume that the user has set onboot for any volumes
++# they wish mounted at this time
+ 
+ # Include the iSCSI stack, when at least one active iSCSI session has
+ # been configured with node.conn[0].startup = onboot, even if it was
 diff --git a/etc/mkinitrd/mkinitrd-stop.sh b/etc/mkinitrd/mkinitrd-stop.sh
 index 393a410971a3..a099c60eb86d 100644
 --- a/etc/mkinitrd/mkinitrd-stop.sh
@@ -207,11 +252,18 @@
  # and patch them into the spec file as Patch$NEXT_PATCH
  if (( $uncommitted_changes )) ; then
 diff --git a/rpm/open-iscsi.changes b/rpm/open-iscsi.changes
-index 35da303d2e0c..324c2a2f9bda 100644
+index 35da303d2e0c..53685c7dfcf9 100644
 --- a/rpm/open-iscsi.changes
 +++ b/rpm/open-iscsi.changes
-@@ -1,4 +1,93 @@
+@@ -1,4 +1,100 @@
  ---
++Wed Dec 11 17:40:51 PST 2013 - ldun...@suse.com
++
++- Fixed mkinitrd setup to not scan /etc/fstab
++ (bnc#826700), changing:
++  open-iscsi-openSUSE-Factory-first-merge.diff.bz2
++
++---
 +Mon Dec  2 14:46:25 PST 2013 - ldun...@suse.com
 +
 +- Dropped this patch from OBS; moved to github repostiory:
@@ -304,7 +356,7 @@
  Wed Jun  5 15:53:34 PDT 2013 - ldun...@suse.com
  
  - check return from nice() correctly (bnc#807936)
-@@ -35,6 +124,14 @@ Fri Apr  5 11:04:21 PDT 2013 - ldun...@suse.com
+@@ -35,6 +131,14 @@ Fri Apr  5 11:04:21 PDT 2013 - ldun...@suse.com
flash (bnc#810208)
  
  ---
@@ -319,7 +371,7 @@
  Mon Mar 11 15:20:47 PDT 2013 - ldun...@suse.com
  
  - Updated iscsiuio to latest (bnc#769125)
-@@ -105,6 +202,11 @@ Fri Nov  4 09:15:52 CET 2011 - h...@suse.de
+@@ -105,6 +209,11 @@ Fri Nov  4 09:15:52 CET 2011 - h...@suse.de
  - Stop iscsiuio when run inside initrd (bnc#728095)
  
  ---
@@ -331,7 +383,7 @@
  Mon Oct 24 09:13:19 CEST 2011 - 

commit open-iscsi for openSUSE:Factory

2013-12-03 Thread h_root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2013-12-03 14:26:43

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is open-iscsi

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2013-11-17 
20:20:10.0 +0100
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2013-12-03 14:26:44.0 +0100
@@ -1,0 +2,20 @@
+Mon Dec  2 14:46:25 PST 2013 - ldun...@suse.com
+
+- Dropped this patch from OBS; moved to github repostiory:
+  open-iscsi-2.0-873.patch
+
+  The following patches updated to use new linux git
+  requirements for longer hash values in patches, but not
+  functionally changed:
+  open-iscsi-openSUSE-12.3-first-merge.diff.bz2
+  open-iscsi-sles11-sp2-latest.diff.bz2
+  open-iscsi-sles11-sp2-update.diff.bz2
+  open-iscsi-sles11-sp3-flash-update.diff.bz2
+  open-iscsi-sles11-sp3-general-updates-1.diff.bz2
+  open-iscsi-sles11-sp3-iscsiuio-update.diff.bz2
+
+  This patch was also changed to absorb changes from
+  open-iscsi-2.0-873.patch:
+  open-iscsi-openSUSE-Factory-first-merge.diff.bz2
+
+---

Old:

  open-iscsi-2.0-873.patch



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.zEDIFO/_old  2013-12-03 14:26:45.0 +0100
+++ /var/tmp/diff_new_pack.zEDIFO/_new  2013-12-03 14:26:45.0 +0100
@@ -43,7 +43,6 @@
 Patch5: %{name}-sles11-sp3-general-updates-1.diff.bz2
 Patch6: %{name}-openSUSE-12.3-first-merge.diff.bz2
 Patch7: %{name}-openSUSE-Factory-first-merge.diff.bz2
-Patch10:open-iscsi-2.0-873.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -80,7 +79,6 @@
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
-%patch10 -p1
 
 %build
 %{__make} OPTFLAGS=${RPM_OPT_FLAGS} -fno-strict-aliasing 
-DLOCK_DIR=\\\/etc/iscsi\\\ user

++ open-iscsi-openSUSE-12.3-first-merge.diff.bz2 ++
--- /var/tmp/diff_new_pack.zEDIFO/_old  2013-12-03 14:26:45.0 +0100
+++ /var/tmp/diff_new_pack.zEDIFO/_new  2013-12-03 14:26:45.0 +0100
@@ -1,5 +1,5 @@
 diff --git a/etc/initd/initd.suse b/etc/initd/initd.suse
-index 6f4e2c3..9090138 100644
+index 6f4e2c3e541c..9090138a7238 100644
 --- a/etc/initd/initd.suse
 +++ b/etc/initd/initd.suse
 @@ -5,9 +5,9 @@
@@ -60,7 +60,7 @@
RETVAL=1
fi
 diff --git a/etc/mkinitrd/mkinitrd-setup.sh b/etc/mkinitrd/mkinitrd-setup.sh
-index a3dc8f1..ae35ca7 100644
+index a3dc8f1a531f..ae35ca7970f7 100644
 --- a/etc/mkinitrd/mkinitrd-setup.sh
 +++ b/etc/mkinitrd/mkinitrd-setup.sh
 @@ -23,7 +23,7 @@ function check_iscsi()
@@ -205,7 +205,7 @@
  # In case target port was not defined via command line, assign default 
port
  save_var TargetPort 3260
 diff --git a/include/iscsi_err.h b/include/iscsi_err.h
-index aabea4e..de54497 100644
+index aabea4ea8011..de5449727799 100644
 --- a/include/iscsi_err.h
 +++ b/include/iscsi_err.h
 @@ -62,6 +62,8 @@ enum {
@@ -218,7 +218,7 @@
/* Always last. Indicates end of error code space */
ISCSI_MAX_ERR_VAL,
 diff --git a/rpm/build_rpm b/rpm/build_rpm
-index 02d770c..773f00e 100755
+index 02d770c9e18f..773f00e6bd70 100755
 --- a/rpm/build_rpm
 +++ b/rpm/build_rpm
 @@ -9,14 +9,15 @@
@@ -264,7 +264,7 @@
  # and patch them into the spec file as Patch$NEXT_PATCH
  if (( $uncommitted_changes )) ; then
 diff --git a/rpm/open-iscsi.changes b/rpm/open-iscsi.changes
-index 6450133..35da303 100644
+index 64501332aa08..35da303d2e0c 100644
 --- a/rpm/open-iscsi.changes
 +++ b/rpm/open-iscsi.changes
 @@ -1,4 +1,17 @@
@@ -286,7 +286,7 @@
  
  - Adds support to be able to use isns discovery and
 diff --git a/rpm/open-iscsi.spec b/rpm/open-iscsi.spec
-index c321684..b08b688 100644
+index c3216844b489..b08b6884e731 100644
 --- a/rpm/open-iscsi.spec
 +++ b/rpm/open-iscsi.spec
 @@ -15,21 +15,20 @@
@@ -392,7 +392,7 @@
  %dir /lib/mkinitrd/scripts
  /lib/mkinitrd/scripts/setup-iscsi.sh
 diff --git a/usr/Makefile b/usr/Makefile
-index 86220f1..8125b55 100644
+index 86220f1a4c75..8125b55e220e 100644
 --- a/usr/Makefile
 +++ b/usr/Makefile
 @@ -61,7 +61,7 @@ iscsiadm: $(ISCSI_LIB_SRCS) $(DISCOVERY_SRCS) iscsiadm.o 
session_mgmt.o
@@ -405,7 +405,7 @@
rm -f *.o $(PROGRAMS) .depend $(LIBSYS)
  
 diff --git a/usr/iscsi_util.c b/usr/iscsi_util.c
-index adc31a4..22491c4 100644
+index adc31a46537e..22491c44bc43 100644
 --- a/usr/iscsi_util.c
 +++ b/usr/iscsi_util.c
 @@ -31,6 +31,7 @@
@@ -426,7 +426,7 @@
  strerror(errno));
  
 diff --git a/usr/iscsiadm.c b/usr/iscsiadm.c
-index 84d5a27..5030894 100644
+index 

commit open-iscsi for openSUSE:Factory

2013-11-17 Thread h_root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2013-11-17 20:20:08

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is open-iscsi

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2013-10-08 
11:03:36.0 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2013-11-17 20:20:10.0 +0100
@@ -1,0 +2,5 @@
+Thu Nov 14 22:59:40 UTC 2013 - crrodrig...@opensuse.org
+
+- install the iscsistart utility which is required by dracut 
+
+---



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.NU38YD/_old  2013-11-17 20:20:10.0 +0100
+++ /var/tmp/diff_new_pack.NU38YD/_new  2013-11-17 20:20:10.0 +0100
@@ -104,6 +104,7 @@
 %endif
 (cd ${RPM_BUILD_ROOT}/etc; ln -sf iscsi/iscsid.conf iscsid.conf)
 touch ${RPM_BUILD_ROOT}/etc/iscsi/initiatorname.iscsi
+install -m 0755 usr/iscsistart %{buildroot}/sbin
 
 %clean
 [ ${RPM_BUILD_ROOT} != / -a -d ${RPM_BUILD_ROOT} ]  rm -rf 
${RPM_BUILD_ROOT}

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit open-iscsi for openSUSE:Factory

2013-10-08 Thread h_root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2013-10-08 11:03:35

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is open-iscsi

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2013-07-18 
16:07:21.0 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2013-10-08 11:03:36.0 +0200
@@ -1,0 +2,13 @@
+Fri Oct  4 16:07:47 CEST 2013 - oher...@suse.de
+
+- Remove usage of iscsiuio from mkinitrd scripts
+- Add programs tags to mkinitrd scripts
+  open-iscsi-2.0-873.patch
+
+---
+Fri Sep 27 14:23:10 PDT 2013 - ldun...@suse.com
+
+- add support for systemd integration (bnc#827654)
+  open-iscsi-openSUSE-Factory-first-merge.diff.bz2
+
+---

Old:

  Week

New:

  open-iscsi-2.0-873.patch
  open-iscsi-openSUSE-Factory-first-merge.diff.bz2



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.GPvkMk/_old  2013-10-08 11:03:37.0 +0200
+++ /var/tmp/diff_new_pack.GPvkMk/_new  2013-10-08 11:03:37.0 +0200
@@ -21,10 +21,14 @@
 BuildRequires:  db-devel
 BuildRequires:  flex
 BuildRequires:  openssl-devel
+%if 0%{?suse_version} = 1230
+BuildRequires:  systemd
+%endif
 Url:http://www.open-iscsi.org
 PreReq: %fillup_prereq %insserv_prereq
 Version:2.0.873
 Release:0
+%{?systemd_requires}
 Provides:   linux-iscsi
 Obsoletes:  linux-iscsi
 %define iscsi_release 873
@@ -38,6 +42,8 @@
 Patch4: %{name}-sles11-sp3-flash-update.diff.bz2
 Patch5: %{name}-sles11-sp3-general-updates-1.diff.bz2
 Patch6: %{name}-openSUSE-12.3-first-merge.diff.bz2
+Patch7: %{name}-openSUSE-Factory-first-merge.diff.bz2
+Patch10:open-iscsi-2.0-873.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -73,12 +79,19 @@
 %patch4 -p1
 %patch5 -p1
 %patch6 -p1
+%patch7 -p1
+%patch10 -p1
 
 %build
 %{__make} OPTFLAGS=${RPM_OPT_FLAGS} -fno-strict-aliasing 
-DLOCK_DIR=\\\/etc/iscsi\\\ user
 
 %install
 make DESTDIR=${RPM_BUILD_ROOT} install_user
+make DESTDIR=${RPM_BUILD_ROOT} install_mkinitrd_suse
+# install service files
+%if 0%{?suse_version} = 1230
+make DESTDIR=${RPM_BUILD_ROOT} install_service_suse
+%else
 make DESTDIR=${RPM_BUILD_ROOT} install_initd_suse
 # rename open-iscsi service to iscsid for openSUSE
 mv ${RPM_BUILD_ROOT}/etc/init.d/boot.open-iscsi \
@@ -88,6 +101,7 @@
 # create rc shortcut
 [ -d ${RPM_BUILD_ROOT}/usr/sbin ] || mkdir -p ${RPM_BUILD_ROOT}/usr/sbin
 ln -sf ../../etc/init.d/iscsid ${RPM_BUILD_ROOT}/usr/sbin/rciscsid
+%endif
 (cd ${RPM_BUILD_ROOT}/etc; ln -sf iscsi/iscsid.conf iscsid.conf)
 touch ${RPM_BUILD_ROOT}/etc/iscsi/initiatorname.iscsi
 
@@ -96,17 +110,33 @@
 
 %post
 [ -x /sbin/mkinitrd_setup ]  mkinitrd_setup
-%{fillup_and_insserv -y boot.iscsid-early}
 if [ ! -f /etc/iscsi/initiatorname.iscsi ] ; then
 /sbin/iscsi-gen-initiatorname
 fi
+%if 0%{?suse_version} = 1230
+%{service_add_post iscsid.socket iscsid.service iscsi.service}
+%else
+%{fillup_and_insserv -Y boot.iscsid-early}
+%endif
 
 %postun
 [ -x /sbin/mkinitrd_setup ]  mkinitrd_setup
+%if 0%{?suse_version} = 1230
+%{service_del_postun iscsid.socket iscsid.service iscsi.service}
+%else
 %{insserv_cleanup}
+%endif
+
+%pre
+%if 0%{?suse_version} = 1230
+%{service_add_pre iscsid.socket iscsid.service iscsi.service}
+%endif
 
 %preun
 %{stop_on_removal iscsid}
+%if 0%{?suse_version} = 1230
+%{service_del_preun iscsid.socket iscsid.service iscsi.service}
+%endif
 
 %files
 %defattr(-,root,root)
@@ -116,10 +146,16 @@
 %dir /etc/iscsi/ifaces
 %config /etc/iscsi/ifaces/iface.example
 /etc/iscsid.conf
+%if 0%{?suse_version} = 1230
+%config %{_unitdir}/iscsid.service
+%{_unitdir}/iscsid.socket
+%config %{_unitdir}/iscsi.service
+%else
 %config /etc/init.d/iscsid
 %config /etc/init.d/boot.iscsid-early
-/sbin/*
 /usr/sbin/rciscsid
+%endif
+/sbin/*
 %dir /lib/mkinitrd
 %dir /lib/mkinitrd/scripts
 /lib/mkinitrd/scripts/setup-iscsi.sh

++ open-iscsi-2.0-873.patch ++
---
 etc/mkinitrd/mkinitrd-boot.sh |6 --
 etc/mkinitrd/mkinitrd-stop.sh |4 ++--
 2 files changed, 6 insertions(+), 4 deletions(-)

Index: open-iscsi-2.0-873/etc/mkinitrd/mkinitrd-boot.sh
===
--- open-iscsi-2.0-873.orig/etc/mkinitrd/mkinitrd-boot.sh
+++ open-iscsi-2.0-873/etc/mkinitrd/mkinitrd-boot.sh
@@ -1,7 +1,10 @@
 #!/bin/bash
 #%stage: device
 #%depends: network
-#%programs: /sbin/iscsid /sbin/iscsiadm /sbin/iscsiuio

commit open-iscsi for openSUSE:Factory

2013-07-18 Thread h_root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2013-07-18 16:07:20

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is open-iscsi

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2013-03-17 
10:13:35.0 +0100
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2013-07-18 16:07:21.0 +0200
@@ -2 +2,88 @@
-Fri Jan 11 14:25:51 PST 2013 - ldun...@suse.com
+Wed Jul  3 15:01:50 UTC 2013 - meiss...@suse.com
+
+- moved the open-iscsi branch to the SLES 11 SP3 codebase.
+
+  Update coalesces and drops patches:
+  iscsi-gen-initiatorname.sh
+  open-iscsi-2.0-870-rc1-static.patch
+  open-iscsi-2.0-870-rc1.tar.bz2
+  open-iscsi-add-error-msg-to-log.c
+  open-iscsi-add-mkinitrd-scriptlets
+  open-iscsi-add-rhel5-compat
+  open-iscsi-add-sles10-compat
+  open-iscsi-allow-onboot-for-loginall
+  open-iscsi-beta5-kernel-patch-update
+  open-iscsi.changes
+  open-iscsi-cxgb3i-support
+  open-iscsi-error-check-in-db-lock-creation
+  open-iscsi-fix-sysfs-get-value-null.patch
+  open-iscsi-fixup-onboot-for-loginall
+  open-iscsi-fw-crash-on-ppc
+  open-iscsi-fwparam_ppc-string-overflow
+  open-iscsi-header.patch
+  open-iscsi-initiator-compile-warning
+  open-iscsi-install-mkinitrd-scriptlets
+  open-iscsi-iscsid-adjust-settings
+  open-iscsi-iscsi_discovery-doc-fixes
+  open-iscsi-load-ibft-before-reading-sys-firmware
+  open-iscsi-login-retry-update
+  open-iscsi-no-pid-file
+  open-iscsi-option-no-pid-file
+  open-iscsi-remove-dump-char
+  open-iscsi-remove-trailing-tilde
+  open-iscsi-rm-unused-variable
+  open-iscsi-set-LOCK_DIR-during-compilation
+  open-iscsi.spec
+  open-iscsi-start-target-before-initiator
+  open-iscsi-support-non-root-boot-volume.patch
+  open-iscsi-suse-build-fixes
+  open-iscsi-sync-modules-with-2.6.27
+  open-iscsi-update-init-script
+  open-iscsi-update-suse-init-scripts
+
+- New patches:
+  open-iscsi-openSUSE-12.3-first-merge.diff.bz2
+  open-iscsi-sles11-sp2-latest.diff.bz2
+  open-iscsi-sles11-sp2-update.diff.bz2
+  open-iscsi-sles11-sp3-flash-update.diff.bz2
+  open-iscsi-sles11-sp3-general-updates-1.diff.bz2
+  open-iscsi-sles11-sp3-iscsiuio-update.diff.bz2
+
+---
+Wed Jun  5 15:53:34 PDT 2013 - ldun...@suse.com
+
+- check return from nice() correctly (bnc#807936)
+
+---
+Tue Jun  4 11:27:55 PDT 2013 - ldun...@suse.com
+
+- Branched from SLES 11 SP3
+
+- Modified for openSUSE by removing iscsiuio references, and
+  by changing service name from open-iscsi to iscsid (bnc#821695)
+
+---
+Thu May 23 19:24:20 PDT 2013 - ldun...@suse.com
+
+- Adds support to be able to use isns discovery and
+  bind the portals found to offload ifaces (bnc#820881)
+
+---
+Fri May 17 18:34:23 PDT 2013 - ldun...@suse.com
+
+- Now handles boot-time non-root iSCSI volumes (bnc#630434)
+
+---
+Thu May  9 10:32:17 PDT 2013 - ldun...@suse.com
+
+- Fixed iscsiadm name/value command-line parsing
+  bug caused by previous update (bnc#818517)
+
+---
+Fri Apr  5 11:04:21 PDT 2013 - ldun...@suse.com
+
+- Added iscsiadm support for user management of target adapter
+  flash (bnc#810208)
+
+---
+Thu Mar 14 13:19:32 PDT 2013 - ldun...@suse.com
@@ -9,0 +97,70 @@
+Mon Mar 11 15:20:47 PDT 2013 - ldun...@suse.com
+
+- Updated iscsiuio to latest (bnc#769125)
+
+---
+Fri Sep  7 10:19:41 PDT 2012 - ldun...@suse.com
+
+- Added iscsiuio patches and other cleanup (bnc#751056)
+
+---
+Thu Jun 21 11:12:01 PDT 2012 - ldun...@suse.com
+
+- Updated open-iscsi to version 2.0.873 (bnc#751056)
+- Updated iscsiuio to version 0.7.4.3, to match
+
+---
+Mon Feb  6 15:57:43 CET 2012 - h...@suse.de
+
+- Do not install initiatorname.iscsi (bnc#742430)
+- iscsi_offload: Fixup qla4xxx booting (bnc#742570)
+
+---
+Fri Feb  3 12:38:57 CET 2012 - h...@suse.de
+
+- Append '.suse' to version string (bnc#713975)
+- iscsiadm dumps core on invalid config file (bnc#742570)
+- Load iscsi_tcp kernel modules unconditionally (bnc#738040)
+
+---
+Fri Dec  9 15:09:01 CET 

commit open-iscsi for openSUSE:Factory

2013-03-17 Thread h_root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2013-03-17 10:07:26

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is open-iscsi, Maintainer is h...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2011-10-27 
14:29:16.0 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2013-03-17 10:07:28.0 +0100
@@ -1,0 +2,8 @@
+Fri Jan 11 14:25:51 PST 2013 - ldun...@suse.com
+
+- Add open-iscsi-support-non-root-boot-volume.patch: handle non-
+  root boot-time iscsi volumes (bnc#630434)
+- Add open-iscsi-fix-sysfs-get-value-null.patch: accept (null)
+  password as meaning no password, when using sysfs (bnc#766300)
+
+---

New:

  open-iscsi-fix-sysfs-get-value-null.patch
  open-iscsi-support-non-root-boot-volume.patch



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.eeJQAB/_old  2013-03-17 10:07:30.0 +0100
+++ /var/tmp/diff_new_pack.eeJQAB/_new  2013-03-17 10:07:30.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package open-iscsi
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,22 +15,21 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
 
 Name:   open-iscsi
-BuildRequires:  bison db-devel flex
+BuildRequires:  bison
+BuildRequires:  db-devel
+BuildRequires:  flex
 Url:http://www.open-iscsi.org
-License:GPL-2.0+
-Group:  Productivity/Networking/Other
 PreReq: %fillup_prereq %insserv_prereq
-AutoReqProv:on
 Version:2.0.870
-Release:39
+Release:0
 Provides:   linux-iscsi
 Obsoletes:  linux-iscsi
 %define iscsi_release 865
 Summary:Linux* Open-iSCSI Software Initiator
+License:GPL-2.0+
+Group:  Productivity/Networking/Other
 Source: %{name}-2.0-870-rc1.tar.bz2
 Source11:   iscsi-gen-initiatorname.sh
 Patch1: %{name}-start-target-before-initiator
@@ -63,6 +62,8 @@
 Patch28:%{name}-remove-trailing-tilde
 Patch29:open-iscsi-2.0-870-rc1-static.patch
 Patch30:%{name}-header.patch
+Patch31:%{name}-fix-sysfs-get-value-null.patch
+Patch32:%{name}-support-non-root-boot-volume.patch
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -122,6 +123,8 @@
 %patch28 -p1
 %patch29
 %patch30 -p1
+%patch31 -p1
+%patch32 -p1
 
 %build
 %{__make} OPTFLAGS=${RPM_OPT_FLAGS} -fno-strict-aliasing 
-DLOCK_DIR=\\\/etc/iscsi\\\

++ open-iscsi-fix-sysfs-get-value-null.patch ++
Handle nulls from sysfs, for recent kernels.

Sysfs in recent kernels returns (null) instead of NULL,
handle that. Such (null) strings from sysfs as mapped to
NULL values.

Lack of this check, caused a non-existant password to be read as
(null) and treated as a valid and present password, and so,
AuthMethod=CHAP was used for a relogin.

References: bnc #683249,656119, bnc#766300
---
 usr/iscsi_sysfs.c |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: b/usr/iscsi_sysfs.c
===
--- a/usr/iscsi_sysfs.c
+++ b/usr/iscsi_sysfs.c
@@ -43,7 +43,6 @@
 #define ISCSI_SESSION_DIR  /sys/class/iscsi_session
 #define ISCSI_HOST_DIR /sys/class/iscsi_host
 
-#define ISCSI_SYSFS_INVALID_VALUE  NULL
 #define ISCSI_SESSION_SUBSYS   iscsi_session
 #define ISCSI_CONN_SUBSYS  iscsi_connection
 #define ISCSI_HOST_SUBSYS  iscsi_host
@@ -87,7 +86,8 @@ static int iscsi_sysfs_get_param(char *i
return EIO;
}
 
-   if (!strncmp(sysfs_value, ISCSI_SYSFS_INVALID_VALUE, 6))
+   if (!strncmp(sysfs_value, NULL, 6) ||
+   !strncmp(sysfs_value, (null), 6))
return ENODATA;
 
sscanf(sysfs_value, format, ret_value);
++ open-iscsi-support-non-root-boot-volume.patch ++
From: Lee Duncan ldun...@suse.com
Subject: [PATCH] support non-root boot-time volumes

Support SUSE non-root boot-time volumes.

--- 
diff -Narup open-iscsi-2.0-870-rc1.orig/etc/initd/boot.suse 
open-iscsi-2.0-870-rc1/etc/initd/boot.suse
--- open-iscsi-2.0-870-rc1.orig/etc/initd/boot.suse 2013-01-08 
15:11:27.694140109 -0800
+++ open-iscsi-2.0-870-rc1/etc/initd/boot.suse  2013-01-08 15:53:57.486120236 
-0800
@@ 

commit open-iscsi for openSUSE:Factory

2011-12-06 Thread h_root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2011-12-06 18:34:14

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is open-iscsi, Maintainer is h...@suse.com

Changes:




Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.L8O0Vy/_old  2011-12-06 18:54:53.0 +0100
+++ /var/tmp/diff_new_pack.L8O0Vy/_new  2011-12-06 18:54:53.0 +0100
@@ -21,7 +21,7 @@
 Name:   open-iscsi
 BuildRequires:  bison db-devel flex
 Url:http://www.open-iscsi.org
-License:GPLv2+
+License:GPL-2.0+
 Group:  Productivity/Networking/Other
 PreReq: %fillup_prereq %insserv_prereq
 AutoReqProv:on

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit open-iscsi for openSUSE:Factory

2011-10-27 Thread h_root
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2011-10-27 14:25:38

Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and  /work/SRC/openSUSE:Factory/.open-iscsi.new (New)


Package is open-iscsi, Maintainer is h...@suse.com

Changes:

--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes2011-09-23 
02:15:07.0 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new/open-iscsi.changes   
2011-10-27 14:29:16.0 +0200
@@ -1,0 +2,5 @@
+Thu Oct 27 09:25:02 UTC 2011 - a...@suse.de
+
+- Rename init scripts (bnc#661401).
+
+---



Other differences:
--
++ open-iscsi.spec ++
--- /var/tmp/diff_new_pack.NvYuxl/_old  2011-10-27 14:29:18.0 +0200
+++ /var/tmp/diff_new_pack.NvYuxl/_new  2011-10-27 14:29:18.0 +0200
@@ -130,7 +130,9 @@
 make DESTDIR=${RPM_BUILD_ROOT} install
 make DESTDIR=${RPM_BUILD_ROOT} install_initd_suse
 install -D -m 755 %{S:11} ${RPM_BUILD_ROOT}/sbin/iscsi-gen-initiatorname
-(cd ${RPM_BUILD_ROOT}/sbin; ln -sf /etc/init.d/open-iscsi rcopen-iscsi)
+mv ${RPM_BUILD_ROOT}/etc/init.d/boot.open-iscsi 
${RPM_BUILD_ROOT}/etc/init.d/boot.iscsid-early
+mv ${RPM_BUILD_ROOT}/etc/init.d/open-iscsi ${RPM_BUILD_ROOT}/etc/init.d/iscsid
+(cd ${RPM_BUILD_ROOT}/sbin; ln -sf /etc/init.d/iscsid rciscsid)
 (cd ${RPM_BUILD_ROOT}/etc; ln -sf iscsi/iscsid.conf iscsid.conf)
 
 %clean
@@ -138,7 +140,7 @@
 
 %post
 [ -x /sbin/mkinitrd_setup ]  mkinitrd_setup
-%{fillup_and_insserv -y boot.open-iscsi}
+%{fillup_and_insserv -y boot.iscsid-early}
 if [ ! -f /etc/iscsi/initiatorname.iscsi ] ; then
 /sbin/iscsi-gen-initiatorname
 fi
@@ -148,7 +150,7 @@
 %{insserv_cleanup}
 
 %preun
-%{stop_on_removal open-iscsi}
+%{stop_on_removal iscsid}
 
 %files
 %defattr(-,root,root)
@@ -157,8 +159,8 @@
 %dir /etc/iscsi/ifaces
 %config /etc/iscsi/ifaces/iface.example
 /etc/iscsid.conf
-%config /etc/init.d/open-iscsi
-%config /etc/init.d/boot.open-iscsi
+%config /etc/init.d/iscsid
+%config /etc/init.d/boot.iscsid-early
 /sbin/*
 %dir /lib/mkinitrd
 %dir /lib/mkinitrd/scripts

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org