[CRIU] criu [PATCH] post-setup-namespaces
Igor Sukhih
igor at virtuozzo.com
Thu Jan 21 23:47:36 PST 2016
On 01/22/2016 05:21 AM, Andrew Vagin wrote:
> On Tue, Jan 19, 2016 at 03:10:12PM +0300, Igor Sukhih wrote:
>> Introduce post-setup-namespaces action script
>>
>> It needed to have possibility to run cutom script after mount
>> namespace is configured
>>
>
> What are you going to do in this script?
>
>
commit 3544439fe0b210eb96f4d3a9c3f799c4d8602424
Author: Igor Sukhih <igor at parallels.com>
Date: Tue Jan 19 17:59:03 2016 +0300
CT restore failed if ploop device minor is changed #PSBM-42672
The restore problem rised because device layer in CT is not
virtualized.
ploop device name is autogenerated and on CT resume can be changed but
in criu image remains old information.
This patch is workarund the problem by creating device:minor mapping
On CT suspend:
* create mapping in the /dev directory by creating symlink
uuid -> /dev/pllopN
On CT restore:
* read old device name from uuid
* recreate old device with new major:minor
Signed-off-by: Igor Sukhih <igor at parallels.com>
More information about the CRIU
mailing list