Comment 8 for bug 118842

Revision history for this message
markus eugster (keuse) wrote :

I found this through a link on dazuko's homepage. Please have a look at http://www.dazuko.org/howto-install.shtml and http://www.dazuko.org/faq.shtml. Perhaps this may help you.
Please read careful 5.1 and 5.2
---------------------------------------
5.2 In /var/log/messages it says "kernel: There is already a security framework initialized, register_security failed. kernel: dazuko: failed to register". What is wrong?

This occurs because another security module is already loaded and is not allowing Dazuko to be loaded. In order to allow multiple security modules, Linux 2.6 supports stacking. Unfortunately some modules do not implement this, which makes it impossible to load additional security modules. Dazuko does support stacking correctly. If you make sure that Dazuko is the first loaded security module, than other modules can also be loaded.

Typically the problem is the "capability" module. You can verify that this is the problem by unloading the "capability" module, loading Dazuko, and then reloading the "capability" module:

# rmmod capability
# insmod ./dazuko.ko
# modprobe capability

If this was indeed the problem, you can usually configure your system to load modules in a specific order. This varies between Linux distributions.

----------------------------------