[systemd-devel] snapshots not isolatable?

Zbigniew Jędrzejewski-Szmek zbyszek at in.waw.pl
Sun Mar 31 21:43:51 PDT 2013


On Fri, Mar 29, 2013 at 05:55:59PM +0100, Lennart Poettering wrote:
> 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.
Fix commited in http://cgit.freedesktop.org/systemd/systemd/commit/?id=aa7c3195f220.

Zbyszek


More information about the systemd-devel mailing list