cobbler/cobbler — Issue #81: python MemoryError in authn_pam.py
Author: jmaas
Created: 2012-03-03 07:46:24+00:00
State: open
Labels: bug

Reproduced on CentOS 6.2 (pytrhon 2.6.6) and Fedora16 (python 2.7.2)

Starting cobbler daemon: Traceback (most recent call last):
File "/usr/bin/cobblerd", line 76, in main
api = cobbler_api.BootAPI(is_cobblerd=True)
File "/usr/lib/python2.6/site-packages/cobbler/api.py", line 127, in __init__
module_loader.load_modules()
File "/usr/lib/python2.6/site-packages/cobbler/module_loader.py", line 62, in load_modules
blip = __import__("modules.%s" % ( modname), globals(), locals(), [modname])
File "/usr/lib/python2.6/site-packages/cobbler/modules/authn_pam.py", line 53, in
from ctypes import CDLL, POINTER, Structure, CFUNCTYPE, cast, pointer, sizeof
File "/usr/lib64/python2.6/ctypes/__init__.py", line 546, in
CFUNCTYPE(c_int)(lambda: None)
MemoryError