Proposed F19 Feature: Checkpoint/Restore

Adrian Reber adrian at lisas.de
Thu Jan 24 15:58:25 UTC 2013


On Wed, Jan 23, 2013 at 03:37:46PM -0500, Josh Boyer wrote:
> On Wed, Jan 23, 2013 at 2:35 PM, Jaroslav Reznik <jreznik at redhat.com> wrote:
> > To offer the checkpoint/restore functionality the package crtools has been
> > imported into Fedora and changes are still necessary to the kernel RPM.
> 
> The CRIU page doesn't say you need CONFIG_NAMESPACES enabled to use CRIU.
> Also, there is nothing in the kernel Kconfig dependencies that would
> select or require that set to turn on CONFIG_CHECKPOINT_RESTORE.  Could
> you be more explicit as to why you need namespaces turned on?

CONFIG_NAMESPACES took me some time to find out. I actually need
CONFIG_CHECKPOINT_RESTORE which requires CONFIG_EXPERT. I also need (for
restore) CONFIG_PID_NS which is enabled in config-generic

config-generic:CONFIG_PID_NS=y

Looking at the config of a built kernel I see that it is not enabled.
Looking at init/Kconfig I see that CONFIG_PID_NS is only enabled if
CONFIG_NAMESPACES is enabled.

CONFIG_NAMESPACES seems to be required to make all those activated _NS
options actually enabled:

config-generic:CONFIG_PID_NS=y
config-generic:CONFIG_UTS_NS=y
config-generic:CONFIG_IPC_NS=y
config-generic:CONFIG_NET_NS=y

		Adrian


More information about the devel mailing list