Hello community,

here is the log from the commit of package yast2-runlevel for openSUSE:Factory 
checked in at 2012-12-17 09:50:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-runlevel (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-runlevel.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-runlevel", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-runlevel/yast2-runlevel.changes    
2012-12-05 14:11:03.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.yast2-runlevel.new/yast2-runlevel.changes       
2012-12-17 09:50:05.000000000 +0100
@@ -1,0 +2,8 @@
+Fri Dec 14 12:46:37 UTC 2012 - [email protected]
+
+- Services are just enabled but not started when called from
+  AutoYast - that needs to be done by AutoYast at the end
+  (BNC #769924)
+- 2.21.6
+
+-------------------------------------------------------------------

Old:
----
  yast2-runlevel-2.21.5.tar.bz2

New:
----
  yast2-runlevel-2.21.6.tar.bz2

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

Other differences:
------------------
++++++ yast2-runlevel.spec ++++++
--- /var/tmp/diff_new_pack.3RjIPW/_old  2012-12-17 09:50:07.000000000 +0100
+++ /var/tmp/diff_new_pack.3RjIPW/_new  2012-12-17 09:50:07.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           yast2-runlevel
-Version:        2.21.5
+Version:        2.21.6
 Release:        0
 
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build

++++++ yast2-runlevel-2.21.5.tar.bz2 -> yast2-runlevel-2.21.6.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-runlevel-2.21.5/VERSION 
new/yast2-runlevel-2.21.6/VERSION
--- old/yast2-runlevel-2.21.5/VERSION   2012-11-20 10:34:23.000000000 +0100
+++ new/yast2-runlevel-2.21.6/VERSION   2012-12-14 13:46:27.000000000 +0100
@@ -1 +1 @@
-2.21.5
+2.21.6
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/yast2-runlevel-2.21.5/src/RunlevelEd.ycp 
new/yast2-runlevel-2.21.6/src/RunlevelEd.ycp
--- old/yast2-runlevel-2.21.5/src/RunlevelEd.ycp        2012-11-30 
10:00:23.000000000 +0100
+++ new/yast2-runlevel-2.21.6/src/RunlevelEd.ycp        2012-12-14 
14:08:59.000000000 +0100
@@ -555,20 +555,21 @@
         return (list <string>) RemoveDuplicates(all_needed_services);
     }
 
+    boolean InAutoYast () {
+        return (Mode::autoinst() || Mode::config());
+    }
+
     /**
      * Returns list of services that were changed during
      * configuration (so-called 'dirty'), boot.* services are excluded.
      */
     global list <string> ListOfServicesToStart () {
-        boolean in_autoyast = Mode::autoinst() || Mode::config();
         list <string> services_to_start = [];
         string current_runlevel = GetCurrentRunlevel();
 
         // In AutoYast the current runlevel doesn't matter
         // the imported one (default_runlevel) does.
-        if (in_autoyast) {
-            current_runlevel = GetDefaultRunlevel();
-        }
+        if (InAutoYast()) current_runlevel = GetDefaultRunlevel();
 
         y2milestone("Current runlevel: %1", current_runlevel);
 
@@ -761,6 +762,13 @@
        Progress::NextStep ();
        if (! AdaptServices(services, true)) return false;
 
+        // All services need to be started at the end by systemd,
+        // not here and now. See BNC #769924
+        if (InAutoYast()) {
+            y2milestone("All services will be started at the end, skipping for 
now...");
+            return true;
+        }
+
         // Enable and start all services that should be started
         return StartServicesWithDependencies(ListOfServicesToStart());
     }

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to