Bug 755267 - SELinux is preventing /bin/dbus-daemon from 'read' accesses on the file /home/ant/.local/share/icc/edid-eb5dcafed48416af3503d2e37c7496f3.icc.
Summary: SELinux is preventing /bin/dbus-daemon from 'read' accesses on the file /home...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 16
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:0ff71725ec698b2af79c7f4cd07...
: 755294 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-11-20 08:24 UTC by Roman Spirgi
Modified: 2011-11-21 11:45 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-11-21 11:45:29 UTC
Type: ---


Attachments (Terms of Use)

Description Roman Spirgi 2011-11-20 08:24:49 UTC
libreport version: 2.0.6
executable:     /usr/bin/python
hashmarkername: setroubleshoot
kernel:         3.1.1-2.fc16.x86_64
reason:         SELinux is preventing /bin/dbus-daemon from 'read' accesses on the file /home/ant/.local/share/icc/edid-eb5dcafed48416af3503d2e37c7496f3.icc.
time:           Sun Nov 20 09:24:37 2011

description:
:SELinux is preventing /bin/dbus-daemon from 'read' accesses on the file /home/ant/.local/share/icc/edid-eb5dcafed48416af3503d2e37c7496f3.icc.
:
:*****  Plugin restorecon (99.5 confidence) suggests  *************************
:
:If you want to fix the label. 
:/home/ant/.local/share/icc/edid-eb5dcafed48416af3503d2e37c7496f3.icc default label should be icc_data_home_t.
:Then you can run restorecon.
:Do
:# /sbin/restorecon -v /home/ant/.local/share/icc/edid-eb5dcafed48416af3503d2e37c7496f3.icc
:
:*****  Plugin catchall (1.49 confidence) suggests  ***************************
:
:If you believe that dbus-daemon should be allowed read access on the edid-eb5dcafed48416af3503d2e37c7496f3.icc file by default.
:Then you should report this as a bug.
:You can generate a local policy module to allow this access.
:Do
:allow this access for now by executing:
:# grep dbus-daemon /var/log/audit/audit.log | audit2allow -M mypol
:# semodule -i mypol.pp
:
:Additional Information:
:Source Context                system_u:system_r:system_dbusd_t:s0-s0:c0.c1023
:Target Context                unconfined_u:object_r:user_home_dir_t:s0
:Target Objects                /home/ant/.local/share/icc/edid-
:                              eb5dcafed48416af3503d2e37c7496f3.icc [ file ]
:Source                        dbus-daemon
:Source Path                   /bin/dbus-daemon
:Port                          <Unbekannt>
:Host                          (removed)
:Source RPM Packages           dbus-1.4.10-3.fc16
:Target RPM Packages           
:Policy RPM                    selinux-policy-3.10.0-55.fc16
:Selinux Enabled               True
:Policy Type                   targeted
:Enforcing Mode                Enforcing
:Host Name                     (removed)
:Platform                      Linux (removed) 3.1.1-2.fc16.x86_64 #1 SMP Mon Nov
:                              14 15:46:10 UTC 2011 x86_64 x86_64
:Alert Count                   2
:First Seen                    Son 20 Nov 2011 09:23:46 CET
:Last Seen                     Son 20 Nov 2011 09:23:46 CET
:Local ID                      8773e680-d7f4-48f1-bd37-73c8cb37dbd6
:
:Raw Audit Messages
:type=AVC msg=audit(1321777426.924:92): avc:  denied  { read } for  pid=1111 comm="dbus-daemon" path="/home/ant/.local/share/icc/edid-eb5dcafed48416af3503d2e37c7496f3.icc" dev=dm-2 ino=13893721 scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=file
:
:
:type=SYSCALL msg=audit(1321777426.924:92): arch=x86_64 syscall=recvmsg success=yes exit=401 a0=1d a1=7fff75e1a550 a2=40000000 a3=0 items=0 ppid=1 pid=1111 auid=4294967295 uid=81 gid=81 euid=81 suid=81 fsuid=81 egid=81 sgid=81 fsgid=81 tty=(none) ses=4294967295 comm=dbus-daemon exe=/bin/dbus-daemon subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 key=(null)
:
:Hash: dbus-daemon,system_dbusd_t,user_home_dir_t,file,read
:
:audit2allow
:
:#============= system_dbusd_t ==============
:allow system_dbusd_t user_home_dir_t:file read;
:
:audit2allow -R
:
:#============= system_dbusd_t ==============
:allow system_dbusd_t user_home_dir_t:file read;
:

Comment 1 Miroslav Grepl 2011-11-21 11:45:29 UTC
Please, execute

# restorecon -R -v /home/ant/.local/share/icc/

Will fix.

Comment 2 Miroslav Grepl 2011-11-21 11:45:59 UTC
*** Bug 755294 has been marked as a duplicate of this bug. ***


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