summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksii Shevchuk <alxchk@gmail.com>2013-03-31 14:40:04 +0300
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-04-01 00:37:48 -0400
commitaa7c3195f220968907c616e0278e3bebe6eaafbd (patch)
treeb547b3153c8b237f0e5a373045e4b8678a6169ba
parentd51539b182c0a8869e2063e82d04f8a5849bfbab (diff)
Add AllowIsolate=yes to snapshots
-rw-r--r--TODO2
-rw-r--r--src/core/snapshot.c1
2 files changed, 1 insertions, 2 deletions
diff --git a/TODO b/TODO
index 40a9914ee4..22caac4938 100644
--- a/TODO
+++ b/TODO
@@ -52,8 +52,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 5c2a319cb6..a3f5e908eb 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;