[CRIU] ./crtools check errors

Pavel Emelyanov xemul at parallels.com
Thu Apr 18 08:04:18 EDT 2013


On 04/18/2013 03:51 PM, Qiang Huang wrote:
> On 2013/4/18 19:38, Cyrill Gorcunov wrote:
>> On Thu, Apr 18, 2013 at 07:35:29PM +0800, Qiang Huang wrote:
>>>
>>> hq at ubuntu1210:~/linux-cr$ grep _DIAG .config
>>> CONFIG_PACKET_DIAG=y
>>> CONFIG_UNIX_DIAG=y
>>> CONFIG_INET_DIAG=y
>>> CONFIG_INET_TCP_DIAG=y
>>> CONFIG_INET_UDP_DIAG=y
>>> CONFIG_INET_DCCP_DIAG=m
>>> # CONFIG_NETLINK_DIAG is not set
>>
>> ^^^
>>
>> This one ;)
> 
> I tried it after sent the email, but have no luck :(
> 
> hq at ubuntu1210:~/crtools$ ./crtools check
> (00.000289) Error (sk-unix.c:318): Can't stat socket 7214(./run/udev/control): No such file or directory

This time you lack root privilege level.

> (00.002538) Error (libnetlink.c:53): ERROR -2 reported by netlink
> The sock diag infrastructure is incomplete.
> Make sure you have:
>  1. *_DIAG kernel config options turned on;
>  2. *_diag.ko modules loaded (if compiled as modules).
> prctl: One needs CAP_SYS_RESOURCE capability to perform testing
> (00.002874) Error (sk-tcp.c:54): Can't turn TCP repair mode ON: Operation not permitted
> /proc/sys/kernel/sem_next_id sysctl is missing.
> (00.003580) Error (kerndat.c:91): Dirty tracking support is OFF
> 
> hq at ubuntu1210:~/linux-cr$ grep _DIAG .config
> CONFIG_UNIX_DIAG=y
> CONFIG_INET_DIAG=y
> CONFIG_INET_TCP_DIAG=y
> CONFIG_INET_UDP_DIAG=y
> CONFIG_INET_DCCP_DIAG=m
> CONFIG_NETLINK_DIAG=y
> 
>>
>>>
>>> What did I miss? And thanks in advance~
>>>
>>
>> 	Cyrill
>>
>>
> 
> 
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu
> 




More information about the CRIU mailing list