diff options
author | Oleksii Shevchuk <alxchk@gmail.com> | 2013-03-31 14:40:04 +0300 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-04-01 00:37:48 -0400 |
commit | aa7c3195f220968907c616e0278e3bebe6eaafbd (patch) | |
tree | b547b3153c8b237f0e5a373045e4b8678a6169ba | |
parent | d51539b182c0a8869e2063e82d04f8a5849bfbab (diff) |
Add AllowIsolate=yes to snapshots
-rw-r--r-- | TODO | 2 | ||||
-rw-r--r-- | src/core/snapshot.c | 1 |
2 files changed, 1 insertions, 2 deletions
@@ -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; |