[PATCH] Updated link to OpenVZ suspend/resume bug

Sergey Kandaurov pluknet at nginx.com
Tue Dec 20 21:49:41 UTC 2022


> On 18 Dec 2022, at 00:01, Maxim Dounin <mdounin at mdounin.ru> wrote:
> 
> # HG changeset patch
> # User Maxim Dounin <mdounin at mdounin.ru>
> # Date 1671306987 -10800
> #      Sat Dec 17 22:56:27 2022 +0300
> # Node ID d3b64770c1e78fa5cef907c35904b21fb8b8e281
> # Parent  3108d4d668e4b907868b815f0441d4c893bf4188
> Updated link to OpenVZ suspend/resume bug.
> 
> diff --git a/src/core/ngx_connection.c b/src/core/ngx_connection.c
> --- a/src/core/ngx_connection.c
> +++ b/src/core/ngx_connection.c
> @@ -660,7 +660,7 @@ ngx_open_listening_sockets(ngx_cycle_t *
>                 /*
>                  * on OpenVZ after suspend/resume EADDRINUSE
>                  * may be returned by listen() instead of bind(), see
> -                 * https://bugzilla.openvz.org/show_bug.cgi?id=2470
> +                 * https://bugs.openvz.org/browse/OVZ-5587
>                  */
> 
>                 if (err != NGX_EADDRINUSE || !ngx_test_config) {

Looks good.

On a related note, I wonder if the bug was ever fixed.
Looking at the bug tracker, it seems not.
OTOH, the bug manifested on linux 2.6.32, while
"OpenVZ can work with unpatched Linux 3.x kernels" (c).
Anyway, the workaround doesn't seem to have noticeable
maintenance costs.

-- 
Sergey Kandaurov


More information about the nginx-devel mailing list