Description of problem: I was not doing anything in particular, I was just browsing the web and I got a notification "bubble" from SELinux. I presume that a process finished and wanted to clean KDE's cache but wasn't allowed. Additional info: libreport version: 2.0.18 kernel: 3.6.6-1.fc17.x86_64 description: :SELinux is preventing /usr/bin/systemd-tmpfiles from 'rmdir' accesses on the directory kdecache-root. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that systemd-tmpfiles should be allowed rmdir access on the kdecache-root directory 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 systemd-tmpfile /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:systemd_tmpfiles_t:s0 :Target Context system_u:object_r:security_t:s0 :Target Objects kdecache-root [ dir ] :Source systemd-tmpfile :Source Path /usr/bin/systemd-tmpfiles :Port <Unknown> :Host (removed) :Source RPM Packages systemd-44-21.fc17.x86_64 :Target RPM Packages :Policy RPM selinux-policy-3.10.0-159.fc17.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.6.6-1.fc17.x86_64 #1 SMP Mon Nov : 5 21:59:35 UTC 2012 x86_64 x86_64 :Alert Count 2 :First Seen 2012-11-30 14:40:33 NZDT :Last Seen 2012-12-03 20:49:45 NZDT :Local ID 42500468-c183-4d66-89cd-9834c1e34dbb : :Raw Audit Messages :type=AVC msg=audit(1354520985.134:62): avc: denied { rmdir } for pid=1995 comm="systemd-tmpfile" name="kdecache-root" dev="dm-1" ino=527303 scontext=system_u:system_r:systemd_tmpfiles_t:s0 tcontext=system_u:object_r:security_t:s0 tclass=dir : : :type=SYSCALL msg=audit(1354520985.134:62): arch=x86_64 syscall=unlinkat success=no exit=EACCES a0=4 a1=172a193 a2=200 a3=8028 items=0 ppid=1 pid=1995 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=systemd-tmpfile exe=/usr/bin/systemd-tmpfiles subj=system_u:system_r:systemd_tmpfiles_t:s0 key=(null) : :Hash: systemd-tmpfile,systemd_tmpfiles_t,security_t,dir,rmdir : :audit2allow : :#============= systemd_tmpfiles_t ============== :allow systemd_tmpfiles_t security_t:dir rmdir; : :audit2allow -R : :#============= systemd_tmpfiles_t ============== :allow systemd_tmpfiles_t security_t:dir rmdir; :
Created attachment 656485 [details] File: type
Created attachment 656486 [details] File: hashmarkername
Please remove /var/tmp/kdecache-root then it works. We added fixes to prevent this.