selinux December 2008 archive
Main Archive Page > Month Archives  > selinux archives
selinux: Re: Troubles with loading modular reference policy

Re: Troubles with loading modular reference policy

From: Stephen Smalley <sds_at_nospam>
Date: Wed Dec 10 2008 - 13:37:04 GMT
To: Tymur Korkishko <timasyk@gmail.com>


On Wed, 2008-12-10 at 11:45 +0900, Tymur Korkishko wrote:
> Hello!
>
> I'm trying to compile modular reference policy.
> After successful compilation (make policy) and installation (make
> install) I'm trying to load the policy by "make load".
> However, result is as following:
>
> # make load
> Loading configured modules.
> /usr/sbin/semodule -s refpolicy_modular -b
> /usr/share/selinux/refpolicy_modular/base.pp -i
> /usr/share/selinux/refpolicy_modular/acct.pp ... [skipped all modules
> list]
> Traceback (most recent call last):
> File "/usr/sbin/genhomedircon", line 29, in <module>
> import selinux
> File "/usr/lib/python2.5/site-packages/selinux/__init__.py", line 7,
> in <module>
> import _selinux
> ImportError: /usr/lib/python2.5/site-packages/selinux/_selinux.so:
> undefined symbol: avc_get_initial_sid
> libsemanage.semanage_install_sandbox: genhomedircon returned error code 1.
>
>
> Any ideas how to fix that?

What versions of the selinux packages are you using? What options did you build them with? -- Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with the words "unsubscribe selinux" without quotes as the message.