Bug 539259 - SELinux is preventing gnome-settings- (xdm_t) "search" hwdata_t.
Summary: SELinux is preventing gnome-settings- (xdm_t) "search" hwdata_t.
Keywords:
Status: CLOSED DUPLICATE of bug 538428
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 12
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:d559d74a653...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-19 18:37 UTC by Richard Jolly
Modified: 2010-02-06 02:47 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-11-19 18:43:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Richard Jolly 2009-11-19 18:37:30 UTC
Summary:

SELinux is preventing gnome-settings- (xdm_t) "search" hwdata_t.

Detailed Description:

[SELinux is in permissive mode. This access was not denied.]

SELinux denied access requested by gnome-settings-. It is not expected that this
access is required by gnome-settings- 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:

You can generate a local policy module to allow this access - see FAQ
(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 bug report (http://bugzilla.redhat.com/bugzilla/enter_bug.cgi)
against this package.

Additional Information:

Source Context                system_u:system_r:xdm_t:s0-s0:c0.c1023
Target Context                system_u:object_r:hwdata_t:s0
Target Objects                /usr/share/hwdata [ dir ]
Source                        gnome-settings-
Source Path                   /usr/libexec/gnome-settings-daemon
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           gnome-settings-daemon-2.26.1-7.fc11
Target RPM Packages           hwdata-0.225-1.fc11
Policy RPM                    selinux-policy-3.6.12-50.fc11
Selinux Enabled               True
Policy Type                   targeted
MLS Enabled                   True
Enforcing Mode                Permissive
Plugin Name                   catchall
Host Name                     (removed)
Platform                      Linux (removed)
                              2.6.29.5-191.fc11.i686.PAE #1 SMP Tue Jun 16
                              23:19:53 EDT 2009 i686 i686
Alert Count                   67
First Seen                    Mon 22 Jun 2009 19:57:41 BST
Last Seen                     Wed 08 Jul 2009 20:13:00 BST
Local ID                      6efe86c8-9d9a-42da-b018-3afecb9ef0b7
Line Numbers                  

Raw Audit Messages            

node=(removed) type=AVC msg=audit(1247080380.46:13388): avc:  denied  { search } for  pid=1826 comm="gnome-settings-" name="hwdata" dev=dm-5 ino=29536 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:hwdata_t:s0 tclass=dir

node=(removed) type=AVC msg=audit(1247080380.46:13388): avc:  denied  { read } for  pid=1826 comm="gnome-settings-" name="pnp.ids" dev=dm-5 ino=29540 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:hwdata_t:s0 tclass=file

node=(removed) type=AVC msg=audit(1247080380.46:13388): avc:  denied  { open } for  pid=1826 comm="gnome-settings-" name="pnp.ids" dev=dm-5 ino=29540 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:hwdata_t:s0 tclass=file

node=(removed) type=SYSCALL msg=audit(1247080380.46:13388): arch=40000003 syscall=5 success=yes exit=17 a0=215fb8e a1=8000 a2=0 a3=88b0b88 items=0 ppid=1824 pid=1826 auid=4294967295 uid=42 gid=42 euid=42 suid=42 fsuid=42 egid=42 sgid=42 fsgid=42 tty=(none) ses=4294967295 comm="gnome-settings-" exe="/usr/libexec/gnome-settings-daemon" subj=system_u:system_r:xdm_t:s0-s0:c0.c1023 key=(null)



Hash String generated from  selinux-policy-3.6.12-50.fc11,catchall,gnome-settings-,xdm_t,hwdata_t,dir,search
audit2allow suggests:

#============= xdm_t ==============
allow xdm_t hwdata_t:dir search;
allow xdm_t hwdata_t:file { read open };

Comment 1 Daniel Walsh 2009-11-19 18:43:05 UTC

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


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