https://bugs.exim.org/show_bug.cgi?id=1775
--- Comment #2 from Kirill Miazine <[email protected]> --- I understand there may be doubts about adding a retry mechanism to attempt to bind() several times. Exim itself has this commeint in daemon.c: /* Now bind the socket to the required port; if Exim is being restarted it may not always be possible to bind immediately, even with SO_REUSEADDR set, so try 10 times, waiting between each try. After 10 failures, we give up. In an IPv6 environment, if bind () fails with the error EADDRINUSE and we are doing wildcard IPv4 listening and there was a previous IPv6 wildcard address for the same port, ignore the error on the grounds that we must be in a system where the IPv6 socket accepts both kinds of call. This is necessary for (some release of) USAGI Linux; other IP stacks fail at the listen() stage instead. */ Why not have the same in the tests? In any case, the mkdirs could anyway be moved till after bind() has been successful. -- You are receiving this mail because: You are on the CC list for the bug. -- ## List details at https://lists.exim.org/mailman/listinfo/exim-dev Exim details at http://www.exim.org/ ##
