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 2011772 - avc: denied { search } for pid=1662 comm="at-spi-bus-laun" name="gnome-initial-setup" dev="tmpfs"
Summary: avc: denied { search } for pid=1662 comm="at-spi-bus-laun" name="gnome-ini...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: selinux-policy
Version: 9.0
Hardware: Unspecified
OS: Linux
medium
high
Target Milestone: rc
: 9.0
Assignee: Zdenek Pytela
QA Contact: Milos Malik
URL:
Whiteboard:
Depends On:
Blocks: 1942219 1971841
TreeView+ depends on / blocked
 
Reported: 2021-10-07 10:45 UTC by Jan Stodola
Modified: 2022-05-17 16:11 UTC (History)
3 users (show)

Fixed In Version: selinux-policy-34.1.17-1.el9
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-17 15:49:48 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-99139 0 None None None 2021-10-07 10:47:49 UTC
Red Hat Product Errata RHBA-2022:3918 0 None None None 2022-05-17 15:50:00 UTC

Description Jan Stodola 2021-10-07 10:45:48 UTC
Description of problem:
The following messages were found in audit.log after the default package set on x86_64:

type=AVC msg=audit(1633597537.032:70): avc:  denied  { search } for  pid=1662 comm="at-spi-bus-laun" name="gnome-initial-setup" dev="tmpfs" ino=1128 scontext=system_u:system_r:gnome_atspi_t:s0-s0:c0.c1023 tcontext=system_u:object_r:xdm_var_run_t:s0 tclass=dir permissive=0
type=SYSCALL msg=audit(1633597537.032:70): arch=c000003e syscall=257 success=no exit=-13 a0=ffffff9c a1=5560a625e650 a2=0 a3=0 items=0 ppid=1661 pid=1662 auid=4294967295 uid=986 gid=981 euid=986 suid=986 fsuid=986 egid=981 sgid=981 fsgid=981 tty=(none) ses=4294967295 comm="at-spi-bus-laun" exe="/usr/libexec/at-spi-bus-launcher" subj=system_u:system_r:gnome_atspi_t:s0-s0:c0.c1023 key=(null)^]ARCH=x86_64 SYSCALL=openat AUID="unset" UID="gnome-initial-setup" GID="gnome-initial-setup" EUID="gnome-initial-setup" SUID="gnome-initial-setup" FSUID="gnome-initial-setup" EGID="gnome-initial-setup" SGID="gnome-initial-setup" FSGID="gnome-initial-setup"
type=PROCTITLE msg=audit(1633597537.032:70): proctitle="/usr/libexec/at-spi-bus-launcher"
type=AVC msg=audit(1633597537.033:71): avc:  denied  { search } for  pid=1662 comm="at-spi-bus-laun" name="gnome-initial-setup" dev="tmpfs" ino=1128 scontext=system_u:system_r:gnome_atspi_t:s0-s0:c0.c1023 tcontext=system_u:object_r:xdm_var_run_t:s0 tclass=dir permissive=0
type=SYSCALL msg=audit(1633597537.033:71): arch=c000003e syscall=257 success=no exit=-13 a0=ffffff9c a1=5560a6269280 a2=0 a3=0 items=0 ppid=1661 pid=1662 auid=4294967295 uid=986 gid=981 euid=986 suid=986 fsuid=986 egid=981 sgid=981 fsgid=981 tty=(none) ses=4294967295 comm="at-spi-bus-laun" exe="/usr/libexec/at-spi-bus-launcher" subj=system_u:system_r:gnome_atspi_t:s0-s0:c0.c1023 key=(null)^]ARCH=x86_64 SYSCALL=openat AUID="unset" UID="gnome-initial-setup" GID="gnome-initial-setup" EUID="gnome-initial-setup" SUID="gnome-initial-setup" FSUID="gnome-initial-setup" EGID="gnome-initial-setup" SGID="gnome-initial-setup" FSGID="gnome-initial-setup"
type=PROCTITLE msg=audit(1633597537.033:71): proctitle="/usr/libexec/at-spi-bus-launcher"

Version-Release number of selected component (if applicable):
RHEL-9.0.0-20211006.1
selinux-policy-34.1.16-1.el9

How reproducible:
Always

Steps to Reproduce:
1. Run grpahical installation, use the default package set ("Server with GUI")
2. Boot the installed system and check /var/log/audit/audit.log

Actual results:
AVC messages related to at-spi-bus-launcher

Expected results:
No AVCs

Additional info:
There are more AVCs in audit.log, but they should be covered by bug 1960010.

Comment 2 Zdenek Pytela 2021-10-11 14:37:34 UTC
To backport:
commit e327c69fe54fe93cbff6e8233bc4354ec7a6fcad
Author: Zdenek Pytela <zpytela>
Date:   Mon Sep 13 16:01:19 2021 +0200

    Allow at-spi-bus-launcher read and map xdm pid files

Comment 12 errata-xmlrpc 2022-05-17 15:49:48 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (new packages: selinux-policy), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2022:3918


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