Bug 1055211 - SELinux is preventing /usr/bin/Xorg from 'write' accesses on the directory /tmp.
Summary: SELinux is preventing /usr/bin/Xorg from 'write' accesses on the directory /tmp.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:64a7af91d6ac5aa425398b7d171...
: 1055212 1055214 1055215 1055216 1055218 1055219 1055220 1055221 1055222 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-19 15:42 UTC by Zero
Modified: 2014-01-19 19:17 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-19 19:17:11 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Zero 2014-01-19 15:42:27 UTC
Description of problem:
SELinux is preventing /usr/bin/Xorg from 'write' accesses on the directory /tmp.

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

If you believe that Xorg should be allowed write access on the tmp directory 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:
# grep Xorg /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Additional Information:
Source Context                system_u:system_r:bumblebee_t:s0
Target Context                system_u:object_r:tmp_t:s0
Target Objects                /tmp [ dir ]
Source                        Xorg
Source Path                   /usr/bin/Xorg
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           xorg-x11-server-Xorg-1.14.4-5.fc20.x86_64
Target RPM Packages           filesystem-3.2-19.fc20.x86_64
Policy RPM                    selinux-policy-3.12.1-106.fc20.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed) 3.12.7-300.fc20.x86_64 #1 SMP Fri
                              Jan 10 15:35:31 UTC 2014 x86_64 x86_64
Alert Count                   6
First Seen                    2014-01-16 10:05:53 CET
Last Seen                     2014-01-16 16:34:33 CET
Local ID                      ae9ab1bc-7815-4be2-99a9-b0d31d139132

Raw Audit Messages
type=AVC msg=audit(1389886473.709:491): avc:  denied  { write } for  pid=2664 comm="Xorg" name="/" dev="tmpfs" ino=10795 scontext=system_u:system_r:bumblebee_t:s0 tcontext=system_u:object_r:tmp_t:s0 tclass=dir


type=AVC msg=audit(1389886473.709:491): avc:  denied  { remove_name } for  pid=2664 comm="Xorg" name=".X8-lock" dev="tmpfs" ino=30300 scontext=system_u:system_r:bumblebee_t:s0 tcontext=system_u:object_r:tmp_t:s0 tclass=dir


type=AVC msg=audit(1389886473.709:491): avc:  denied  { unlink } for  pid=2664 comm="Xorg" name=".X8-lock" dev="tmpfs" ino=30300 scontext=system_u:system_r:bumblebee_t:s0 tcontext=system_u:object_r:tmp_t:s0 tclass=file


type=SYSCALL msg=audit(1389886473.709:491): arch=x86_64 syscall=unlink success=yes exit=0 a0=81d260 a1=4 a2=0 a3=1f50cd0 items=0 ppid=493 pid=2664 auid=4294967295 uid=0 gid=1001 euid=0 suid=0 fsuid=0 egid=1001 sgid=1001 fsgid=1001 ses=4294967295 tty=(none) comm=Xorg exe=/usr/bin/Xorg subj=system_u:system_r:bumblebee_t:s0 key=(null)

Hash: Xorg,bumblebee_t,tmp_t,dir,write

Additional info:
reporter:       libreport-2.1.11
hashmarkername: setroubleshoot
kernel:         3.12.7-300.fc20.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2014-01-19 18:25:00 UTC
*** Bug 1055212 has been marked as a duplicate of this bug. ***

Comment 2 Miroslav Grepl 2014-01-19 18:25:10 UTC
*** Bug 1055214 has been marked as a duplicate of this bug. ***

Comment 3 Miroslav Grepl 2014-01-19 18:25:23 UTC
*** Bug 1055215 has been marked as a duplicate of this bug. ***

Comment 4 Miroslav Grepl 2014-01-19 18:25:31 UTC
*** Bug 1055216 has been marked as a duplicate of this bug. ***

Comment 5 Miroslav Grepl 2014-01-19 18:25:40 UTC
*** Bug 1055218 has been marked as a duplicate of this bug. ***

Comment 6 Miroslav Grepl 2014-01-19 18:25:49 UTC
*** Bug 1055219 has been marked as a duplicate of this bug. ***

Comment 7 Miroslav Grepl 2014-01-19 18:26:02 UTC
*** Bug 1055220 has been marked as a duplicate of this bug. ***

Comment 8 Miroslav Grepl 2014-01-19 18:26:11 UTC
*** Bug 1055221 has been marked as a duplicate of this bug. ***

Comment 9 Miroslav Grepl 2014-01-19 18:26:17 UTC
*** Bug 1055222 has been marked as a duplicate of this bug. ***

Comment 10 Miroslav Grepl 2014-01-19 19:17:11 UTC
Please update the policy.

# yum update selinux-policy-targeted


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