From aa7c3195f220968907c616e0278e3bebe6eaafbd Mon Sep 17 00:00:00 2001 From: Oleksii Shevchuk Date: Sun, 31 Mar 2013 14:40:04 +0300 Subject: [PATCH 1/1] Add AllowIsolate=yes to snapshots --- TODO | 2 -- src/core/snapshot.c | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/TODO b/TODO index 40a9914ee..22caac493 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 5c2a319cb..a3f5e908e 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; -- 2.30.2