Bug 433252
Summary: | Starting httpd directly doesn't put it under selinux control. | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jeff Norden <jeff> |
Component: | selinux-policy-targeted | Assignee: | Daniel Walsh <dwalsh> |
Status: | CLOSED NOTABUG | QA Contact: | Ben Levenson <benl> |
Severity: | high | Docs Contact: | |
Priority: | low | ||
Version: | 8 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-02-18 15:13:50 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: |
Description
Jeff Norden
2008-02-18 04:59:45 UTC
This seems like you have a labeling problem. SELinux relies on file labels to start applications correctly. /sbin/init -> init_exec_t -> init_t init_t -> Starts init scripts labeled initrc_exec_t -> initrc_t initrc_t -> Starts httpd labeled httpd_exec_t -> httpd_t If any of these labels are wrong, this will not happen. We decided long ago not to automatically transition unconfined_t -> httpd_exec_t -> httpd_t. This is to allow debugging, so you should always start via the init scripts or apachectl. I would guess that you have a labeling problem in your initscripts restorecon -R -v /etc/rc.d |