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 2051852 - avc: denied { unlink } for pid=49204 comm="systemd-user-ru"
Summary: avc: denied { unlink } for pid=49204 comm="systemd-user-ru"
Keywords:
Status: CLOSED DUPLICATE of bug 2000039
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: selinux-policy
Version: 9.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Zdenek Pytela
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-08 07:58 UTC by Frank Liang
Modified: 2022-07-07 09:51 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-02-08 12:46:05 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)
os_tests.tests.test_general_check.TestGeneralCheck.test_check_avclog.debug (3.96 KB, text/plain)
2022-02-08 07:58 UTC, Frank Liang
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-111431 0 None None None 2022-02-08 08:10:50 UTC

Description Frank Liang 2022-02-08 07:58:41 UTC
Created attachment 1859718 [details]
os_tests.tests.test_general_check.TestGeneralCheck.test_check_avclog.debug

Description of problem:
Found below denied logs from RHEL-9(RHEL-9.0.0-20220207.2) testing.

#  ausearch -i -m AVC -ts today
----
type=PROCTITLE msg=audit(02/08/2022 03:30:57.045:1019) : proctitle=/usr/lib/systemd/systemd-user-runtime-dir stop 1000
type=SYSCALL msg=audit(02/08/2022 03:30:57.045:1019) : arch=x86_64 syscall=unlinkat success=no exit=EACCES(Permission denied) a0=0x3 a1=0x5651b16f7a43 a2=0x0 a3=0x9b items=0 ppid=1 pid=49204 auid=unset uid=root gid=root euid=root suid=root fsuid=root egid=root sgid=root fsgid=root tty=(none) ses=unset comm=systemd-user-ru exe=/usr/lib/systemd/systemd-user-runtime-dir subj=system_u:system_r:systemd_logind_t:s0 key=(null)
type=AVC msg=audit(02/08/2022 03:30:57.045:1019) : avc:  denied  { unlink } for  pid=49204 comm=systemd-user-ru name=bus dev="tmpfs" ino=15 scontext=system_u:system_r:systemd_logind_t:s0 tcontext=unconfined_u:object_r:session_dbusd_tmp_t:s0 tclass=sock_file permissive=0

INFO:Run on remote: rpm -qa selinux\* container\* | sort
INFO:CMD ret: 0 out:containernetworking-plugins-1.0.1-3.el9.x86_64
containers-common-1-13.el9.noarch
container-selinux-2.176.0-1.el9.noarch
selinux-policy-34.1.23-1.el9.noarch
selinux-policy-targeted-34.1.23-1.el9.noarch
 
RHEL Version:
RHEL-9.0(5.14.0-55.el9.x86_64)

How reproducible:
100%

Steps to Reproduce:
1. Start a RHEL-9 instance on aws
2. Run 'ausearch -i -m AVC -ts today'

Actual results:
New deny log found

Expected results:
No avc deny log found by default

Additional info:
- N/A

Comment 1 Zdenek Pytela 2022-02-08 12:46:05 UTC

*** This bug has been marked as a duplicate of bug 2000039 ***


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