Changes

Jump to navigation Jump to search
624 bytes added ,  22:48, 5 February 2020
m
formatting/wording nits
Line 52: Line 52:  
* <code>full</code>. Always restore all cgroups and their properties.
 
* <code>full</code>. Always restore all cgroups and their properties.
 
* <code>strict</code>. Restore all cgroups and their properties from the scratch, requiring them to not present in the system.
 
* <code>strict</code>. Restore all cgroups and their properties from the scratch, requiring them to not present in the system.
 +
* <code>ignore</code>. Don't deal with cgroups and pretend that they don't exist.
    
By default, <code>soft</code> is assigned if <code>--manage-cgroups</code> option passed without an argument (i.e. the same as <code>--manage-cgroups=soft</code>).
 
By default, <code>soft</code> is assigned if <code>--manage-cgroups</code> option passed without an argument (i.e. the same as <code>--manage-cgroups=soft</code>).
 +
 +
== External CGroup yard ==
 +
The option syntax is <code>--cgroup-yard path</code>.
 +
 +
Instead of trying to mount cgroups in CRIU, provide a path to a directory with already created cgroup yard. Useful if you don't want to grant <code>CAP_SYS_ADMIN</code> to CRIU. For every cgroup mount there should be exactly one directory. If there is only one controller in this mount, the dir's name should be just the name of the controller. If there are multiple controllers co-mounted, the directory name should be a comma-separated list of controllers.
    
[[Category:Under the hood]]
 
[[Category:Under the hood]]

Navigation menu