diff --git a/package/yast2-iscsi-client.changes b/package/yast2-iscsi-client.changes index d9aff31..bbd5a0d 100644 --- a/package/yast2-iscsi-client.changes +++ b/package/yast2-iscsi-client.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Mar 10 09:29:52 UTC 2020 - Knut Anderssen + +- Handle the iscsi service status (restart, start...) change after + the iscsid and the iscsiuio sockets (bsc#1160606) +- 4.2.5 + ------------------------------------------------------------------- Fri Jan 17 10:17:29 UTC 2020 - Josef Reidinger diff --git a/package/yast2-iscsi-client.spec b/package/yast2-iscsi-client.spec index 029ad99..b54e38e 100644 --- a/package/yast2-iscsi-client.spec +++ b/package/yast2-iscsi-client.spec @@ -17,7 +17,7 @@ Name: yast2-iscsi-client -Version: 4.2.4 +Version: 4.2.5 Release: 0 Summary: YaST2 - iSCSI Client Configuration Group: System/YaST diff --git a/src/modules/IscsiClient.rb b/src/modules/IscsiClient.rb index 2fab8ab..b0a5b44 100644 --- a/src/modules/IscsiClient.rb +++ b/src/modules/IscsiClient.rb @@ -76,10 +76,16 @@ def main # # @return [Yast2::CompundService] def services + # TODO: Having a combination of services and sockets in a compoud service + # do not smell very well and the user might be very carefull on the + # 'after reboot' selection having to choose correctly for enabling the + # desired option (bsc#1160606). @services ||= Yast2::CompoundService.new( - Yast2::SystemService.find("iscsi"), Yast2::SystemService.find("iscsid"), - Yast2::SystemService.find("iscsiuio") + Yast2::SystemService.find("iscsiuio"), + # It seems that moving it to the end help when iscsid socket is active + # and need to be restarted. (bsc#853300, bsc#1160606) + Yast2::SystemService.find("iscsi") ) end