[ZCM] [ZC] 1159/ 4 Resolve "initgroups.c is an empty object in Mac
OS X "
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Fri May 7 08:09:19 EDT 2004
Issue #1159 Update (Resolve) "initgroups.c is an empty object in Mac OS X "
Status Resolved, Zope/bug+solution medium
To followup, visit:
http://zope.org/Collectors/Zope/1159
==============================================================
= Resolve - Entry #4 by jens on May 7, 2004 8:09 am
Status: Pending => Resolved
Thanks Stefan.
jens
________________________________________
= Comment - Entry #3 by shh on May 7, 2004 6:52 am
Fixed on HEAD and 2_7-branch. Please resolve.
________________________________________
= Comment - Entry #2 by russf on Dec 19, 2003 9:09 pm
Sorry for the noise.
My diff was back-to-front:
diff initgroups.c.orig initgroups.c
16c16,17
< #if defined(__unix__) || defined(unix)
---
> #if defined(__MACH__) && defined(__APPLE__) && defined(__ppc__) || \
> defined(__unix__) || defined(unix)
________________________________________
= Request - Entry #1 by russf on Dec 19, 2003 8:54 pm
using run.py in a startup bundle on Mac OS X (Panther, osx) I get
2003-12-19T16:44:34 INFO(0) Zope initgroups missing from initgroups module
Traceback (most recent call last):
File "/usr/local/zope27b3/lib/python/Zope/Startup/__init__.py", line 338, in dropPrivileges
initgroups.initgroups(effective_user, gid)
AttributeError: 'module' object has no attribute 'initgroups'
This led me to initgroups.c.
diff initgroups.c initgroups.c.orig
16,17c16
< #if defined(__MACH__) && defined(__APPLE__) && defined(__ppc__) || \
< defined(__unix__) || defined(unix)
---
> #if defined(__unix__) || defined(unix)
==============================================================
More information about the Zope-Collector-Monitor
mailing list