Bug 872846
| Summary: | SELinux is preventing /usr/sbin/php-fpm from 'getattr' accesses on the directory /home. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Mikhail <mikhail.v.gavrilov> | ||||||
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 18 | CC: | dominick.grift, dwalsh, mgrepl, mikhail.v.gavrilov | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | i686 | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | abrt_hash:18d90198a4397479a237b7547ec8810766312a18609a44b5d728b70d742dc651 | ||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2012-11-05 08:10:49 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
Created attachment 637607 [details]
File: type
Created attachment 637608 [details]
File: hashmarkername
*** This bug has been marked as a duplicate of bug 872839 *** |
Additional info: libreport version: 2.0.18 kernel: 3.6.5-2.fc18.i686.PAE description: :SELinux is preventing /usr/sbin/php-fpm from 'getattr' accesses on the directory /home. : :***** Plugin catchall (100. confidence) suggests *************************** : :If you believe that php-fpm should be allowed getattr access on the home 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:home_root_t:s0 :Target Objects /home [ 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 filesystem-3.1-2.fc18.i686 :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 01:25:53 YEKT :Last Seen 2012-11-04 01:25:53 YEKT :Local ID 66edea7a-0e75-4bce-8409-28413b7083aa : :Raw Audit Messages :type=AVC msg=audit(1351970753.409:529): avc: denied { getattr } for pid=32671 comm="php-fpm" path="/home" dev="sdb" ino=2 scontext=system_u:system_r:phpfpm_t:s0 tcontext=system_u:object_r:home_root_t:s0 tclass=dir : : :type=SYSCALL msg=audit(1351970753.409:529): arch=i386 syscall=stat64 success=yes exit=0 a0=b76fc0a8 a1=bf923d70 a2=488d0000 a3=b76fc0a8 items=0 ppid=32670 pid=32671 auid=4294967295 uid=48 gid=48 euid=48 suid=48 fsuid=48 egid=48 sgid=48 fsgid=48 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,home_root_t,dir,getattr : :audit2allow : :#============= phpfpm_t ============== :allow phpfpm_t home_root_t:dir getattr; : :audit2allow -R : :#============= phpfpm_t ============== :allow phpfpm_t home_root_t:dir getattr; :