Bug 507105 - selinux/gnome-settings-deamon avc's
Summary: selinux/gnome-settings-deamon avc's
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: 11
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Ben Levenson
URL:
Whiteboard:
: 507238 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-20 21:27 UTC by Dave Jones
Modified: 2015-01-04 22:31 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-11-18 13:09:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dave Jones 2009-06-20 21:27:18 UTC
SELinux is preventing gnome-settings- (xdm_t) "getattr" hwdata_t.
node=gelk type=AVC msg=audit(1245419991.600:9): avc: denied { getattr } for pid=2337 comm="gnome-settings-" path="/usr/share/hwdata/pnp.ids" dev=dm-0 ino=12009490 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:hwdata_t:s0 tclass=file node=gelk type=SYSCALL msg=audit(1245419991.600:9): arch=c000003e syscall=5 success=yes exit=0 a0=11 a1=7fff24033140 a2=7fff24033140 a3=1a items=0 ppid=2335 pid=2337 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) 

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

node=gelk type=AVC msg=audit(1245419991.600:8): avc: denied { search } for pid=2337 comm="gnome-settings-" name="hwdata" dev=dm-0 ino=12009479 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:hwdata_t:s0 tclass=dir node=gelk type=AVC msg=audit(1245419991.600:8): avc: denied { read } for pid=2337 comm="gnome-settings-" name="pnp.ids" dev=dm-0 ino=12009490 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:hwdata_t:s0 tclass=file node=gelk type=AVC msg=audit(1245419991.600:8): avc: denied { open } for pid=2337 comm="gnome-settings-" name="pnp.ids" dev=dm-0 ino=12009490 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:hwdata_t:s0 tclass=file node=gelk type=SYSCALL msg=audit(1245419991.600:8): arch=c000003e syscall=2 success=yes exit=17 a0=3b5f61fb0e a1=0 a2=0 a3=1a items=0 ppid=2335 pid=2337 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) 


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

node=gelk type=AVC msg=audit(1245379009.546:6): avc: denied { search } for pid=2333 comm="gnome-settings-" name="hwdata" dev=dm-0 ino=12009479 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:hwdata_t:s0 tclass=dir node=gelk type=AVC msg=audit(1245379009.546:6): avc: denied { read } for pid=2333 comm="gnome-settings-" name="pnp.ids" dev=dm-0 ino=12009490 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:hwdata_t:s0 tclass=file node=gelk type=AVC msg=audit(1245379009.546:6): avc: denied { open } for pid=2333 comm="gnome-settings-" name="pnp.ids" dev=dm-0 ino=12009490 scontext=system_u:system_r:xdm_t:s0-s0:c0.c1023 tcontext=system_u:object_r:hwdata_t:s0 tclass=file node=gelk type=SYSCALL msg=audit(1245379009.546:6): arch=c000003e syscall=2 success=yes exit=17 a0=3b5f61fb0e a1=0 a2=0 a3=1a items=0 ppid=2331 pid=2333 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)

Comment 1 Miroslav Grepl 2009-06-22 11:55:41 UTC
*** Bug 507238 has been marked as a duplicate of this bug. ***

Comment 2 Daniel Walsh 2009-06-22 21:52:26 UTC
You can add these rules now using

# grep avc /var/log/audit/audit.log | audit2allow -M mypol
# semodule -i mypol.pp

Fixed in selinux-policy-3.6.12-57.fc11


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