Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package open-iscsi for openSUSE:Factory 
checked in at 2021-05-15 23:15:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/open-iscsi (Old)
 and      /work/SRC/openSUSE:Factory/.open-iscsi.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "open-iscsi"

Sat May 15 23:15:46 2021 rev:105 rq:892557 version:unknown

Changes:
--------
--- /work/SRC/openSUSE:Factory/open-iscsi/open-iscsi.changes    2021-05-02 
18:35:55.784995437 +0200
+++ /work/SRC/openSUSE:Factory/.open-iscsi.new.2988/open-iscsi.changes  
2021-05-15 23:16:47.684593814 +0200
@@ -1,0 +2,6 @@
+Wed May 12 16:20:38 UTC 2021 - Lee Duncan <ldun...@suse.com>
+
+- Merge latest upstream, which added fix (bsc#1185930):
+  * Set default 'startup' to 'onboot' for FW nodes
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ open-iscsi-SUSE-latest.diff.bz2 ++++++
--- /var/tmp/diff_new_pack.Vvo66i/_old  2021-05-15 23:16:48.156591971 +0200
+++ /var/tmp/diff_new_pack.Vvo66i/_new  2021-05-15 23:16:48.156591971 +0200
@@ -33,6 +33,23 @@
  ExecStop=/sbin/iscsiadm -m node --logoutall=automatic
  ExecStop=/sbin/iscsiadm -m node --logoutall=manual
  SuccessExitStatus=21 15
+diff --git a/usr/idbm.c b/usr/idbm.c
+index b94b61701a13..e1a9021666e8 100644
+--- a/usr/idbm.c
++++ b/usr/idbm.c
+@@ -2458,6 +2458,12 @@ int idbm_add_node(node_rec_t *newrec, discovery_rec_t 
*drec, int overwrite)
+               rc = idbm_delete_node(&rec);
+               if (rc)
+                       goto unlock;
++
++              if (drec->type == DISCOVERY_TYPE_FW) {
++                      log_debug(8, "setting firmware node 'startup' to 
'onboot'");
++                      newrec->startup = ISCSI_STARTUP_ONBOOT;
++                      newrec->conn[0].startup = ISCSI_STARTUP_ONBOOT;
++              }
+               log_debug(7, "overwriting existing record");
+       } else
+               log_debug(7, "adding new DB record");
 diff --git a/usr/iscsiadm.c b/usr/iscsiadm.c
 index 41b7e6f25539..192da6609dde 100644
 --- a/usr/iscsiadm.c

Reply via email to