Commit 4781e182 authored by Radostin Stoyanov's avatar Radostin Stoyanov Committed by Andrei Vagin

criu(8): Update list of action-script hooks

* "post-resume" was introduced with commit:

 2ab59939
 cr-restore: "post-resume" hook introduced

 This hook is called at the very end, when everything is restored and processes
 were resumed.
 Can be used for some actions, which require operation container, like
 restarting of systemd autofs services.

* "post-setup-namespaces" was introduced with commit:

 eec66f3d
 criu [PATCH] post-setup-namespaces

 Introduce post-setup-namespaces action script

 It needed to have possibility to run cutom script after mount
 namespace is configured

* "orphan-pts-master" was introduced with commit:

 6afe523d
 tty: notify about orphan tty-s via rpc

 Now Docker creates a pty pair from a container devpts to use is as console.
 A slave tty is set as a control tty for the init process and bind-mounted
 into /dev/console. The master tty is handled externelly.

 Now CRIU can handle external resources, but here we have internal resources
 which are used externaly.
Signed-off-by: 's avatarRadostin Stoyanov <rstoyanov1@gmail.com>
parent bac5566f
......@@ -105,13 +105,17 @@ The following levels are available:
*pre-restore*:::
run prior to beginning a *restore*
*post-restore*:::
run upon *restore* completion
*pre-resume*:::
run when all processes and resources are
restored but tasks are stopped waiting for
final kick to run. Must not fail.
*post-restore*:::
run upon *restore* completion
*post-resume*:::
called at the very end, when everything is
restored and processes were resumed
*network-lock*:::
run to lock network in a target network namespace
......@@ -120,10 +124,19 @@ The following levels are available:
run to unlock network in a target network namespace
*setup-namespaces*:::
run once root task just been created
run once root task has just been created
with required namespaces. Note it is an early stage
of restore, when nothing is restored yet except for namespaces
themselves
of restore, when nothing is restored yet, except for
namespaces themselves
*post-setup-namespaces*:::
called after the namespaces are configured
*orphan-pts-master*:::
called after master pty is opened and unlocked. This
hook can be used only in the RPC mode, and the
notification message contains a file descriptor for
the master pty
*-V*, *--version*::
Print program version and exit.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment