Description of problem: Occurs after restarting service # service php-fpm restart Redirecting to /bin/systemctl restart php-fpm.service Additional info: libreport version: 2.0.18 kernel: 3.6.5-2.fc18.i686.PAE description: :SELinux is preventing /usr/sbin/php-fpm from 'remove_name' accesses on the directory .xcache.0.0.1804289383.lock. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that php-fpm should be allowed remove_name access on the .xcache.0.0.1804289383.lock 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 php-fpm /var/log/audit/audit.log | audit2allow -M mypol :# semodule -i mypol.pp : :Additional Information: :Source Context system_u:system_r:phpfpm_t:s0 :Target Context system_u:object_r:tmp_t:s0 :Target Objects .xcache.0.0.1804289383.lock [ dir ] :Source php-fpm :Source Path /usr/sbin/php-fpm :Port <Unknown> :Host (removed) :Source RPM Packages php-fpm-5.4.8-1.fc18.i686 :Target RPM Packages :Policy RPM selinux-policy-3.11.1-46.fc18.noarch :Selinux Enabled True :Policy Type targeted :Enforcing Mode Enforcing :Host Name (removed) :Platform Linux (removed) 3.6.5-2.fc18.i686.PAE #1 SMP Thu : Nov 1 00:52:47 UTC 2012 i686 i686 :Alert Count 1 :First Seen 2012-11-04 00:37:20 YEKT :Last Seen 2012-11-04 00:37:20 YEKT :Local ID eb30cb2f-dbf9-412a-9acd-2fe92ec1cc4e : :Raw Audit Messages :type=AVC msg=audit(1351967840.874:493): avc: denied { remove_name } for pid=32670 comm="php-fpm" name=".xcache.0.0.1804289383.lock" dev="tmpfs" ino=1885354 scontext=system_u:system_r:phpfpm_t:s0 tcontext=system_u:object_r:tmp_t:s0 tclass=dir : : :type=AVC msg=audit(1351967840.874:493): avc: denied { unlink } for pid=32670 comm="php-fpm" name=".xcache.0.0.1804289383.lock" dev="tmpfs" ino=1885354 scontext=system_u:system_r:phpfpm_t:s0 tcontext=system_u:object_r:tmp_t:s0 tclass=file : : :type=SYSCALL msg=audit(1351967840.874:493): arch=i386 syscall=unlink success=yes exit=0 a0=94dcfa8 a1=11 a2=b73d0000 a3=94dcfa8 items=0 ppid=1 pid=32670 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm=php-fpm exe=/usr/sbin/php-fpm subj=system_u:system_r:phpfpm_t:s0 key=(null) : :Hash: php-fpm,phpfpm_t,tmp_t,dir,remove_name : :audit2allow : :#============= phpfpm_t ============== :allow phpfpm_t tmp_t:dir remove_name; :allow phpfpm_t tmp_t:file unlink; : :audit2allow -R : :#============= phpfpm_t ============== :allow phpfpm_t tmp_t:dir remove_name; :allow phpfpm_t tmp_t:file unlink; :
Created attachment 637577 [details] File: type
Created attachment 637578 [details] File: hashmarkername
*** Bug 872846 has been marked as a duplicate of this bug. ***
*** Bug 872855 has been marked as a duplicate of this bug. ***
*** Bug 872856 has been marked as a duplicate of this bug. ***
*** Bug 872857 has been marked as a duplicate of this bug. ***
*** Bug 872858 has been marked as a duplicate of this bug. ***
*** Bug 872859 has been marked as a duplicate of this bug. ***
*** Bug 872860 has been marked as a duplicate of this bug. ***
*** Bug 872861 has been marked as a duplicate of this bug. ***
*** Bug 872862 has been marked as a duplicate of this bug. ***
*** Bug 872863 has been marked as a duplicate of this bug. ***
*** Bug 872864 has been marked as a duplicate of this bug. ***
*** Bug 872867 has been marked as a duplicate of this bug. ***
*** Bug 872866 has been marked as a duplicate of this bug. ***
*** Bug 872865 has been marked as a duplicate of this bug. ***
*** This bug has been marked as a duplicate of bug 861975 ***