Your message dated Wed, 14 Apr 2010 06:32:28 +0000
with message-id <[email protected]>
and subject line Bug#577456: fixed in nginx 0.7.65-5
has caused the Debian Bug report #577456,
regarding nginx: Fix reloading with IPv6 addresses
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
577456: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=577456
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: nginx
Version: 0.7.65-4
Severity: normal
Tags: patch

The function ngx_cmp_sockaddr contained a typo which prevented nginx
from reloading, because nginx tried to add a socket multiple times
to an epoll descriptor.

--- src/core/ngx_cycle.c~       2009-10-26 17:22:24.000000000 +0100
+++ src/core/ngx_cycle.c        2010-04-11 21:14:43.997932783 +0200
@@ -847,7 +847,7 @@
         sin61 = (struct sockaddr_in6 *) sa1;
         sin62 = (struct sockaddr_in6 *) sa2;
 
-        if (sin61->sin6_port != sin61->sin6_port) {
+        if (sin61->sin6_port != sin62->sin6_port) {
             return NGX_DECLINED;
         }

If nginx listened on an IPv6 address on multiple ports (e.g. [::]:80
and [::]:443), the port is ignored and thus a socket is added multiple
times, because the sockets are kept an a linked list and once a match
is found the list is not searched any further and the first socket
gets always selected and added via epoll_ctl.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages nginx depends on:
ii  libc6                   2.10.2-6         Embedded GNU C Library: Shared lib
ii  libgeoip1               1.4.6.dfsg-19    A non-DNS IP-to-country resolver l
ii  libpcre3                7.8-3            Perl 5 Compatible Regular Expressi
ii  libssl0.9.8             0.9.8n-1         SSL shared libraries
ii  lsb-base                3.2-23           Linux Standard Base 3.2 init scrip
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

nginx recommends no packages.

nginx suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: nginx
Source-Version: 0.7.65-5

We believe that the bug you reported is fixed in the latest version of
nginx, which is due to be installed in the Debian FTP archive:

nginx-dbg_0.7.65-5_amd64.deb
  to main/n/nginx/nginx-dbg_0.7.65-5_amd64.deb
nginx_0.7.65-5.debian.tar.gz
  to main/n/nginx/nginx_0.7.65-5.debian.tar.gz
nginx_0.7.65-5.dsc
  to main/n/nginx/nginx_0.7.65-5.dsc
nginx_0.7.65-5_amd64.deb
  to main/n/nginx/nginx_0.7.65-5_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Kartik Mistry <[email protected]> (supplier of updated nginx package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 14 Apr 2010 11:36:48 +0530
Source: nginx
Binary: nginx nginx-dbg
Architecture: source amd64
Version: 0.7.65-5
Distribution: unstable
Urgency: low
Maintainer: Jose Parrella <[email protected]>
Changed-By: Kartik Mistry <[email protected]>
Description: 
 nginx      - small, but very powerful and efficient web server and mail proxy
 nginx-dbg  - Debugging symbols for nginx
Closes: 577456
Changes: 
 nginx (0.7.65-5) unstable; urgency=low
 .
   [Kartik Mistry]
   * debian/patches/fix_reloading_ipv6.diff:
     + Added patch to fix reloading with IPv6 addresses, Thanks to
       Matthias-Christian Ott <[email protected]> for patch (Closes: #577456)
Checksums-Sha1: 
 9a1d055ce1ecfe880fe85f088de6a2256677aad2 1297 nginx_0.7.65-5.dsc
 c9dfe1e288819e640ec77adf77867131fb5890ab 23889 nginx_0.7.65-5.debian.tar.gz
 d7ae58b88ec599135c7f65605f6748c9e8bf9ba0 351464 nginx_0.7.65-5_amd64.deb
 d0373c3d844aaa960b6899c0158e1f38e4d29cc5 1938562 nginx-dbg_0.7.65-5_amd64.deb
Checksums-Sha256: 
 b0909817b4dcdc3445dc5899463ad9f3bb23a51572ac69c54835bf7a25943f4b 1297 
nginx_0.7.65-5.dsc
 b3cfad6dfb7f1d48c1b66cfa0128592990ebf323720d89b243fe2260d99ee613 23889 
nginx_0.7.65-5.debian.tar.gz
 b1e9f22e2c668d302cdca39bda445c6997283e01a5127dac75ab2cef3ff4864d 351464 
nginx_0.7.65-5_amd64.deb
 a2b823714fdd0ebd36c8a6111cb6d91d1478809a583e810529b98033a32b3e38 1938562 
nginx-dbg_0.7.65-5_amd64.deb
Files: 
 9edbc0a67455b023839755834b4b945a 1297 httpd optional nginx_0.7.65-5.dsc
 d898323e2e683a2545bffded4443aec8 23889 httpd optional 
nginx_0.7.65-5.debian.tar.gz
 1ca7f1aa02614c5a0b3c4d9ff7026d84 351464 httpd optional nginx_0.7.65-5_amd64.deb
 e0007ea23770fe322dd8ed1da444fcb7 1938562 debug extra 
nginx-dbg_0.7.65-5_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkvFXaQACgkQoRg/jtECjI2iFgCgmRR+jJSQd7LRPdi035vkaT6k
0scAnRDBZ1IRsug/BEsTfin9A470cETr
=mCIO
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to