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 1663876 - [selinux-policy] SELinux is preventing /usr/bin/Xephyr from write access on the file 2F7661722F746D702F23313331303836202864656C6574656429.
Summary: [selinux-policy] SELinux is preventing /usr/bin/Xephyr from write access on t...
Keywords:
Status: CLOSED DUPLICATE of bug 1646521
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: selinux-policy
Version: 8.0
Hardware: noarch
OS: Linux
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: Lukas Vrabec
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-01-07 09:25 UTC by Joachim Frieben
Modified: 2020-01-31 14:42 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-07 15:16:49 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Joachim Frieben 2019-01-07 09:25:50 UTC
SELinux is preventing /usr/bin/Xephyr from write access on the file 2F7661722F746D702F23313331303836202864656C6574656429.

*****  Plugin catchall (100. confidence) suggests   **************************

If you believe that Xephyr should be allowed write access on the 2F7661722F746D702F23313331303836202864656C6574656429 file by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
# ausearch -c 'Xephyr' --raw | audit2allow -M my-Xephyr
# semodule -X 300 -i my-Xephyr.pp

Additional Information:
Source Context                unconfined_u:unconfined_r:sandbox_xserver_t:s0:c43
                              3,c492
Target Context                unconfined_u:object_r:user_tmp_t:s0
Target Objects                2F7661722F746D702F23313331303836202864656C65746564
                              29 [ file ]
Source                        Xephyr
Source Path                   /usr/bin/Xephyr
Port                          <Unknown>
Host                          riemann
Source RPM Packages           xorg-x11-server-Xephyr-1.20.2-5.el8.x86_64
Target RPM Packages           
Policy RPM                    selinux-policy-3.14.1-46.el8.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     riemann
Platform                      Linux riemann 4.18.0-32.el8.x86_64 #1 SMP Sat Oct
                              27 19:26:37 UTC 2018 x86_64 x86_64
Alert Count                   1
First Seen                    2019-01-06 07:38:55 CET
Last Seen                     2019-01-06 07:38:55 CET
Local ID                      5f3519ac-32d2-44b3-976c-77855f6fb166

Raw Audit Messages
type=AVC msg=audit(1546756735.501:115): avc:  denied  { write } for  pid=3919 comm="Xephyr" path=2F7661722F746D702F23313331303836202864656C6574656429 dev="dm-4" ino=131086 scontext=unconfined_u:unconfined_r:sandbox_xserver_t:s0:c433,c492 tcontext=unconfined_u:object_r:user_tmp_t:s0 tclass=file permissive=0


type=SYSCALL msg=audit(1546756735.501:115): arch=x86_64 syscall=recvmsg success=yes exit=EPIPE a0=4 a1=7ffc332293c0 a2=0 a3=fffffffffffff8fe items=0 ppid=3912 pid=3919 auid=1000 uid=1000 gid=1000 euid=1000 suid=1000 fsuid=1000 egid=1000 sgid=1000 fsgid=1000 tty=(none) ses=3 comm=Xephyr exe=/usr/bin/Xephyr subj=unconfined_u:unconfined_r:sandbox_xserver_t:s0:c433,c492 key=(null)

Hash: Xephyr,sandbox_xserver_t,user_tmp_t,file,write

Comment 1 Milos Malik 2019-01-07 15:10:50 UTC
I believe this bug is either a duplicate of BZ#1644315 or a duplicate of BZ#1646521.

Comment 2 Lukas Vrabec 2019-01-07 15:16:49 UTC

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


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