[CRIU] I can't dump mysqld

Yohei Kamitsukasa uhoidx at gmail.com
Sat Aug 6 18:50:52 PDT 2016


On 8/2/16 03:08, Andrew Vagin wrote:

>>> Could you apply the following patch [1] and try again?
>>> [1]: https://patchwork.criu.org/patch/1136/mbox/
>>>
>>> This patch will not fix the problem, but it will show more info about an
>>> error in a log file.
>>>
>>> Thanks,
>>> Andrew
>> Thank you for writing the patch.
>> I applied the patch and show the result.
>>
>> (00.074960) Dump private signals of 1191
>> (00.075032) Dump private signals of 1192
>> (00.075103) Dump shared signals of 1093
>> (00.075308) Parasite syscall_ip at 0x400000
>> (00.076765) Set up parasite blob using memfd
>> (00.076806) Putting parasite blob into 0x7f0174cd9000->0x7fead3688000
>> (00.076866) Dumping GP/FPU registers for 1093
>> (00.076905) Warn  (arch/x86/crtools.c:133): Will restore 1093 with
>> interrupted system call
>> (00.076979) xsave runtime structure
>> (00.077017) -----------------------
>> (00.077061) cwd:37f swd:0 twd:0 fop:0 mxcsr:1fa0 mxcsr_mask:ffff
>> (00.077101) magic1:0 extended_size:0 xstate_bv:0 xstate_size:0
>> (00.077139) xstate_bv: 0
>> (00.077176) -----------------------
>> (00.077215) Putting tsock into pid 1093
>> (00.077604) Error (parasite-syscall.c:528): Unable to connect a transport
>> socket: Permission denied
> Do you use a kernel security module (selinux, apparmor)? I think this
> error may be reported due to their rules. Could you try to disable the
> kernel security module and try to dump the mysql service? We need to
> proof that the problem is really about security modules.
>
> Thanks,
> Andrew
>
I'm sorry to reply late. I had a fever for a few days and was not able 
to do anything.
I tried to turn off apparmor. I could dump mysqld!!
Thank you for your cooperation:)

Thanks,
Yohei Kamitsukasa



More information about the CRIU mailing list