Radostin Stoyanov

Results 237 comments of Radostin Stoyanov

> Since it is a big change I would like to get advice about the general direction before starting to implement. I can provide a design doc if it works...

@Rowan-Ye you can use a simple script to modify the content of `files.img`: - https://github.com/stano45/p4containerflow/blob/main/scripts/edit_files_img.py - https://github.com/p4lang/gsoc/tree/main/2024/projects/container_migration You can run this as an [action-script](https://criu.org/Action_scripts) (instead of plugin) and use the...

We use a similar approach to overwrite TCP listen socket ports in [criu-image-streamer](https://github.com/checkpoint-restore/criu-image-streamer/commit/fd83e8521af57af6f171a16205516c6ded63db22).

> Editing files.img ahead of time means we’d have to know that IP in advance, which unfortunately we don’t — hence the “chicken-and-egg” problem on our side. Using a hook...

>Our main use case for this is a fairly complex end‑to‑end Kubernetes setup (CNI, pod lifecycle, service routing, vLLM inference traffic, etc.), so the “real” validation happens in that environment...

@Rowan-Ye Changing the IP address is only part of the solution - how do you tell the connected clients to use a new IP address for established connections? The following...

> Can similar problems occur on x86? @hanwen-flow PAC is an AArch64 architecture feature. The error "PACG support is required" was introduced with https://github.com/checkpoint-restore/criu/pull/2609 and indicates that PAC was used...

@markasoftware-tc This problem has been explored by many people in the past. The [`ns_last_pid`](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=b8f566b04d3cddd192cfd2418ae6d54ac6353792) kernel interface was introduced specifically to enable support for checkpoint/restore. There is even a [set_ns_last_pid](https://github.com/twosigma/set_ns_last_pid) tool...

>would be ideal to restore with an arbitrary new PID There is another project called [DMTCP](https://github.com/dmtcp/dmtcp) that implements similar functionality with something they call "pid virtualization". They use `LD_PRELOAD` to...

@juranvrsk Would it be possible to confirm if this is related to the problem fixed in https://github.com/checkpoint-restore/criu/pull/2712?