Comment 2 for bug 271089

Revision history for this message
William Grant (wgrant) wrote : Re: wsgi 2.0 should not be used!

Please sync mod-wsgi 2.3-1 from sid.
This doesn't need a FFe, as the only new "feature" is FreeBSD-specific.

 mod-wsgi (2.3-1) unstable; urgency=low

   * New upstream release (Closes: #496067). This upload covers the changes of
     mod-wsgi 2.2 and 2.3.
     mod-wsgi 2.2 is mainly bugfix-releases. The only exception is a backport
     of one function from 3.0 which allows the setting of process names on *BSD
     - this does not affect Linux.
     mod-wsgi 2.3 fixes regressions which were introduced in 2.2.

     Here follows a list of the bugfixes in 2.2:
       1. Fix bug whereby if mod_python is loaded at same time as mod_wsgi the
          WSGIImportScript directive can cause Apache child processes to crash.
          For details see: http://code.google.com/p/modwsgi/issues/detail?id=91

       2. Fix bug where mod_wsgi daemon process startup could fail due to old
          stale UNIX listener socket file as described in:
          http://code.google.com/p/modwsgi/issues/detail?id=77

       3. Fix bug where listener socket file descriptors for daemon processes
          were being leaked in Apache parent process on a graceful restart.
          Also fixes problem where UNIX listener socket was left in filesystem
          on both graceful restart and graceful shutdown. For details see:
          http://code.google.com/p/modwsgi/issues/detail?id=95

       4. Fix bug where response was truncated when a null character appeared
          as first character in block of data being returned from
          wsgi.file_wrapper.
          Only occurred when code fell back to using iteration over supplied
          file like object, rather than optimised method such as sendfile().
          http://code.google.com/p/modwsgi/issues/detail?id=100

     The following regressions/bugs of 2.2 were fixed in 2.3:

       1. Fixed problem introduced in version 2.2 of mod_wsgi whereby use of
          daemon mode would cause CGI scripts to fail. It is quite possible
          that the bug could also have caused failures with other Apache
          modules that relied on registering of cleanup functions against
          Apache configuration memory pool.

       2. (does not affect Linux)
          When using setproctitle() on BSD systems, first argument should be
          a printf style format string with values to fill out per format as
          additional arguments. Code was supplying value to be displayed as
          format string which meant that if it contained any printf type format
          sequences, could cause process to crash as corresponding arguments
          wouldn't have ben provided.

 -- Bernd Zeimetz <email address hidden> Sat, 23 Aug 2008 19:27:48 +0200
mod-wsgi (2.1-2) unstable; urgency=medium

   * Calling pyversions in postinst requires that 'python' is installed and
     configured, so it would need to be added to Pre-Depends. As this is kinda
     ugly, we ship the symlink to the module for the right Python version now
     in the package. I assume that this will really fix #483197 now, I'm quite
     sure that the broken link results from an error message of the
     unconfigured python/pyversions. Shipping the symlink also makes sure that
     it is available while Apache is configured (which may happen before
     mod-wsgi is configured). (Closes: #483197, #491478)
   * Drop the parts from the maintainer scripts which renamed the wsgi config
     files (see #456737 for details) - as mod-wsgi was not released with Etch
     and the fix was for a long enough time in testing, it should be safe to
     remove them before Lenny.

 -- Bernd Zeimetz <email address hidden> Mon, 21 Jul 2008 01:20:43 +0200
mod-wsgi (2.1-1) unstable; urgency=low

   * New upstream release.
   * debian/libapache2-mod-wsgi.rtupdate:
     - Fixing bashism. Thanks to Vitaliyi (Closes: #483197)
   * debian/copyright:
     - Removing full text of the Apache License, linking to
       /usr/share/common-licenses/Apache-2.0 instead.
   * debian/wsgi.conf:
     - Removing WSGIPythonExecutable directive from the example configuration
       as it does not exist in 2.X versions of mod-wsgi. Thanks to Martin
       Tomasek for the report. (Closes: #488982)

 -- Bernd Zeimetz <email address hidden> Mon, 07 Jul 2008 00:37:50 +0200