PTA Upgrade Problems processing filecon rules Failed post db handling semodule: Failed!

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

PTA Upgrade Problems processing filecon rules Failed post db handling semodule: Failed!

L2 Linker

Dear guys.

 

After checking Security Bulletin, we are trying to upgrade our PTA version from 14.2.2 to 14.2.3 but we are having the following issue:

 

Problems processing filecon rules

Failed post db handling

semodule: Failed!

LOG | [2025-07-08|09:36:21|-01] | Failed to install SELinux modules for PTA components

LOG | [2025-07-08|09:36:21|-01] | FAILED - Installing PTA Modules

LOG | [2025-07-08|09:36:21|-01] | Task handleSELinux ended with code 7

 

Our OS is Red Hat Enterprise Linux 8.10.

 

Please, could you help us to resolve this issue?

 

Thanks in advance.

Kind regards,

Juanma.

1 accepted solution

Accepted Solutions

L2 Linker

Dear community,

 

The issue was solved by providing sufficient permissions on the folder where the PTA upgrade file was located. After providing the correct permissions, the PTA upgrade worked properly.

 

This question can be closed.

 

Kind regards,

Juanma

View solution in original post

4 REPLIES 4

L5 Sessionator

Hi,

 

Have you imported CyberArk public key to rpm?

Hi.

 

Thank you for the suggestion. Howerver, I belive the RPM public key is not replated to this specific issue.

 

The error occurs during the SELinux Policy installation phase of the PTA upgrade process.

 

Running pre verifications...                           [ OK ]

SELinux Policy...                                [ FAILED - Installing PTA Modules ]

Upgrade was aborted. Please fix the relevant step, and then re-run the upgrade procedure. The log is available at: /tmp/pta_upgrade.log.

 

After checking the file pta_upgrade.log, we can see the following errors:

 

Problems processing filecon rules

Failed post db handling

semodule: Failed!

LOG | [2025-07-08|09:36:21|-01] | Failed to install SELinux modules for PTA components

LOG | [2025-07-08|09:36:21|-01] | FAILED - Installing PTA Modules

LOG | [2025-07-08|09:36:21|-01] | Task handleSELinux ended with code 7

 

Thanks.

 

L2 Linker

Dear community,

 

The issue was solved by providing sufficient permissions on the folder where the PTA upgrade file was located. After providing the correct permissions, the PTA upgrade worked properly.

 

This question can be closed.

 

Kind regards,

Juanma

L0 Member

I got the same message (Task handleSELinux ended with code 7).

I had forgotten to import CyberArk's GPG key. It used to be optional in the past, but now it's required.

 

I'm posting this here so that the next person who encounters this problem won't have to open a support ticket to find the root cause.

Unfortunatly there is no knowledge base articel available yet explaining the possible reasons of code 7 and the resolutions.

  • 1 accepted solution
  • 204 Views
  • 4 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!