an attempt to see if avoiding to run initscripts altogether solves the slice re-creat...
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 18 Mar 2015 10:55:05 +0000 (11:55 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 18 Mar 2015 10:55:05 +0000 (11:55 +0100)
initscript.py

index 8e6e4a3..152d25f 100644 (file)
@@ -70,6 +70,10 @@ class Initscript:
         """
         suitable for systemd-based VMs
         """
+        # how are we wrt slice re-creation if we just kill this stuff
+        # of course no initscript will trigger at all ...
+        return
+
         vinit_source = "/usr/share/NodeManager/sliver-systemd/vinit.service"
         vinit_unit_file = "/vservers/%s/usr/lib/systemd/system/vinit.service" % self.name
         enable_link = "/vservers/%s/etc/systemd/system/multi-user.target.wants/vinit.service" % self.name