httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jerenkra...@apache.org
Subject svn commit: r264866 - in /httpd/httpd/trunk: CHANGES modules/generators/config5.m4
Date Tue, 30 Aug 2005 21:21:22 GMT
Author: jerenkrantz
Date: Tue Aug 30 14:21:18 2005
New Revision: 264866

URL: http://svn.apache.org/viewcvs?rev=264866&view=rev
Log:
mod_cgid: Refuse to work on Solaris 10 due to OS bugs.

PR: 34264

Modified:
    httpd/httpd/trunk/CHANGES
    httpd/httpd/trunk/modules/generators/config5.m4

Modified: httpd/httpd/trunk/CHANGES
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/CHANGES?rev=264866&r1=264865&r2=264866&view=diff
==============================================================================
--- httpd/httpd/trunk/CHANGES [utf-8] (original)
+++ httpd/httpd/trunk/CHANGES [utf-8] Tue Aug 30 14:21:18 2005
@@ -2,6 +2,9 @@
 Changes with Apache 2.3.0
   [Remove entries to the current 2.0 and 2.2 section below, when backported]
 
+  *) mod_cgid: Refuse to work on Solaris 10 due to OS bugs.  PR 34264.
+     [Justin Erenkrantz]
+
   *) SECURITY: CAN-2005-2700 (cve.mitre.org)
      mod_ssl: Fix a security issue where "SSLVerifyClient" was not
      enforced in per-location context if "SSLVerifyClient optional"

Modified: httpd/httpd/trunk/modules/generators/config5.m4
URL: http://svn.apache.org/viewcvs/httpd/httpd/trunk/modules/generators/config5.m4?rev=264866&r1=264865&r2=264866&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/generators/config5.m4 (original)
+++ httpd/httpd/trunk/modules/generators/config5.m4 Tue Aug 30 14:21:18 2005
@@ -14,7 +14,26 @@
 if ap_mpm_is_threaded; then
 # if we are using a threaded MPM, we will get better performance with
 # mod_cgid, so make it the default.
-    APACHE_MODULE(cgid, CGI scripts, , , yes)
+    APACHE_MODULE(cgid, CGI scripts, , , yes, [
+    case $host in
+      *-solaris2*)
+        case `uname -r` in
+          5.10)
+          dnl Eventually, 120664 will be released for Solaris 10.
+          dnl At that point, we can do a showrev -p search for that patch.
+          dnl Solaris 11 (next release) as of snv_19 doesn't have this problem.
+          dnl It may be possible to use /kernel/drv/tl from later releases.
+          AC_MSG_ERROR([mod_cgid is non-functional on Solaris 10.
+This means that threaded MPMs (such as worker MPM) with CGIs will not work.
+This problem is due to an OS bug with AF_UNIX sockets.
+Patches are forthcoming from Sun.
+Please run configure with --disable-cgid or switch to the prefork MPM.
+For more info: <http://issues.apache.org/bugzilla/show_bug.cgi?id=34264>])
+          ;;
+        esac
+        ;;
+    esac
+  ])
     APACHE_MODULE(cgi, CGI scripts, , , no)
 else
 # if we are using a non-threaded MPM, it makes little sense to use



Mime
View raw message