SELinux is preventing X (xdm_xserver_t) "search" to <Unknown> (hwdata_t).

Antonio Olivares olivares14031 at yahoo.com
Mon Nov 19 13:35:11 UTC 2007


After applying rawhide updates and starting up to new kernel 2.6.24-0.38.rc2.git6.fc9, setroubleshoot kicked in and gave the following alert:  

Summary
    SELinux is preventing X (xdm_xserver_t) "search" to <Unknown> (hwdata_t).

Detailed Description
    SELinux denied access requested by X. It is not expected that this access is
    required by X 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.

Allowing Access
    Sometimes labeling problems can cause SELinux denials.  You could try to
    restore the default system file context for <Unknown>, restorecon -v
    <Unknown> If this does not work, there is currently no automatic way to
    allow this access. Instead,  you can generate a local policy module to allow
    this access - see http://fedora.redhat.com/docs/selinux-faq-fc5/#id2961385
    Or you can disable SELinux protection altogether. Disabling SELinux
    protection is not recommended. Please file a
    http://bugzilla.redhat.com/bugzilla/enter_bug.cgi against this package.

Additional Information        

Source Context                system_u:system_r:xdm_xserver_t
Target Context                system_u:object_r:hwdata_t
Target Objects                None [ dir ]
Affected RPM Packages         
Policy RPM                    selinux-policy-3.0.8-44.fc8
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Enforcing
Plugin Name                   plugins.catchall_file
Host Name                     localhost
Platform                      Linux localhost 2.6.24-0.38.rc2.git6.fc9 #1 SMP
                              Fri Nov 16 17:20:39 EST 2007 i686 athlon
Alert Count                   1
First Seen                    Mon 19 Nov 2007 07:25:42 AM CST
Last Seen                     Mon 19 Nov 2007 07:25:42 AM CST
Local ID                      a1fc1316-a17e-43d6-8163-a6899b0cc65c
Line Numbers                  

Raw Audit Messages            

avc: denied { search } for comm=X dev=dm-0 name=hwdata pid=2802
scontext=system_u:system_r:xdm_xserver_t:s0 tclass=dir
tcontext=system_u:object_r:hwdata_t:s0



Regards,

Antonio 




      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs




More information about the test mailing list