[CRIU] socket_listen failed

Vagin Andrew avagin at gmail.com
Mon Feb 6 14:01:34 EST 2012


On 02/06/2012 07:34 PM, Kinsbursky Stanislav wrote:
> 06.02.2012 19:18, Cyrill Gorcunov пишет:
>> On Mon, Feb 06, 2012 at 06:56:42PM +0400, Kinsbursky Stanislav wrote:
>>>> + exit 1
>>>> [root at dhcp-10-30-20-19 crtools]# cat 
>>>> /root/crtools/test/zdtm/live/static/socket_listen.out
>>>> ERR: socket_listen.c:133: bind() failed Address already in use 
>>>> (errno = 98)
>>>> ERR: socket_listen.c:42: initializing server failed (errno = 98)
>>> Shit happens...
>>>
>> Stas, is it expected, or something get broken recently?
>>
>>     Cyrill
>
> Expected. It was always broken.
> "Let's say you open a TCP connection. After transmitting data, you 
> close the socket. But in fact, it will be set in TIME_WAIT state 
> (TIME_WAIT == "it's possible that some data have no been delivered 
> yet, or something, so we wait as a cautionous TCP implementation :) ") 
> for a while. You just can't open another connection to the same 
> IP/port, except by using REUSEADDR."
> I've added requested setsockopt(REUSEADDR), but it doesn't work.
It's just because sockopts are not restored
> This bug is not urgent, so I haven't investigate it.
>
It's pretty urgent. I can't execute tests in a loop;).


More information about the CRIU mailing list