libreport version: 2.0.10 executable: /usr/bin/python2.7 hashmarkername: setroubleshoot kernel: 3.3.4-5.fc17.x86_64 time: Thu 31 May 2012 04:06:33 PM CEST description: :SELinux is preventing /usr/bin/dbus-daemon (deleted) from 'read' accesses on the file /home/ksekera/.local/share/icc/edid-b929974f562dd5320979a8212d8b987a.icc. : :***** Plugin restorecon (99.5 confidence) suggests ************************* : :If you want to fix the label. :/home/ksekera/.local/share/icc/edid-b929974f562dd5320979a8212d8b987a.icc default label should be icc_data_home_t. :Then you can run restorecon. :Do :# /sbin/restorecon -v /home/ksekera/.local/share/icc/edid-b929974f562dd5320979a8212d8b987a.icc : :***** Plugin catchall (1.49 confidence) suggests *************************** : :If you believe that dbus-daemon (deleted) should be allowed read access on the edid-b929974f562dd5320979a8212d8b987a.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 system_u:object_r:ecryptfs_t:s0 :Target Objects /home/ksekera/.local/share/icc/edid- : b929974f562dd5320979a8212d8b987a.icc [ file ] :Source dbus-daemon :Source Path /usr/bin/dbus-daemon (deleted) :Port <Unknown> :Host (removed) :Source RPM Packages :Target RPM Packages :Policy RPM selinux-policy-3.10.0-125.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.3.4-5.fc17.x86_64 #1 SMP : Mon May 7 17:29:34 UTC 2012 x86_64 x86_64 :Alert Count 3 :First Seen Thu 31 May 2012 04:02:39 PM CEST :Last Seen Thu 31 May 2012 04:05:12 PM CEST :Local ID ee84eb2a-bdca-4b17-8c92-88f217d8ab02 : :Raw Audit Messages :type=AVC msg=audit(1338473112.347:579): avc: denied { read } for pid=624 comm="dbus-daemon" path="/home/ksekera/.local/share/icc/edid-b929974f562dd5320979a8212d8b987a.icc" dev="ecryptfs" ino=7995555 scontext=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:ecryptfs_t:s0 tclass=file : : :type=SYSCALL msg=audit(1338473112.347:579): arch=x86_64 syscall=recvmsg success=yes exit=413 a0=19 a1=7fff5f30fa60 a2=40000000 a3=0 items=0 ppid=1 pid=624 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=2F7573722F62696E2F646275732D6461656D6F6E202864656C6574656429 subj=system_u:system_r:system_dbusd_t:s0-s0:c0.c1023 key=(null) : :Hash: dbus-daemon,system_dbusd_t,ecryptfs_t,file,read : :audit2allowunable to open /sys/fs/selinux/policy: Permission denied : : :audit2allow -Runable to open /sys/fs/selinux/policy: Permission denied : :
Is your entire homedir labeled encryptfs_t? ls -lZ /home/ksekera
[ksekera@ksekera-fedora ~]$ ls -lZ /home | grep ksekera drwx------. ksekera ksekera system_u:object_r:ecryptfs_t:s0 ksekera
*** Bug 827105 has been marked as a duplicate of this bug. ***
Could try to do the following steps 1. Download this attachment https://bugzilla.redhat.com/attachment.cgi?id=534831 2. tar zxfv ecrypt.tgz 3. cd ecrypt/ 4. sh ecrypt.sh <username> 5. setsebool -P use_ecryptfs_home_dirs 1 and re-test it. Thank you.
*** Bug 827182 has been marked as a duplicate of this bug. ***
I'm sorry, but I don't have the environment(s) anymore. I need a working setup, so I abandoned ecryptfs and replaced it with a luks encrypted /home. So I am unable to test your changes. However, I believe this bug will occur on any platform.
We added fixes to rawhide which I will backport.
Fixed in selinux-policy-3.10.0-139.fc17
selinux-policy-3.10.0-140.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-140.fc17
Package selinux-policy-3.10.0-140.fc17: * should fix your issue, * was pushed to the Fedora 17 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-140.fc17' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2012-10840/selinux-policy-3.10.0-140.fc17 then log in and leave karma (feedback).
selinux-policy-3.10.0-140.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.