Bug 1229063 - SELinux is preventing httpd from using the 'execmem' accesses on a process.
Summary: SELinux is preventing httpd from using the 'execmem' accesses on a process.
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:384b688cac7d3c24d943c5cf04b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-08 01:10 UTC by Erfurt A
Modified: 2015-06-17 10:49 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-06-17 10:49:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Erfurt A 2015-06-08 01:10:38 UTC
Description of problem:
SELinux is preventing httpd from using the 'execmem' accesses on a process.

*****  Plugin catchall_boolean (89.3 confidence) suggests   ******************

If sie folgendes tun möchten: allow httpd to execmem
Then sie müssen SELinux darüber benachrichtigen, indem Sie die 	boolesche Variable »httpd_execmem« aktivieren.
Für weitere Einzelheiten, können Sie die »None« man-Seiten konsultieren.
Do
setsebool -P httpd_execmem 1

*****  Plugin catchall (11.6 confidence) suggests   **************************

If sie denken, dass es httpd standardmäßig erlaubt sein sollte, execmem Zugriff auf httpd_t Prozesse zu erhalten.
Then sie sollten dies als Fehler melden.
Um diesen Zugriff zu erlauben, können Sie ein lokales Richtlinien-Modul erstellen.
Do
zugriff jetzt erlauben, indem Sie die nachfolgenden Befehle ausführen:
# grep httpd /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                system_u:system_r:httpd_t:s0
Target Objects                Unknown [ process ]
Source                        httpd
Source Path                   httpd
Port                          <Unknown>
Host                          (removed)
Source RPM Packages           
Target RPM Packages           
Policy RPM                    selinux-policy-3.13.1-105.13.fc21.noarch
Selinux Enabled               True
Policy Type                   targeted
Enforcing Mode                Permissive
Host Name                     (removed)
Platform                      Linux (removed) 4.0.4-202.fc21.x86_64 #1 SMP Wed
                              May 27 22:28:42 UTC 2015 x86_64 x86_64
Alert Count                   1
First Seen                    2015-06-08 02:52:50 CEST
Last Seen                     2015-06-08 02:52:50 CEST
Local ID                      bf0ebf74-9a58-452a-ac9c-e5a6b3e49429

Raw Audit Messages
type=AVC msg=audit(1433724770.547:541): avc:  denied  { execmem } for  pid=7154 comm="httpd" scontext=system_u:system_r:httpd_t:s0 tcontext=system_u:system_r:httpd_t:s0 tclass=process permissive=1


Hash: httpd,httpd_t,httpd_t,process,execmem

Version-Release number of selected component:
selinux-policy-3.13.1-105.13.fc21.noarch

Additional info:
reporter:       libreport-2.3.0
hashmarkername: setroubleshoot
kernel:         4.0.4-202.fc21.x86_64
type:           libreport

Comment 1 Miroslav Grepl 2015-06-17 10:49:23 UTC
*****  Plugin catchall_boolean (89.3 confidence) suggests   ******************

If sie folgendes tun möchten: allow httpd to execmem
Then sie müssen SELinux darüber benachrichtigen, indem Sie die 	boolesche Variable »httpd_execmem« aktivieren.
Für weitere Einzelheiten, können Sie die »None« man-Seiten konsultieren.
Do
setsebool -P httpd_execmem 1


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