[CRIU] Checkpoint/restore as non-root user

Filipe Brandenburger filbranden at google.com
Fri Sep 19 20:21:45 PDT 2014


Hi,

Have you considered using CRIU to checkpoint/restore processes without
requiring root privileges?

Of course that means the dumped/restored state might not be complete,
but I can see that it should be possible to preserve information about
the memory state and file descriptors (while not possible to preserve
PIDs, mounts, pending socket buffers, etc.)

This might be interesting for scenarios such as these (from
http://criu.org/Usage_scenarios):
- "Save" ability in apps (games), that don't have such
- Snapshots of apps

That could be interesting even if changes to the application would be
necessary to support dump and restore. For example, if it was required
to link to a criu library and have the software call checkpoint()
periodically, and to handle restore from the application code as well.

So, have you considered this possibility? Would that be something you
would be interested in having CRIU do? Or do you think that's not what
CRIU is all about and that it would be better handled by a different
project instead?

Cheers!
Filipe


More information about the CRIU mailing list