valeriyvdovin / rpms / systemd

Forked from rpms/systemd 4 years ago
Clone

Blame SOURCES/0212-units-make-sure-systemd-nspawn-.slice-instances-are-.patch

1ff636
From 68932296f01cd3eee3ee47f3e8f339f33c18b95d Mon Sep 17 00:00:00 2001
1ff636
From: Lennart Poettering <lennart@poettering.net>
1ff636
Date: Tue, 19 May 2015 19:47:52 +0200
1ff636
Subject: [PATCH] units: make sure systemd-nspawn@.slice instances are actually
1ff636
 located in machine.slice
1ff636
1ff636
https://plus.google.com/112206451048767236518/posts/SYAueyXHeEX
1ff636
(cherry picked from commit 45d383a3b888195b01b58dbd2c46a11027ff5022)
1ff636
1ff636
Cherry-picked from: 45d383a
1ff636
Resolves: #1222517
1ff636
---
1ff636
 units/systemd-nspawn@.service.in | 1 +
1ff636
 1 file changed, 1 insertion(+)
1ff636
1ff636
diff --git a/units/systemd-nspawn@.service.in b/units/systemd-nspawn@.service.in
181b3f
index 3e26b53fd..5e8612113 100644
1ff636
--- a/units/systemd-nspawn@.service.in
1ff636
+++ b/units/systemd-nspawn@.service.in
1ff636
@@ -17,6 +17,7 @@ KillMode=mixed
1ff636
 Type=notify
1ff636
 RestartForceExitStatus=133
1ff636
 SuccessExitStatus=133
1ff636
+Slice=machine.slice
1ff636
 Delegate=yes
1ff636
 
1ff636
 [Install]