Skip to content

Commit

Permalink
Do not restart network if the installation has been started via a SSH…
Browse files Browse the repository at this point in the history
… connection
  • Loading branch information
schubi2 committed Jul 14, 2014
1 parent d6c05ed commit 2ceb23f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
7 changes: 7 additions & 0 deletions package/yast2-network.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Jul 14 10:32:34 CEST 2014 - schubi@suse.de

- Do not restart network if the installation has been started
via a SSH connection. (bnc#885640)
- 3.1.89

-------------------------------------------------------------------
Fri Jul 11 08:52:08 UTC 2014 - mfilka@suse.com

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-network.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: yast2-network
Version: 3.1.68
Version: 3.1.69
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
5 changes: 4 additions & 1 deletion src/modules/Lan.rb
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,10 @@ def Write
if LanItems.force_restart
NetworkService.Restart
else
NetworkService.ReloadOrRestart
# If the second installation stage has been called by yast.ssh via
# ssh, we should not restart network cause systemctl
# hangs in that case. (bnc#885640)
NetworkService.ReloadOrRestart if !Linuxrc.usessh
end
Builtins.sleep(sl)
end
Expand Down

0 comments on commit 2ceb23f

Please sign in to comment.