On Sat, Nov 12, 2011 at 10:22 AM, James Cammarata <[email protected]> wrote:
> A quick google shows this seems to be an issue with ctypes in python 2.6:
>
> https://bugzilla.redhat.com/show_bug.cgi?id=674369
> http://forums.gentoo.org/viewtopic-t-854298.html
> https://bugs.gentoo.org/329499?id=329499
>
> That last one seems to be the real underlying cause.
After commenting out this line: CFUNCTYPE(c_int)(lambda: None) from
/usr/lib64/python2.6/ctypes/__init__.py line 546
I encountered this:
[root@cobbler modules]# service cobblerd start
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 121, in <module>
PAM_START = LIBPAM.pam_start
File "/usr/lib64/python2.6/ctypes/__init__.py", line 366, in __getattr__
func = self.__getitem__(name)
File "/usr/lib64/python2.6/ctypes/__init__.py", line 371, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/bin/python: undefined symbol: pam_start
[root@cobbler modules]# setenforce 0
[root@cobbler modules]# service cobblerd start
Starting cobbler daemon: [ OK ]
[root@cobbler modules]# ps wwuax|grep cobblerd
root 9621 0.0 2.1 339236 21624 ? S 14:21 0:00
/usr/bin/python /usr/bin/cobblerd --daemonize
root 9627 0.0 0.0 103152 796 pts/0 S+ 14:21 0:00 grep cobblerd
[root@cobbler modules]#
James, is it working for you with selinux enabled/enforcing ?
--
Grtz,
Jörgen Maas
_______________________________________________
cobbler-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler-devel