Bug 722570 - SELinux is preventing dbus-daemon from 'read' accesses on the file /home/vonbrand/.local/share/icc/edid-299288ae70ac60c44d0a175e9adb988e.icc.
Summary: SELinux is preventing dbus-daemon from 'read' accesses on the file /home/vonb...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: rawhide
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: setroubleshoot_trace_hash:b73cae24c1a...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-15 17:00 UTC by Horst H. von Brand
Modified: 2011-07-19 11:33 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-19 11:33:21 UTC
Type: ---


Attachments (Terms of Use)

Description Horst H. von Brand 2011-07-15 17:00:30 UTC
SELinux is preventing dbus-daemon from 'read' accesses on the file /home/vonbrand/.local/share/icc/edid-299288ae70ac60c44d0a175e9adb988e.icc.

*****  Plugin catchall (100. confidence) suggests  ***************************

If you believe that dbus-daemon should be allowed read access on the edid-299288ae70ac60c44d0a175e9adb988e.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:data_home_t:s0
Target Objects                /home/vonbrand/.local/share/icc/edid-
                              299288ae70ac60c44d0a175e9adb988e.icc [ file ]
Source                        dbus-daemon
Source Path                   dbus-daemon
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.10.0-2.fc16
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Enforcing
Host Name                     (removed)
Platform                      Linux (removed)
                              3.0-0.rc6.git6.1.fc16.x86_64 #1 SMP Sun Jul 10
                              16:00:07 UTC 2011 x86_64 x86_64
Alert Count                   11
First Seen                    Thu 09 Jun 2011 07:17:17 PM CLT
Last Seen                     Fri 15 Jul 2011 12:20:53 PM CLT
Local ID                      7a3f6c33-162e-4c00-a3d2-d6b068fef3c6

Raw Audit Messages
type=AVC msg=audit(1310746853.910:45): avc:  denied  { read } for  pid=809 comm="dbus-daemon" path="/home/vonbrand/.local/share/icc/edid-299288ae70ac60c44d0a175e9adb988e.icc" dev=dm-3 ino=398721 scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:data_home_t:s0 tclass=file


Hash: dbus-daemon,system_dbusd_t,data_home_t,file,read

audit2allow

#============= system_dbusd_t ==============
allow system_dbusd_t data_home_t:file read;

audit2allow -R

#============= system_dbusd_t ==============
allow system_dbusd_t data_home_t:file read;

Comment 1 Dominick Grift 2011-07-15 17:03:32 UTC
restorecon -R -v /home 

should fix it

$ matchpathcon /home/vonbrand/.local/share/icc/edid-299288ae70ac60c44d0a175e9adb988e.icc
/home/vonbrand/.local/share/icc/edid-299288ae70ac60c44d0a175e9adb988e.icc       user_u:object_r:icc_data_home_t:s0


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