Bug 1223989
| Summary: | SELinux is not allowing PHP-FPM's slowlog timeout capability | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Renich Bon Ciric <renich> | |
| Component: | selinux-policy | Assignee: | Miroslav Grepl <mgrepl> | |
| Status: | CLOSED NOTABUG | QA Contact: | Milos Malik <mmalik> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 6.6 | CC: | dkutalek, dwalsh, lvrabec, mgrepl, mmalik, plautrba, pvrabec, renich, ssekidde | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1253259 (view as bug list) | Environment: | ||
| Last Closed: | 2015-08-28 15:06:47 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
|
Description
Renich Bon Ciric
2015-05-21 21:48:36 UTC
Which version of selinux-policy do you have on your machine? (In reply to Milos Malik from comment #2) > Which version of selinux-policy do you have on your machine? # rpm -q selinux-policy selinux-policy-3.7.19-260.el6_6.3.noarch do you need info from me or dkutalek? The latest policy (3.7.19-271.el6) contains a dontaudit rule which prevents the AVC from appearing: # sesearch -s httpd_t -t httpd_t -c capability -p sys_ptrace --allow -C # sesearch -s httpd_t -t httpd_t -c capability -p sys_ptrace --dontaudit -C Found 1 semantic av rules: DT dontaudit httpd_t httpd_t : capability sys_ptrace ; [ httpd_run_stickshift ] # But the rule is active only if the httpd_run_stickshift boolean is enabled. Unfortunately, I don't see the AVC even if the boolean is disabled. When I start the php-fpm service (configuration from comment#0 was applied before) the AVC does not appear. How long do you keep the php-fpm running until you see any AVCs? Do you run a stress test on php-fpm ? (In reply to Milos Malik from comment #6) > The latest policy (3.7.19-271.el6) contains a dontaudit rule which prevents > the AVC from appearing: > > # sesearch -s httpd_t -t httpd_t -c capability -p sys_ptrace --allow -C > > # sesearch -s httpd_t -t httpd_t -c capability -p sys_ptrace --dontaudit -C > Found 1 semantic av rules: > DT dontaudit httpd_t httpd_t : capability sys_ptrace ; [ > httpd_run_stickshift ] > > # > > But the rule is active only if the httpd_run_stickshift boolean is enabled. I will enable the boolean to see if it helps. > Unfortunately, I don't see the AVC even if the boolean is disabled. When I > start the php-fpm service (configuration from comment#0 was applied before) > the AVC does not appear. How long do you keep the php-fpm running until you > see any AVCs? Do you run a stress test on php-fpm ? As soon as I get a request, I see the AVC. From my point of view, this is not a bug. We have a boolean for this and it won't be allowed by default. |