Bug 872839 - SELinux is preventing /usr/sbin/php-fpm from 'remove_name' accesses on the directory .xcache.0.0.1804289383.lock.
Summary: SELinux is preventing /usr/sbin/php-fpm from 'remove_name' accesses on the di...
Keywords:
Status: CLOSED DUPLICATE of bug 861975
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 18
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:f64aaf9f9436616e85840ec6616...
: 872846 872855 872856 872857 872858 872859 872860 872861 872862 872863 872864 872865 872866 872867 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-03 18:38 UTC by Mikhail
Modified: 2012-11-05 08:38 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-11-05 08:38:18 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: type (9 bytes, text/plain)
2012-11-03 18:38 UTC, Mikhail
no flags Details
File: hashmarkername (14 bytes, text/plain)
2012-11-03 18:38 UTC, Mikhail
no flags Details

Description Mikhail 2012-11-03 18:38:22 UTC
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;
:

Comment 1 Mikhail 2012-11-03 18:38:25 UTC
Created attachment 637577 [details]
File: type

Comment 2 Mikhail 2012-11-03 18:38:28 UTC
Created attachment 637578 [details]
File: hashmarkername

Comment 3 Miroslav Grepl 2012-11-05 08:10:49 UTC
*** Bug 872846 has been marked as a duplicate of this bug. ***

Comment 4 Miroslav Grepl 2012-11-05 08:10:58 UTC
*** Bug 872855 has been marked as a duplicate of this bug. ***

Comment 5 Miroslav Grepl 2012-11-05 08:11:06 UTC
*** Bug 872856 has been marked as a duplicate of this bug. ***

Comment 6 Miroslav Grepl 2012-11-05 08:11:15 UTC
*** Bug 872857 has been marked as a duplicate of this bug. ***

Comment 7 Miroslav Grepl 2012-11-05 08:11:21 UTC
*** Bug 872858 has been marked as a duplicate of this bug. ***

Comment 8 Miroslav Grepl 2012-11-05 08:11:30 UTC
*** Bug 872859 has been marked as a duplicate of this bug. ***

Comment 9 Miroslav Grepl 2012-11-05 08:11:38 UTC
*** Bug 872860 has been marked as a duplicate of this bug. ***

Comment 10 Miroslav Grepl 2012-11-05 08:11:51 UTC
*** Bug 872861 has been marked as a duplicate of this bug. ***

Comment 11 Miroslav Grepl 2012-11-05 08:12:01 UTC
*** Bug 872862 has been marked as a duplicate of this bug. ***

Comment 12 Miroslav Grepl 2012-11-05 08:12:12 UTC
*** Bug 872863 has been marked as a duplicate of this bug. ***

Comment 13 Miroslav Grepl 2012-11-05 08:12:21 UTC
*** Bug 872864 has been marked as a duplicate of this bug. ***

Comment 14 Miroslav Grepl 2012-11-05 08:35:04 UTC
*** Bug 872867 has been marked as a duplicate of this bug. ***

Comment 15 Miroslav Grepl 2012-11-05 08:35:44 UTC
*** Bug 872866 has been marked as a duplicate of this bug. ***

Comment 16 Miroslav Grepl 2012-11-05 08:35:52 UTC
*** Bug 872865 has been marked as a duplicate of this bug. ***

Comment 17 Miroslav Grepl 2012-11-05 08:38:18 UTC

*** This bug has been marked as a duplicate of bug 861975 ***


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