Description
Hi,
Today while using CRIU (v3.18) I got an error:
"Unable to create a ipv6 dgram socket: Address family not supported by protocol", when dumping the process and also when trying to do
criu check
Steps to reproduce the issue:
A machine with disabled IPv6.
Artificially can be reproduced by editing value of variables in /etc/default/grub file:
GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1"
# (If there were any other parameters here, such as "quiet splash," simply separate that parameter from the new one with a space (e.g., GRUB_CMDLINE_LINUX_DEFAULT="quiet spash ipv6.disable=1"))
GRUB_CMDLINE_LINUX="ipv6.disable=1"
and furthere system rebooting:
sudo reboot
Run command:
criu check
or dump process
criu dump -t $PID
Describe the results you received:
for both criu check and criu dump i got
Error (criu/kerndat.c:1581): Unable to create a ipv6 dgram socket: Address family not supported by protocol
Error (criu/kerndat.c:1839): kerndat_has_ipv6_freebind failed when initializing kerndat.
Error (criu/crtools.c:263): Could not initialize kernel features detection.
Describe the results you expected:
for criu check
Looks good.
for criu dump: Successful dump
CRIU logs and information:
Output of `criu --version`:
```
Version: 3.18
GitID: v3.18-57-g504d05197
```
Output of `criu check --all`:
```
Error (criu/kerndat.c:1581): Unable to create a ipv6 dgram socket: Address family not supported by protocol
Error (criu/kerndat.c:1839): kerndat_has_ipv6_freebind failed when initializing kerndat.
Error (criu/crtools.c:263): Could not initialize kernel features detection.
```
Additional environment details:
result of command uname -a
Linux 5.19.0-46-generic #47~22.04.1-Ubuntu SMP Wed Jun 21 15:35:31 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Description Hi, Today while using CRIU (v3.18) I got an error:
"Unable to create a ipv6 dgram socket: Address family not supported by protocol"
, when dumping the process and also when trying to doSteps to reproduce the issue:
and furthere system rebooting:
or dump process
Describe the results you received: for both
criu check
andcriu dump
i gotDescribe the results you expected: for
criu check
for
criu dump
: Successful dumpCRIU logs and information:
Output of `criu --version`:
``` Version: 3.18 GitID: v3.18-57-g504d05197 ```
Output of `criu check --all`:
``` Error (criu/kerndat.c:1581): Unable to create a ipv6 dgram socket: Address family not supported by protocol Error (criu/kerndat.c:1839): kerndat_has_ipv6_freebind failed when initializing kerndat. Error (criu/crtools.c:263): Could not initialize kernel features detection. ```
Additional environment details: result of command
uname -a