Skip to content

Commit

Permalink
Merge pull request #57 from yast/review_140624_restarting_systemd_logind
Browse files Browse the repository at this point in the history
[Review] Request from 'schubi2' @ 'yast/yast-autoinstallation/review_140624_restarting_systemd_logind'
  • Loading branch information
schubi2 committed Jun 25, 2014
2 parents 80ad17f + 48760a6 commit a21cf84
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
7 changes: 7 additions & 0 deletions package/autoyast2.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Jun 24 11:02:38 CEST 2014 - schubi@suse.de

- Restarting systemd-logind.service after finishing the configuration.
(bnc#878920)
- 3.1.38

-------------------------------------------------------------------
Mon Jun 23 12:57:43 UTC 2014 - jreidinger@suse.com

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


Name: autoyast2
Version: 3.1.37
Version: 3.1.38
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
3 changes: 1 addition & 2 deletions src/clients/inst_autoconfigure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,6 @@ def main
"YaST2-Second-Stage.service",
"autoyast-initscripts.service"
]
@ser_no_restart = ["systemd-logind.service"]

logStep(_("Restarting all running services"))
@cmd = "systemctl --type=service list-units | grep \" running \" | sed s/[[:space:]].*//"
Expand All @@ -274,7 +273,7 @@ def main
) { |s| Ops.greater_than(Builtins.size(s), 0) }
Builtins.y2milestone("running services \"%1\"", @sl)
@sl = Builtins.filter(@sl) do |s|
!Builtins.contains(Builtins.union(@ser_ignore, @ser_no_restart), s)
!Builtins.contains(@ser_ignore, s)
end
Builtins.y2milestone("restarting services \"%1\"", @sl)
@cmd = Ops.add(
Expand Down

0 comments on commit a21cf84

Please sign in to comment.