chiark / gitweb /
Add AllowIsolate=yes to snapshots
authorOleksii Shevchuk <alxchk@gmail.com>
Sun, 31 Mar 2013 11:40:04 +0000 (14:40 +0300)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 1 Apr 2013 04:37:48 +0000 (00:37 -0400)
TODO
src/core/snapshot.c

diff --git a/TODO b/TODO
index 40a9914ee456d4f499ed6c9af7c3d5148e8c458e..22caac4938f53db19867cd5cd35f7c9c274e6a8e 100644 (file)
--- 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
index 5c2a319cb6a6c6aa98de790d19c94a8ba1dd5993..a3f5e908ebcf9346a7a173a187ffe7e3fa0cce48 100644 (file)
@@ -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;