Hello community,

here is the log from the commit of package yast2-iscsi-lio-server for 
openSUSE:Factory checked in at 2018-02-14 10:50:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-iscsi-lio-server (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-iscsi-lio-server.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-iscsi-lio-server"

Wed Feb 14 10:50:56 2018 rev:24 rq:576010 version:4.0.4

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/yast2-iscsi-lio-server/yast2-iscsi-lio-server.changes
    2018-02-01 21:31:41.414612943 +0100
+++ 
/work/SRC/openSUSE:Factory/.yast2-iscsi-lio-server.new/yast2-iscsi-lio-server.changes
       2018-02-14 10:50:56.595149521 +0100
@@ -1,0 +2,6 @@
+Mon Feb 12 13:59:06 UTC 2018 - ls...@suse.com
+
+- fate#319238
+  Add code to handle targetcli.service enable / disable.
+
+-------------------------------------------------------------------

Old:
----
  yast2-iscsi-lio-server-4.0.3.tar.bz2

New:
----
  yast2-iscsi-lio-server-4.0.4.tar.bz2

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

Other differences:
------------------
++++++ yast2-iscsi-lio-server.spec ++++++
--- /var/tmp/diff_new_pack.lULvQ5/_old  2018-02-14 10:50:57.131130232 +0100
+++ /var/tmp/diff_new_pack.lULvQ5/_new  2018-02-14 10:50:57.135130088 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-iscsi-lio-server
-Version:        4.0.3
+Version:        4.0.4
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ yast2-iscsi-lio-server-4.0.3.tar.bz2 -> 
yast2-iscsi-lio-server-4.0.4.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-iscsi-lio-server-4.0.3/package/yast2-iscsi-lio-server.changes 
new/yast2-iscsi-lio-server-4.0.4/package/yast2-iscsi-lio-server.changes
--- old/yast2-iscsi-lio-server-4.0.3/package/yast2-iscsi-lio-server.changes     
2018-02-01 13:43:22.000000000 +0100
+++ new/yast2-iscsi-lio-server-4.0.4/package/yast2-iscsi-lio-server.changes     
2018-02-13 10:01:09.000000000 +0100
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------
+Mon Feb 12 13:59:06 UTC 2018 - ls...@suse.com
+
+- fate#319238
+  Add code to handle targetcli.service enable / disable.
+
+-------------------------------------------------------------------
 Thu Feb  1 11:41:10 UTC 2018 - ls...@suse.com
 
 - fate#319238
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-iscsi-lio-server-4.0.3/package/yast2-iscsi-lio-server.spec 
new/yast2-iscsi-lio-server-4.0.4/package/yast2-iscsi-lio-server.spec
--- old/yast2-iscsi-lio-server-4.0.3/package/yast2-iscsi-lio-server.spec        
2018-02-01 13:43:22.000000000 +0100
+++ new/yast2-iscsi-lio-server-4.0.4/package/yast2-iscsi-lio-server.spec        
2018-02-13 10:01:09.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-iscsi-lio-server
-Version:        4.0.3
+Version:        4.0.4
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/yast2-iscsi-lio-server-4.0.3/src/include/iscsi-lio-server/UI_dialogs.rb 
new/yast2-iscsi-lio-server-4.0.4/src/include/iscsi-lio-server/UI_dialogs.rb
--- old/yast2-iscsi-lio-server-4.0.3/src/include/iscsi-lio-server/UI_dialogs.rb 
2018-02-01 13:43:22.000000000 +0100
+++ new/yast2-iscsi-lio-server-4.0.4/src/include/iscsi-lio-server/UI_dialogs.rb 
2018-02-13 10:01:09.000000000 +0100
@@ -411,7 +411,7 @@
     def initialize
       textdomain "iscsi-lio-server"
       self.initial = true
-      @service = Yast::SystemdService.find("sshd.service")
+      @service = Yast::SystemdService.find("targetcli.service")
       @service_status = ::UI::ServiceStatus.new(@service, reload_flag: true, 
reload_flag_label: :restart)
       @firewall_widget = ::CWM::WrapperWidget.new(
           CWMFirewallInterfaces.CreateOpenFirewallWidget("services" => 
["iscsi-target"]),
@@ -436,8 +436,12 @@
     end
 
     def handle(event)
-      puts event
       @service_status.handle_input(event["ID"])
+      if @service_status.enabled_flag?
+        @service.enable
+      else
+        @service.disable
+      end
       nil
     end
 


Reply via email to