Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 2173479

Summary: AVC denied comm="rm" path="/run/chrony-dhcp/eno1.sources" dev="tmpfs"
Product: Red Hat Enterprise Linux 9 Reporter: Hekai Wang <hewang>
Component: selinux-policyAssignee: Nikola Knazekova <nknazeko>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: unspecified Docs Contact:
Priority: high    
Version: 9.0CC: lvrabec, mmalik, ssekidde, zpytela
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-02-27 16:06:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
avc log none

Description Hekai Wang 2023-02-27 03:49:12 UTC
Created attachment 1946653 [details]
avc log

Description of problem:
AVC denied comm="rm" path="/run/chrony-dhcp/eno1.sources" dev="tmpfs"

Version-Release number of selected component (if applicable):
RHEL-9.0.0-updates-20230222.33
AppStream: kernel-5.14.0-70.43.1.el9_0
BaseOS: kernel-5.14.0-70.43.1.el9_0

SELinux status:                 enabled
SELinuxfs mount:                /sys/fs/selinux
SELinux root directory:         /etc/selinux
Loaded policy name:             targeted
Current mode:                   permissive
Mode from config file:          enforcing
Policy MLS status:              enabled
Policy deny_unknown status:     allowed
Memory protection checking:     actual (secure)
Max kernel policy version:      33
selinux-policy-34.1.29-1.el9_0.3.noarch


How reproducible:
Always 

Steps to Reproduce:
1.
2.
3.

Actual results:
AVC denied 

Expected results:
It works fine .

Additional info:

Comment 3 Zdenek Pytela 2023-02-27 16:06:27 UTC
This issue was reported for selinux-policy-34.1.29-1.el9_0.3.noarch.

RHEL 9.1 contains 
204         chronyd_manage_pid_files(dhcpc_t)
in policy/modules/system/sysnetwork.te

so the issue has already been addressed.
(Please disregard #c2.)

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