[prev in list] [next in list] [prev in thread] [next in thread]
List: systemd-devel
Subject: [systemd-devel] [PATCH] Add AllowIsolate=yes to snapshots
From: alxchk () gmail ! com (Oleksii Shevchuk)
Date: 2013-03-31 11:40:04
Message-ID: 1364730004-32145-1-git-send-email-alxchk () gmail ! com
[Download RAW message or body]
---
TODO | 2 --
src/core/snapshot.c | 1 +
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/TODO b/TODO
index 3bf442b..584646b 100644
--- a/TODO
+++ b/TODO
@@ -47,8 +47,6 @@ Fedora 19:
Features:
-* snapshots really should be isolatable, but currently aren't.
-
* seems that when we follow symlinks to units we prefer the symlink
destination path over /etc and /usr. We shouldn't do that. Instead
/etc should always override /run+/usr and also any symlink
diff --git a/src/core/snapshot.c b/src/core/snapshot.c
index 5c2a319..a3f5e90 100644
--- a/src/core/snapshot.c
+++ b/src/core/snapshot.c
@@ -256,6 +256,7 @@ int snapshot_create(Manager *m, const char *name, bool cleanup, DBusError *e, Sn
}
SNAPSHOT(u)->cleanup = cleanup;
+ u->allow_isolate = true;
*_s = SNAPSHOT(u);
return 0;
--
1.8.1.2
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic