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 1728196 - Got 'denied' in audit.log for plymouth, modprobe and tmpwatch on compute node
Summary: Got 'denied' in audit.log for plymouth, modprobe and tmpwatch on compute node
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: selinux-policy
Version: 8.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Zdenek Pytela
QA Contact: Milos Malik
URL:
Whiteboard:
: 1743772 (view as bug list)
Depends On:
Blocks: 1743772
TreeView+ depends on / blocked
 
Reported: 2019-07-09 09:57 UTC by Sasha Smolyak
Modified: 2022-01-05 13:43 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1743772 (view as bug list)
Environment:
Last Closed: 2021-02-01 07:42:00 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
audit.log (223.82 KB, application/x-xz)
2019-07-09 09:57 UTC, Sasha Smolyak
no flags Details

Description Sasha Smolyak 2019-07-09 09:57:54 UTC
Created attachment 1588669 [details]
audit.log

Description of problem:
On compute and ceph nodes got "denied" when checking /var/log/audit/audit.log"
Compute:
[heat-admin@compute-1 ~]$ sudo cat /var/log/audit/audit.log | grep denied
type=AVC msg=audit(1562508743.188:39): avc:  denied  { execute_no_trans } for  pid=1219 comm="modprobe" path="/usr/bin/bash" dev="vda2" ino=4215568 scontext=system_u:system_r:openvswitch_load_module_t:s0 tcontext=system_u:object_r:shell_exec_t:s0 tclass=file permissive=1
type=AVC msg=audit(1562508745.961:81): avc:  denied  { sendto } for  pid=865 comm="chronyd" path="/run/chrony/chronyc.2707.sock" scontext=system_u:system_r:chronyd_t:s0 tcontext=system_u:system_r:cloud_init_t:s0 tclass=unix_dgram_socket permissive=1
type=AVC msg=audit(1562508756.013:83): avc:  denied  { sendto } for  pid=865 comm="chronyd" path="/run/chrony/chronyc.2719.sock" scontext=system_u:system_r:chronyd_t:s0 tcontext=system_u:system_r:cloud_init_t:s0 tclass=unix_dgram_socket permissive=1
type=AVC msg=audit(1562513521.954:5767): avc:  denied  { read } for  pid=54302 comm="logrotate" name="qemu" dev="vda2" ino=1012139 scontext=system_u:system_r:logrotate_t:s0-s0:c0.c1023 tcontext=system_u:object_r:container_file_t:s0 tclass=dir permissive=0
type=AVC msg=audit(1562513521.955:5768): avc:  denied  { read } for  pid=54302 comm="logrotate" name="openvswitch" dev="vda2" ino=1012142 scontext=system_u:system_r:logrotate_t:s0-s0:c0.c1023 tcontext=system_u:object_r:container_file_t:s0 tclass=dir permissive=0
type=AVC msg=audit(1562556122.068:12339): avc:  denied  { read } for  pid=178739 comm="logrotate" name="qemu" dev="vda2" ino=1012139 scontext=system_u:system_r:logrotate_t:s0-s0:c0.c1023 tcontext=system_u:object_r:container_file_t:s0 tclass=dir permissive=0
type=AVC msg=audit(1562556122.069:12340): avc:  denied  { read } for  pid=178739 comm="logrotate" name="openvswitch" dev="vda2" ino=1012142 scontext=system_u:system_r:logrotate_t:s0-s0:c0.c1023 tcontext=system_u:object_r:container_file_t:s0 tclass=dir permissive=0
type=AVC msg=audit(1562599436.934:18537): avc:  denied  { connectto } for  pid=301555 comm="plymouth" path=002F6F72672F667265656465736B746F702F706C796D6F75746864 scontext=system_u:system_r:iptables_t:s0 tcontext=system_u:system_r:plymouthd_t:s0 tclass=unix_stream_socket permissive=0
type=AVC msg=audit(1562599436.940:18539): avc:  denied  { connectto } for  pid=301561 comm="plymouth" path=002F6F72672F667265656465736B746F702F706C796D6F75746864 scontext=system_u:system_r:iptables_t:s0 tcontext=system_u:system_r:plymouthd_t:s0 tclass=unix_stream_socket permissive=0


Ceph:
[heat-admin@ceph-0 ~]$ sudo cat /var/log/audit/audit.log | grep denied
type=AVC msg=audit(1562508548.724:40): avc:  denied  { execute_no_trans } for  pid=1212 comm="modprobe" path="/usr/bin/bash" dev="vda2" ino=4215568 scontext=system_u:system_r:openvswitch_load_module_t:s0 tcontext=system_u:object_r:shell_exec_t:s0 tclass=file permissive=1
type=AVC msg=audit(1562508551.990:82): avc:  denied  { sendto } for  pid=877 comm="chronyd" path="/run/chrony/chronyc.2725.sock" scontext=system_u:system_r:chronyd_t:s0 tcontext=system_u:system_r:cloud_init_t:s0 tclass=unix_dgram_socket permissive=1
type=AVC msg=audit(1562508552.402:83): avc:  denied  { sendto } for  pid=877 comm="chronyd" path="/run/chrony/chronyc.2763.sock" scontext=system_u:system_r:chronyd_t:s0 tcontext=system_u:system_r:cloud_init_t:s0 tclass=unix_dgram_socket permissive=1

Version-Release number of selected component (if applicable):
openvswitch-selinux-extra-policy-1.0-16.el8fdp.noarch
container-selinux-2.94-1.git1e99f1d.module+el8.0.0+2958+4e823551.noarch
selinux-policy-targeted-3.14.1-61.el8_0.1.noarch
python3-libselinux-2.8-6.el8.x86_64
libselinux-utils-2.8-6.el8.x86_64
libselinux-ruby-2.8-6.el8.x86_64
libselinux-2.8-6.el8.x86_64
rpm-plugin-selinux-4.14.2-9.el8.x86_64
selinux-policy-3.14.1-61.el8_0.1.noarch
openstack-selinux-0.8.19-0.20190606150404.06faac7.el8ost.noarch


How reproducible:
100%

Steps to Reproduce:
1. Deploy overcloud 3 controllers, 2 computes, 3 cephs
2. On compute check audit.log: sudo cat /var/log/audit/audit.log | grep denied

Actual results:
Get 'denied' messages

Expected results:
Clear log

Additional info:
log attached

Comment 1 Julie Pichon 2019-07-09 13:19:16 UTC
Moving to RHEL based on the components mentioned in the subject. (The other AVCs not mentioned there appear to be tracked in bug 1727937.)

Comment 6 Lukas Vrabec 2019-11-04 16:29:48 UTC
*** Bug 1743772 has been marked as a duplicate of this bug. ***

Comment 7 Zdenek Pytela 2020-03-11 12:38:32 UTC
Sasha,

I would like to ask you what is the present state of this issue, are still some AVC denials triggered?

Comment 8 Sasha Smolyak 2020-05-21 09:33:58 UTC
No idea, I've moved to another project, have no info about it, sorry

Comment 11 RHEL Program Management 2021-02-01 07:42:00 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.


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