Commits
Andrey Mirkin authored and Pavel Emelianov committed 3a7aae555fa
[CPT] handle killed system processes during checkpointing While checkpointing due to memory shortage CPT processes can be killed and tmpfs will not be saved. During restore we will see such errors: CPT ERR: e0000002ef9c5000,111 :-2 mounting /dev/pts devpts 40000000 CPT ERR: e0000002ef9c5000,111 :rst_namespace: -2 Bug #79854 This happens as /dev is tmpfs now and its content was not saved during checkpointing. We need to check exit status of tar and iptables-save to be sure that they exited normally. Changes from v1: - return -EINVAL in case of error