mirror of
https://github.com/systemd/systemd.git
synced 2024-11-23 18:23:32 +08:00
Add AllowIsolate=yes to snapshots
This commit is contained in:
parent
d51539b182
commit
aa7c3195f2
2
TODO
2
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
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user