]> git.pld-linux.org Git - packages/Zope.git/commitdiff
- initgroups() crashes on AMD64 and I don't understand why, so there is this patch...
authorJacek Konieczny <jajcus@pld-linux.org>
Fri, 13 Feb 2004 14:46:59 +0000 (14:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    Zope-no_initgroups.patch -> 1.1

Zope-no_initgroups.patch [new file with mode: 0644]

diff --git a/Zope-no_initgroups.patch b/Zope-no_initgroups.patch
new file mode 100644 (file)
index 0000000..dca9f85
--- /dev/null
@@ -0,0 +1,15 @@
+diff -dur Zope-2.7.0.orig/lib/python/Zope/Startup/__init__.py Zope-2.7.0/lib/python/Zope/Startup/__init__.py
+--- Zope-2.7.0.orig/lib/python/Zope/Startup/__init__.py        2004-01-09 00:34:05.000000000 +0100
++++ Zope-2.7.0/lib/python/Zope/Startup/__init__.py     2004-02-13 15:37:51.114975401 +0100
+@@ -343,8 +343,8 @@
+         raise ZConfig.ConfigurationError(msg)
+     try:
+-        import initgroups
+-        initgroups.initgroups(effective_user, gid)
++        zLOG.LOG("Zope", zLOG.INFO,
++                      'Warning: not calling initgroups() as it seems broken.')
+         os.setgid(gid)
+     except OSError:
+         zLOG.LOG("Zope", zLOG.INFO,
+Only in Zope-2.7.0/lib/python/Zope/Startup: __init__.py~
This page took 0.067331 seconds and 4 git commands to generate.