CRIU doesn't restore IPv6 addresses (maybe multiple addresses in general)
Bug #1578702 reported by
Stéphane Graber
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
criu (Ubuntu) |
Triaged
|
High
|
Unassigned |
Bug Description
When migrating a container that has:
- A global IPv4 (10...)
- A global IPv6 (2001:...)
- A link-local IPv6 (fe80:...)
Only the IPv4 and the IPv6 link-local address is restored, the global IPv6 isn't.
Changed in criu (Ubuntu): | |
importance: | Undecided → High |
status: | New → Triaged |
To post a comment you must log in.
An update on this:
CRIU uses `ip addr save` and `ip addr restore` to save and restore ip addresses for interfaces after it has created the interfaces themselves. `ip addr save` definitely saves ipv6 addresses in the cases where this fails, but `ip addr restore` does not restore them.
I patched iproute2, and it seems like it is indeed sending the correct messages (with NLM_F_ACK, no less), and the kernel is just dropping them on the floor and not responding with an error. I'm working on figuring out why this is, but at least for now it's not obvious :)