4 Commits

Author SHA1 Message Date
anatasluo
a39bbe377c add support for nginx service dump/restore
1. add --skip-in-flight and --enable-external-masters options

For nginx service, it has a mount point in /run/user
which was used by pam_systemd to store non-essential
runtime files or objects(check more info in pam_systemd manpage).

To support dumpping such a mount point, criu needs enable
--enable-external-masters.

For in flight connections, we simply drop it.

2. restore pid file after restore from systemd

When I use systemd to restore nginx service,
I find that systemd will check pid file and it will
timeout since no value can be found in pid file.

To slove this problem, nvwa will supply this value
for systemd.

Signed-off-by: anatasluo <luolongjuna@gmail.com>
2021-08-06 21:37:54 +08:00
anatasluo
3299128568 add necessary patches from version 0.2
Including following update:
1. do kexec load before criu dump
2. move nvwa socket from tmp to run
3. kexec add x
4. move pin tool from tools to tools/pin

Signed-off-by: anatasluo <luolongjuna@gmail.com>
2021-07-31 14:26:48 +08:00
anatasluo
81599bcded add fork pid support for kernel 4.19
Signed-off-by: anatasluo <luolongjuna@gmail.com>
2021-07-30 02:22:49 +00:00
anatasluo
9bde36ed54 nvwa: update version to v0.1-2
Signed-off-by: anatasluo <luolongjuna@gmail.com>
2021-04-20 15:56:19 +08:00