On Mon, Jun 25, 2012 at 8:56 AM, Newman, Stuart J. (GSFC-444.0)[HONEYWELL TECHNOLOGY SOLUTIONS INC] <stuart.j.newman@nasa.gov> wrote:

I applied the audit2allow.  The start of cobblerd now fails with:

 

root@fiat Desktop]# 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

                                                           [  OK  ]

 

There are no SELinux alerts displayed.


If you're not going to use the authn_pam.py module, rename it (delete the pyo/pyc files) and restart cobblerd. Not sure what the issue is there but I'll look into it.