[systemd-devel] snapshots not isolatable?

Lennart Poettering lennart at poettering.net
Fri Mar 29 09:55:59 PDT 2013


On Fri, 29.03.13 23:42, Sun Bing (subi.the.dream.walker at gmail.com) wrote:

> hi all,
> 
> i wanna try out the systemd.snapshots for my suspend/hibernation
> configuration. but it seems the snapshots are not isolatable.
> 
> "systemdctl isolate foo.snapshot" just throws an error "Failed to issue
> method call: Operation refused, unit may not be isolated."
> 
> and the outputs of "systemctl show foo.snapshot":
> ...
> CanIsolate=no
> ...
> AllowIsolate=no
> ...
> 
> according to "man systemd.snapshot":
> ...Later on, the user may choose to return to the saved state via
> systemctl isolate....
> 
> what am i missing?
> 
> btw, the version in my host is 198.

Ah, that looks like a mistake, they really should be
isolatable. AllowIsolate= flag is a relatively recent addition, and we
really should set it implicitly for all snapshots.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the systemd-devel mailing list