Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 655168 Details for
Bug 882349
SELinux is preventing /usr/sbin/php-fpm from 'search' accesses on the directory /home/mikhail.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
File: description
description (text/plain), 2.76 KB, created by
Mikhail
on 2012-11-30 18:06:40 UTC
(
hide
)
Description:
File: description
Filename:
MIME Type:
Creator:
Mikhail
Created:
2012-11-30 18:06:40 UTC
Size:
2.76 KB
patch
obsolete
>SELinux is preventing /usr/sbin/php-fpm from 'search' accesses on the directory /home/mikhail. > >***** Plugin catchall_boolean (47.5 confidence) suggests ******************* > >If you want to httpd_read_user_content >Then you must tell SELinux about this by enabling the 'httpd_read_user_content' boolean.You can read 'user_selinux' man page for more details. >Do >setsebool -P httpd_read_user_content 1 > >***** Plugin catchall_boolean (47.5 confidence) suggests ******************* > >If you want to httpd_enable_homedirs >Then you must tell SELinux about this by enabling the 'httpd_enable_homedirs' boolean.You can read 'user_selinux' man page for more details. >Do >setsebool -P httpd_enable_homedirs 1 > >***** Plugin catchall (6.38 confidence) suggests *************************** > >If you believe that php-fpm should be allowed search access on the mikhail 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:httpd_t:s0 >Target Context unconfined_u:object_r:user_home_dir_t:s0 >Target Objects /home/mikhail [ dir ] >Source php-fpm >Source Path /usr/sbin/php-fpm >Port <Unknown> >Host (removed) >Source RPM Packages php-fpm-5.4.9-1.fc18.i686 >Target RPM Packages >Policy RPM selinux-policy-3.11.1-57.fc18.noarch >Selinux Enabled True >Policy Type targeted >Enforcing Mode Enforcing >Host Name (removed) >Platform Linux (removed) 3.6.7-5.fc18.i686.PAE #1 SMP Tue > Nov 20 19:53:41 UTC 2012 i686 i686 >Alert Count 3 >First Seen 2012-12-01 00:04:52 YEKT >Last Seen 2012-12-01 00:05:37 YEKT >Local ID bb21aa0c-fa31-4ca8-9f92-652323b0f068 > >Raw Audit Messages >type=AVC msg=audit(1354298737.96:344): avc: denied { search } for pid=2881 comm="php-fpm" name="mikhail" dev="sdb" ino=162791425 scontext=system_u:system_r:httpd_t:s0 tcontext=unconfined_u:object_r:user_home_dir_t:s0 tclass=dir > > >type=SYSCALL msg=audit(1354298737.96:344): arch=i386 syscall=stat64 success=no exit=EACCES a0=b76400a8 a1=bff446f0 a2=457ee000 a3=b76400a8 items=0 ppid=2878 pid=2881 auid=4294967295 uid=991 gid=988 euid=991 suid=991 fsuid=991 egid=988 sgid=988 fsgid=988 tty=(none) ses=4294967295 comm=php-fpm exe=/usr/sbin/php-fpm subj=system_u:system_r:httpd_t:s0 key=(null) > >Hash: php-fpm,httpd_t,user_home_dir_t,dir,search > >audit2allow >audit2allow -R
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 882349
: 655168