Bug 521777

Summary: setroubleshoot: SELinux is preventing Xorg "read" access on <Unknown>.
Product: [Fedora] Fedora Reporter: Matěj Cepl <mcepl>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: dwalsh, jkubin, mcepl, mgrepl
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: setroubleshoot_trace_hash:1072218019e94121c1aba12d801718aedb361f5457e5142a3afd0a576cb2cca7
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-08 14:40:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Matěj Cepl 2009-09-08 09:45:10 UTC
The following was filed automatically by setroubleshoot:

Souhrn:

SELinux is preventing Xorg "read" access on <Unknown>.

Podrobný popis:

SELinux denied access requested by Xorg. It is not expected that this access is
required by Xorg and this access may signal an intrusion attempt. It is also
possible that the specific version or configuration of the application is
causing it to require additional access.

Povolení přístupu:

You can generate a local policy module to allow this access - see FAQ
(http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385) Please file a bug
report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi) against this package.

Další informace:

Kontext zdroje                system_u:system_r:xserver_t:s0-s0:c0.c1023
Kontext cíle                 system_u:system_r:xserver_t:s0-s0:c0.c1023
Objekty cíle                 None [ netlink_kobject_uevent_socket ]
Zdroj                         Xorg
Cesta zdroje                  /usr/bin/Xorg (deleted)
Port                          <Neznámé>
Počítač                    (removed)
RPM balíčky zdroje          
RPM balíčky cíle           
RPM politiky                  selinux-policy-3.6.30-2.fc12
Selinux povolen               True
Typ politiky                  targeted
MLS povoleno                  True
Vynucovací režim            Permissive
Název zásuvného modulu     catchall
Název počítače            (removed)
Platforma                     Linux (removed) 2.6.31-0.204.rc9.fc12.x86_64 #1 SMP
                              Sat Sep 5 20:45:55 EDT 2009 x86_64 x86_64
Počet upozornění           2
Poprvé viděno               Út 8. září 2009, 11:21:16 CEST
Naposledy viděno             Út 8. září 2009, 11:22:12 CEST
Místní ID                   df694d0f-66d5-4075-befb-7703aa844915
Čísla řádků              

Původní zprávy auditu      

node=(removed) type=AVC msg=audit(1252401732.303:614): avc:  denied  { read } for  pid=1702 comm="Xorg" scontext=system_u:system_r:xserver_t:s0-s0:c0.c1023 tcontext=system_u:system_r:xserver_t:s0-s0:c0.c1023 tclass=netlink_kobject_uevent_socket

node=(removed) type=SYSCALL msg=audit(1252401732.303:614): arch=c000003e syscall=47 success=no exit=-105 a0=a a1=7fff6b93b6b0 a2=0 a3=0 items=0 ppid=1701 pid=1702 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="Xorg" exe=2F7573722F62696E2F586F7267202864656C6574656429 subj=system_u:system_r:xserver_t:s0-s0:c0.c1023 key=(null)


audit2allow suggests:

#============= xserver_t ==============
allow xserver_t self:netlink_kobject_uevent_socket read;

Comment 1 Daniel Walsh 2009-09-08 14:40:06 UTC
Fixed in selinux-policy-3.6.30-5.fc12.noarch