From: Oleksii Shevchuk Date: Sun, 31 Mar 2013 11:40:04 +0000 (+0300) Subject: Add AllowIsolate=yes to snapshots X-Git-Tag: v201~101 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=aa7c3195f220968907c616e0278e3bebe6eaafbd;hp=d51539b182c0a8869e2063e82d04f8a5849bfbab;ds=sidebyside Add AllowIsolate=yes to snapshots --- 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;