-
Bug
-
Resolution: Done
-
Undefined
-
None
-
rhel-9.4
-
None
-
No
-
Low
-
rhel-sst-security-special-projects
-
ssg_security
-
None
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
None
-
None
-
None
What were you trying to do that didn't work?
When installing packages as part of multiple transactions, fapolicyd reloads the database again and again even after the last package got installed, as shown in the example below:
# yumdownloader tcsh # for i in {1..100}; do rpm -i tcsh-6.22.03-6.el9.x86_64.rpm; done; date Fri Oct 18 09:48:30 AM CEST 2024
Here above, the script finished at "Fri Oct 18 09:48:30 AM CEST 2024", but fapolicyd took 100% of the CPU while reloading constantly for 50 seconds, as seen in the journal:
Oct 18 09:49:10 vm-fapolicyd9 fapolicyd[5403]: Updated
It hence seems that reloads are stacked instead of being executed just once.
What is the impact of this issue to you?
None, just checking the robustness / efficiency
Please provide the package NVR for which the bug is seen:
fapolicyd-1.3.2-100.el9_4
How reproducible is this bug?:
Always, see above
Expected results
RPMDB reloaded a few times during the RPM transactions but finally once after last RPM transaction executed.
Actual results
N reloads occurring, with N == number of RPM transactions being executed