[yast-commit] [ci_new_pac] JFYI yast2-isns -> sle12
Script 'mail_helper' called by ro Hello packager, This is just FYI. Your package was checked in in distribution "sle12" by autobuild-member: ro. Here comes the log... ---------------------------%<------------------------------ Hi, here is the log from ci_new_pac /mounts/work_src_done/SLE12/yast2-isns -> sle12 ## BNC# 880173 : "isns-server does not exist after installing the appropriate packages - SLES12 Beta7" (ASSIGNED/) Changes: -------- --- /work/SRC/SUSE:SLE-12:GA/yast2-isns/yast2-isns.changes 2014-04-01 12:47:25.000000000 +0200 +++ /mounts/work_src_done/SLE12/yast2-isns/yast2-isns.changes 2014-06-27 06:53:20.000000000 +0200 @@ -1,0 +2,7 @@ +Thu Jun 5 11:23:03 CEST 2014 - gs@suse.de + +- correct name for firewall service, adjust 'isnsd' service start + (bnc #880173) +- 3.1.3 + +------------------------------------------------------------------- calling whatdependson for sle12-i586 Packages directly triggered for rebuild: - yast2-isns - yast2-schema ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/SUSE:SLE-12:GA/yast2-isns (Old) and /mounts/work_src_done/SLE12/yast2-isns (BS:build ID:40149 MAIL:yast-commit@opensuse.org) (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "yast2-isns", Maintainer is "yast-commit@opensuse.org" Old: ---- yast2-isns-3.1.2.tar.bz2 New: ---- yast2-isns-3.1.3.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-isns.spec ++++++ --- /var/tmp/diff_new_pack.WZjsRa/_old 2014-06-27 15:42:46.000000000 +0200 +++ /var/tmp/diff_new_pack.WZjsRa/_new 2014-06-27 15:42:46.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-isns -Version: 3.1.2 +Version: 3.1.3 Release: 0 License: GPL-2.0 Group: System/YaST ++++++ yast2-isns-3.1.2.tar.bz2 -> yast2-isns-3.1.3.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-isns-3.1.2/package/yast2-isns.changes new/yast2-isns-3.1.3/package/yast2-isns.changes --- old/yast2-isns-3.1.2/package/yast2-isns.changes 2014-04-01 11:38:17.000000000 +0200 +++ new/yast2-isns-3.1.3/package/yast2-isns.changes 2014-06-27 14:22:32.000000000 +0200 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Thu Jun 5 11:23:03 CEST 2014 - gs@suse.de + +- correct name for firewall service, adjust 'isnsd' service start + (bnc #880173) +- 3.1.3 + +------------------------------------------------------------------- Tue Apr 1 07:34:45 UTC 2014 - jreidinger@suse.com - use new open-isns instead of dropped isns package (bnc#870453) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-isns-3.1.2/package/yast2-isns.spec new/yast2-isns-3.1.3/package/yast2-isns.spec --- old/yast2-isns-3.1.2/package/yast2-isns.spec 2014-04-01 11:38:17.000000000 +0200 +++ new/yast2-isns-3.1.3/package/yast2-isns.spec 2014-06-27 14:22:32.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-isns -Version: 3.1.2 +Version: 3.1.3 Release: 0 License: GPL-2.0 Group: System/YaST diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-isns-3.1.2/src/include/isns/dialogs.rb new/yast2-isns-3.1.3/src/include/isns/dialogs.rb --- old/yast2-isns-3.1.2/src/include/isns/dialogs.rb 2014-04-01 11:38:17.000000000 +0200 +++ new/yast2-isns-3.1.3/src/include/isns/dialogs.rb 2014-06-27 14:22:32.000000000 +0200 @@ -124,7 +124,7 @@ "help" => Ops.get_string(@HELPS, "ipaddress", "") }, "firewall" => CWMFirewallInterfaces.CreateOpenFirewallWidget( - { "services" => ["isns-server"], "display_details" => true } + { "services" => ["service:isns"], "display_details" => true } ), "iscsi_nodes_display" => { "widget" => :custom, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-isns-3.1.2/src/modules/IsnsServer.rb new/yast2-isns-3.1.3/src/modules/IsnsServer.rb --- old/yast2-isns-3.1.2/src/modules/IsnsServer.rb 2014-04-01 11:38:17.000000000 +0200 +++ new/yast2-isns-3.1.3/src/modules/IsnsServer.rb 2014-06-27 14:22:32.000000000 +0200 @@ -28,6 +28,7 @@ Yast.import "Mode" Yast.import "String" Yast.import "Map" + Yast.import "SystemdSocket" @serviceStatus = false @statusOnStart = false @@ -46,6 +47,71 @@ # Abort function # return boolean return true if abort @AbortFunction = fun_ref(method(:Modified), "boolean ()") + + @isnsd_socket = nil + end + + def isnsdSocketActive? + if @isnsd_socket + @isnsd_socket.active? + else + log.error("isnsd.socket not found") + false + end + end + + def isnsdSocketStart + if @isnsd_socket + @isnsd_socket.start + else + log.error("isnsd.socket not found") + false + end + end + + def isnsdSocketStop + if @isnsd_socket + @isnsd_socket.stop + else + log.error("isnsd.socket not found") + false + end + end + + def isnsdSocketEnabled? + if @isnsd_socket + @isnsd_socket.enabled? + else + log.error("isnsd.socket not found") + false + end + end + + def isnsdSocketDisabled? + if @isnsd_socket + @isnsd_socket.disabled? + else + log.error("isnsd.socket not found") + false + end + end + + def isnsdSocketEnable + if @isnsd_socket + @isnsd_socket.enable + else + log.error("isnsd.socket not found") + false + end + end + + def isnsdSocketDisable + if @isnsd_socket + @isnsd_socket.disable + else + log.error("isnsd.socket not found") + false + end end # Abort function @@ -120,12 +186,27 @@ # if not enabled, start it manually def getServiceStatus ret = true - if Service.Status("isns") == 0 + + # start service in stage initial (important for AutoYasT) + if Stage.initial + ret = Service.Start("isnsd") + if ret + log.info("Service isnsd started") + else + log.error("Cannot start service isnsd") + end + return ret + end + + # start socket in installed system + @isnsd_socket = SystemdSocket.find!("isnsd") + + if isnsdSocketActive? @statusOnStart = true @serviceStatus = true end Builtins.y2milestone("Service status = %1", @statusOnStart) - Service.Start("isns") if !@statusOnStart + isnsdSocketStart if !@statusOnStart ret end @@ -135,12 +216,14 @@ start = @statusOnStart if !@serviceStatus if !start - Builtins.y2milestone("Stop isns service") - Service.Stop("isns") + Builtins.y2milestone("Stop isnsd service and socket") + isnsdSocketStop + Service.Stop("isnsd") else - Builtins.y2milestone("Start isns service") + Builtins.y2milestone("Start isnsd socket") + Service.Stop("isnsd") if Service.Status("isnsd") == 0 @serviceStatus = true - Service.Start("isns") + isnsdSocketStart end true end @@ -367,7 +450,7 @@ end def addISCSI(address, name, entityid) - Builtins.y2milestone("addDDS") + Builtins.y2milestone("addISCSI") command = Builtins.sformat( "isnsadm -a %1 -t -r iscsi -n '%2' -m '%3'", address, @@ -635,7 +718,7 @@ # get/set service accessors for CWMService component def GetStartService - status = Service.Enabled("isns") + status = isnsdSocketEnabled? Builtins.y2milestone("isns service status %1", status) status end @@ -644,9 +727,9 @@ Builtins.y2milestone("Set service status %1", status) @serviceStatus = status if status == true - Service.Enable("isns") + isnsdSocketEnable else - Service.Disable("isns") + isnsdSocketDisable end nil diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-isns-3.1.2/src/scrconf/isnsd.scr new/yast2-isns-3.1.3/src/scrconf/isnsd.scr --- old/yast2-isns-3.1.2/src/scrconf/isnsd.scr 2014-04-01 11:38:17.000000000 +0200 +++ new/yast2-isns-3.1.3/src/scrconf/isnsd.scr 2014-06-27 14:22:32.000000000 +0200 @@ -12,7 +12,7 @@ .etc.isns `ag_ini( - `IniAgent( "/etc/isns/isns.conf", + `IniAgent( "/etc/isns/isnsd.conf", $[ "options" : [ "global_values", "comments_last", "line_can_continue", "join_multiline", "repeat_names" ], "comments": [ continue with "q"... Checked in at Fri Jun 27 15:42:52 CEST 2014 by ro Remember to have fun... -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
ro