Skip to content

Commit

Permalink
- bsc#1083455 - Internal error in yast configuration part
Browse files Browse the repository at this point in the history
  "Relocation Server Configuration" - "Service with name
  'libvirtd-relocation-server' does not exist"
  • Loading branch information
charlesa committed Mar 20, 2018
1 parent 09c7dff commit fc456c7
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
8 changes: 8 additions & 0 deletions package/yast2-vm.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
-------------------------------------------------------------------
Tue Mar 20 13:59:17 MDT 2018 - carnold@suse.com

- bsc#1083455 - Internal error in yast configuration part
"Relocation Server Configuration" - "Service with name
'libvirtd-relocation-server' does not exist"
- 3.2.6

-------------------------------------------------------------------
Fri Feb 9 12:19:42 MST 2018 - carnold@suse.com

Expand Down
4 changes: 2 additions & 2 deletions package/yast2-vm.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#
# spec file for package yast2-vm
#
# Copyright (c) 2017 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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
Expand All @@ -17,7 +17,7 @@


Name: yast2-vm
Version: 3.2.5
Version: 3.2.6
Release: 0
Group: System/YaST

Expand Down
8 changes: 4 additions & 4 deletions src/modules/RelocationServer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -245,14 +245,14 @@ def ReadLibvirtServices
@libvirtd_enabled = Service.Enabled("libvirtd")
@sshd_enabled = Service.Enabled("sshd")

if Service.Status("libvirtd") == 0
if Service.active?("libvirtd") == 0
@libvirtd_is_running = true
Builtins.y2milestone("libvirtd is running")
else
@libvirtd_is_running = false
Builtins.y2milestone("libvirtd is not running")
end
if Service.Status("sshd") == 0
if Service.active?("sshd") == 0
@sshd_is_running = true
Builtins.y2milestone("sshd is running")
else
Expand All @@ -261,7 +261,7 @@ def ReadLibvirtServices
end

ports = SuSEFirewallServices.GetNeededTCPPorts(
"service:libvirtd-relocation-server"
"libvirtd-relocation-server"
)
@libvirtd_ports = Builtins.filter(ports) do |s|
s != @libvirtd_default_ports
Expand Down Expand Up @@ -292,7 +292,7 @@ def WriteLibvirtServices
end
end
SuSEFirewallServices.SetNeededPortsAndProtocols(
"service:libvirtd-relocation-server",
"libvirtd-relocation-server",
{ "tcp_ports" => @libvirtd_ports }
)
end
Expand Down

0 comments on commit fc456c7

Please sign in to comment.