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 1996315 - selinux - some tests give USER_AVC denied errors
Summary: selinux - some tests give USER_AVC denied errors
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: rhel-system-roles
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: 9.0 Beta
Assignee: Rich Megginson
QA Contact: Jakub Haruda
URL:
Whiteboard: role:selinux
Depends On:
Blocks: 1996317
TreeView+ depends on / blocked
 
Reported: 2021-08-21 19:16 UTC by Rich Megginson
Modified: 2022-01-07 18:26 UTC (History)
4 users (show)

Fixed In Version: rhel-system-roles-1.8.3-2.el9
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1996317 (view as bug list)
Environment:
Last Closed: 2021-12-07 21:57:54 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Pagure rpms/linux-system-roles pull-request 36 0 None None None 2021-08-22 00:15:07 UTC
Red Hat Issue Tracker RHELPLAN-94464 0 None None None 2021-08-23 14:24:14 UTC

Description Rich Megginson 2021-08-21 19:16:49 UTC
Description of problem:
http://artifacts.osci.redhat.com/baseos-ci/brew-build/39/07/73/39077384/https___baseos-jenkins.rhev-ci-vms.eng.rdu2.redhat.com-ci-artemis/15399/tmpWVSbhF.01/recipes/1/tasks/2/results/1629385111/logs/avc.log

selinux-policy-3.14.3-75.el8.noarch
----
time->Thu Aug 19 17:02:32 2021
type=USER_AVC msg=audit(1629392552.937:2011): pid=682 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=signal interface=org.freedesktop.DBus.Properties member=PropertiesChanged dest=org.freedesktop.DBus spid=1 tpid=749 scontext=system_u:system_r:init_t:s0 tcontext=system_u:system_r:systemd_logind_t:s0 tclass=dbus permissive=0  exe="/usr/bin/dbus-daemon" sauid=81 hostname=? addr=? terminal=?'
----
time->Thu Aug 19 17:02:32 2021
type=USER_AVC msg=audit(1629392552.937:2012): pid=682 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=signal interface=org.freedesktop.DBus.Properties member=PropertiesChanged dest=org.freedesktop.DBus spid=1 tpid=749 scontext=system_u:system_r:init_t:s0 tcontext=system_u:system_r:systemd_logind_t:s0 tclass=dbus permissive=0  exe="/usr/bin/dbus-daemon" sauid=81 hostname=? addr=? terminal=?'
----
time->Thu Aug 19 17:02:32 2021
type=USER_AVC msg=audit(1629392552.940:2013): pid=682 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=signal interface=org.freedesktop.DBus.Properties member=PropertiesChanged dest=org.freedesktop.DBus spid=1 tpid=749 scontext=system_u:system_r:init_t:s0 tcontext=system_u:system_r:systemd_logind_t:s0 tclass=dbus permissive=0  exe="/usr/bin/dbus-daemon" sauid=81 hostname=? addr=? terminal=?'
----
time->Thu Aug 19 17:02:32 2021
type=USER_AVC msg=audit(1629392552.940:2014): pid=682 uid=81 auid=4294967295 ses=4294967295 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 msg='avc:  denied  { send_msg } for msgtype=signal interface=org.freedesktop.DBus.Properties member=PropertiesChanged dest=org.freedesktop.DBus spid=1 tpid=749 scontext=system_u:system_r:init_t:s0 tcontext=system_u:system_r:systemd_logind_t:s0 tclass=dbus permissive=0  exe="/usr/bin/dbus-daemon" sauid=81 hostname=? addr=? terminal=?'

These occur during the selinux tests_selinux_disabled.yml

In earlier versions of rhel-system-roles we used to tag these tests with "tests::avc" - we should do so again.

I have a scratch build with the proposed fix: https://dashboard.osci.redhat.com/#/artifact/brew-build/aid/39146312

This does not have the avc errors http://artifacts.osci.redhat.com/baseos-ci/brew-build/39/14/63/39146312/https___baseos-jenkins.rhev-ci-vms.eng.rdu2.redhat.com-ci-artemis/15560/tmpso7wO0.01/recipes/1/tasks/2/results/1629548311/logs/avc.log

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:


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