[CRIU] crtools - TCP dumping within a network namespace
Pavel Emelyanov
xemul at parallels.com
Mon Apr 29 08:18:26 EDT 2013
On 04/25/2013 10:25 PM, Dilip Daya wrote:
> On Thu, 2013-04-25 at 22:18 +0400, Cyrill Gorcunov wrote:
>> On Thu, Apr 25, 2013 at 01:52:04PM -0400, Dilip Daya wrote:
>>>
>>> So, I guess as you've all stated thus far, crtools is not supported
>>> within a network-namespace as of yet.
>>
>> I fear so. We're thinking on what can we do. Stay tuned.
>
> On seconds thoughts, I looked at the dump.log carefully, i.e.
>
> (I'm thinking aloud...)
>
> ...
> (00.026529) 5840 fdinfo 4: pos: 0xffffffffffffffff flags:
> 100000/0
> (00.026547) Dumping path for 4 fd via self 53 [net:[4026532332]]
> (00.026557) Error (files-reg.c:349): No directory for original file
> found in net:[4026532332]. Unsupported file.
> ...
>
> => /proc/5840/ns/net -> net:[4026532332]
Yup, this is how ns files work in proc :( We will definitely need to add support
for them. Thank you for the report, we'll fix it after v0.5 (coming out soon).
> The PID 5840 is really the "tcp-howto" client process, so
> I would not need its netns space and not sure how you will
> close this file. I'll leave it for you guys to figure...I think the only
> time this file is closed/removed if your kill the PID
>
> Thanks for all your help.
>
> -DilipD.
>
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu
>
More information about the CRIU
mailing list