Bug 1046316 - SELinux is preventing /usr/bin/Xorg (deleted) from 'write' accesses on the directory .X11-unix.
Summary: SELinux is preventing /usr/bin/Xorg (deleted) from 'write' accesses on the di...
Keywords:
Status: CLOSED DUPLICATE of bug 1046010
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:9aa1ca1a503ab7e4010b52affdf...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-24 13:36 UTC by cyrushmh
Modified: 2014-01-06 15:11 UTC (History)
4 users (show)

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


Attachments (Terms of Use)

Description cyrushmh 2013-12-24 13:36:48 UTC
Description of problem:
SELinux is preventing /usr/bin/Xorg (deleted) from 'write' accesses on the directory .X11-unix.

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

If 您确定应默认允许 Xorg (deleted) write 访问 .X11-unix directory。
Then 您应该将这个情况作为 bug 报告。
您可以生成本地策略模块允许这个访问。
Do
请执行以下命令此时允许这个访问:
# 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:xdm_tmp_t:s0
Target Objects                .X11-unix [ dir ]
Source                        Xorg
Source Path                   /usr/bin/Xorg (deleted)
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
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.5-302.fc20.x86_64 #1 SMP Tue
                              Dec 17 20:42:32 UTC 2013 x86_64 x86_64
Alert Count                   1
First Seen                    2013-12-24 21:34:05 CST
Last Seen                     2013-12-24 21:34:05 CST
Local ID                      d76b482f-3670-4f4b-a988-dbb57e67a47a

Raw Audit Messages
type=AVC msg=audit(1387892045.867:2317): avc:  denied  { write } for  pid=6077 comm="Xorg" name=".X11-unix" dev="tmpfs" ino=21553 scontext=system_u:system_r:bumblebee_t:s0 tcontext=system_u:object_r:xdm_tmp_t:s0 tclass=dir


type=AVC msg=audit(1387892045.867:2317): avc:  denied  { remove_name } for  pid=6077 comm="Xorg" name="X8" dev="tmpfs" ino=2248944 scontext=system_u:system_r:bumblebee_t:s0 tcontext=system_u:object_r:xdm_tmp_t:s0 tclass=dir


type=AVC msg=audit(1387892045.867:2317): avc:  denied  { unlink } for  pid=6077 comm="Xorg" name="X8" dev="tmpfs" ino=2248944 scontext=system_u:system_r:bumblebee_t:s0 tcontext=system_u:object_r:xdm_tmp_t:s0 tclass=sock_file


type=SYSCALL msg=audit(1387892045.867:2317): arch=x86_64 syscall=unlink success=yes exit=0 a0=11d51e2 a1=5a87bd a2=0 a3=12505f0 items=0 ppid=4731 pid=6077 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=2F7573722F62696E2F586F7267202864656C6574656429 subj=system_u:system_r:bumblebee_t:s0 key=(null)

Hash: Xorg,bumblebee_t,xdm_tmp_t,dir,write

Additional info:
reporter:       libreport-2.1.10
hashmarkername: setroubleshoot
kernel:         3.12.5-302.fc20.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2014-01-06 15:11:00 UTC

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


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