RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1990813 - A "debug" directory created in /var/lib gets the ldconfig_cache_t SELinux type
Summary: A "debug" directory created in /var/lib gets the ldconfig_cache_t SELinux type
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: selinux-policy
Version: 9.0
Hardware: All
OS: Linux
high
high
Target Milestone: beta
: 9.0 Beta
Assignee: Zdenek Pytela
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On: 1887739
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-06 10:11 UTC by Zdenek Pytela
Modified: 2021-12-07 21:37 UTC (History)
10 users (show)

Fixed In Version: selinux-policy-34.1.12-1.el9
Doc Type: No Doc Update
Doc Text:
Clone Of: 1887739
Environment:
Last Closed: 2021-12-07 21:35:16 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-92640 0 None None None 2021-08-06 10:12:39 UTC

Comment 1 Zdenek Pytela 2021-08-06 10:16:02 UTC
Commit to backport:

commit 0fc68a1f54d3789a30461f76f3469b6190be95dd
Author: Zdenek Pytela <zpytela>
Date:   Fri Jul 9 10:50:35 2021 +0200

    Revert "update libs_filetrans_named_content() to have support for /usr/lib/debug directory"


Fedora, RHEL 9, RHEL 8 commit:
commit bbe5ef3b83907f87c5ea8c3feb01c520af6969af
Author: Miroslav Grepl <mgrepl>
Date:   Fri Jan 24 17:18:48 2014 +0100

    update libs_filetrans_named_content() to have support for /usr/lib/debug directory

diff --git a/policy/modules/system/libraries.if b/policy/modules/system/libraries.if
index 9d8f72925..57a68dab5 100644
--- a/policy/modules/system/libraries.if
+++ b/policy/modules/system/libraries.if
@@ -571,10 +571,12 @@ interface(`files_lib_filetrans_shared_lib',`
 #
 interface(`libs_filetrans_named_content',`
        gen_require(`
+        type lib_t;
                type ld_so_cache_t;
                type ldconfig_cache_t;
        ')

+    files_var_lib_filetrans($1,ldconfig_cache_t, dir, "debug")
        files_var_filetrans($1, ldconfig_cache_t, dir, "ldconfig")
        files_etc_filetrans($1, ld_so_cache_t, file, "ld.so.cache")
        files_etc_filetrans($1, ld_so_cache_t, file, "ld.so.cache~")


Note You need to log in before you can comment on or make changes to this bug.