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 2040301 - avc: denied { read } for pid=1094371 comm="busybox-extras" path="/lib/ld-musl-x86_64.so.1" dev="sda9" ino=269733375 scontext=system_u:system_r:container_t:s0:c125,c559 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file permissive=0
Summary: avc: denied { read } for pid=1094371 comm="busybox-extras" path="/lib/ld-m...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: container-selinux
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Daniel Walsh
QA Contact: atomic-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-13 12:13 UTC by Bruno Goncalves
Modified: 2022-01-14 21:00 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-01-14 21:00:44 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-107819 0 None None None 2022-01-13 12:18:36 UTC

Description Bruno Goncalves 2022-01-13 12:13:00 UTC
Description of problem:
During CKI tests we've start to hit the issue below, the issue seems to trigger after we run podman tests [1] as non-root user like [2]:

time->Wed Jan 12 20:43:47 2022
type=PROCTITLE msg=audit(1642038227.199:5403): proctitle=2F62696E2F62757379626F782D657874726173006874747064002D66002D70003830
type=SYSCALL msg=audit(1642038227.199:5403): arch=c000003e syscall=10 success=no exit=-13 a0=7ff7d4bed000 a1=1000 a2=1 a3=7ff7d4bf0940 items=0 ppid=1094368 pid=1094371 auid=0 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=2 comm="busybox-extras" exe="/bin/busybox-extras" subj=system_u:system_r:container_t:s0:c125,c559 key=(null)
type=AVC msg=audit(1642038227.199:5403): avc:  denied  { read } for  pid=1094371 comm="busybox-extras" path="/lib/ld-musl-x86_64.so.1" dev="sda9" ino=269733375 scontext=system_u:system_r:container_t:s0:c125,c559 tcontext=unconfined_u:object_r:var_lib_t:s0 tclass=file permissive=0
----

Version-Release number of selected component (if applicable):
selinux-policy-34.1.22-1.el9.noarch
container-selinux-2.172.1-1.el9

How reproducible:
it seems easily reproducible at least on cki environment

Steps to Reproduce:
1. run podman test [1]
2.
3.


Additional info:
[1] https://gitlab.com/cki-project/kernel-tests/-/tree/main/container/podman
[2] https://s3.amazonaws.com/arr-cki-prod-trusted-artifacts/trusted-artifacts/446779710/test%20x86_64/1968670551/artifacts/run.done.01/job.01/recipes/11278593/tasks/15/logs/taskout.log

Comment 1 Bruno Goncalves 2022-01-13 12:13:29 UTC
cki tracker issue: https://datawarehouse.cki-project.org/issue/898

Comment 2 Daniel Walsh 2022-01-14 21:00:44 UTC
This looks like you have a mislabeled system under /var

restorecon -R -v /var/lib

Should fix the issue.

This is not something that container-selinux can fix.


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