1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-27 01:55:32 +03:00

Add AllowIsolate=yes to snapshots

This commit is contained in:
Oleksii Shevchuk 2013-03-31 14:40:04 +03:00 committed by Zbigniew Jędrzejewski-Szmek
parent d51539b182
commit aa7c3195f2
2 changed files with 1 additions and 2 deletions

2
TODO
View File

@ -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

View 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;