Facing issue with unconfined_java_t in RHEL7.2 while installing local policy using selinux
Hi,
I am trying to install local policy using selinux command and failing with below error.
semodule -i /opt/ngee/latest/base/conf/selinux/localpolicy.pp libsepol.print_missing_requirements: localpolicy's global requirements were not met: type/attribute unconfined_java_t (No such file or directory). libsemanage.semanage_link_sandbox: Link packages failed (No such file or directory). semodule: Failed!
The
localpolicy.tepolicy_module(localpolicy, 1.0) gen_require(` type unconfined_t; type initrc_exec_t; type initrc_t; type sshd_exec_t; type sshd_t; ') domain_auto_trans(unconfined_t, initrc_exec_t, initrc_t) domain_auto_trans(unconfined_t, sshd_exec_t, sshd_t)
Please find the below rpm installed as part of selinux.
rpm -qa | grep seli libselinux-2.2.2-6.el7.x86_64 selinux-policy-targeted-3.13.1-60.el7.noarch selinux-policy-3.13.1-60.el7.noarch libselinux-python-2.2.2-6.el7.x86_64 libselinux-utils-2.2.2-6.el7.x86_64 libselinux-devel-2.2.2-6.el7.x86_64 selinux-policy-devel-3.13.1-60.el7.noarch
Could you please help to resolve this issue.
Thanks in advance.
Responses