Start a Conversation

Unsolved

S

1 Rookie

 • 

8 Posts

2173

June 23rd, 2021 02:00

OMSA on RHEL8 SELinux policy installation failed

Hi there,

We're trying to install OMSA 9.5 on RHEL 8 with SELinux enabled.

When installing the SELinux policy, we got error:

--- cut here ---

Failed to resolve typeattributeset statement at /var/lib/selinux/targeted/tmp/modules/400/omsa_connsvc/cil:78

semodule:  Failed!

--- cut here ---

 

We tried to install using setup.sh and dnf install through Dell's Linux repository.  But both got same error when installing the SELinux module omsa_connsvc.  Can emulate the same problem by running the command used in the installation script:

semodule -i /usr/share/selinux/packages/srvadmin/omsa_connsvc.pp

Would anyone help?

Thanks a lot.

Moderator

 • 

3.9K Posts

June 23rd, 2021 08:00

Hello, did you test this procedure in this link?

thanks

Marco

https://dell.to/3d22tX9

1 Rookie

 • 

8 Posts

June 24th, 2021 00:00

Hello,

Thanks for your help.  We tried the way mentioned in the link but didn't found any conflicting files...

Thanks.  Rgds

1 Rookie

 • 

8 Posts

June 24th, 2021 01:00

Hi,

The issue is resolved.

Checked the offending line in /var/lib/selinux/targeted/tmp/modules/400/omsa_connsvc/cil:

(typeattributeset cil_gen_require ipa_tmp_t)

Seems the ipa_tmp_t type is missing.   After installing the ipa-selinux rpm from RH, the omsa_connsvc module can be installed:

# semodule -v -i /usr/share/selinux/packages/srvadmin/omsa_connsvc.pp
Attempting to install module '/usr/share/selinux/packages/srvadmin/omsa_connsvc.pp':
Ok: return value of 0.
Committing changes:
Ok: transaction number 16.

 

Thanks for all your help.

Rgds

 

Moderator

 • 

3.9K Posts

June 24th, 2021 04:00

Thanks for your feedback!

No Events found!

Top