Re: Cannot load root_plug or capability: Security framework already initialized (2.5.66)

From: Chris Wright (chrisat_private)
Date: Wed May 21 2003 - 10:04:20 PDT

  • Next message: Michael Halcrow: "chmod from LSM"

    * Axelle Apvrille (LMC) (Axelle.Apvrilleat_private) wrote:
    > Hi all,
    > I'm trying to get to load the root_plug module on a Linux kernel 2.5.66 
    > patched with LSM, but the register_security won't:
    > 
    > cd /usr/src/linux-2.5.66/security
    > insmod ./root_plug.ko
    > Error inserting './root_plug.ko': -1 Invalid parameters
    > 
    > And if I go and look in /var/log/messages I see:
    > 
    > May 21 11:40:36 munster kernel: There is already a security framework 
    > initialized, register_security failed.
    > May 21 11:40:36 munster kernel: Failure registering Root Plug module 
    > with the kernel
    > May 21 11:40:36 munster kernel: Failure registering Root Plug  module 
    > with primary security module.
    
    Any chance you've already loaded the capability module?  What's lsmod
    show?  If you haven't loaded it, can you?  Perhaps the problem is just
    with root_plug.
    
    thanks,
    -chris
    -- 
    Linux Security Modules     http://lsm.immunix.org     http://lsm.bkbits.net
    _______________________________________________
    linux-security-module mailing list
    linux-security-moduleat_private
    http://mail.wirex.com/mailman/listinfo/linux-security-module
    



    This archive was generated by hypermail 2b30 : Wed May 21 2003 - 10:06:46 PDT