Troubles with loading modular reference policy
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?
Regards,
Tim
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 24 lines · Tymur Korkishko
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.
Quoted 1 line
Any ideas how to fix that?
What versions of the selinux packages are you using? What options did you build them with?
Signature · 8 lines
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 [email protected] with the words "unsubscribe selinux" without quotes as the message.