Bug 145822
Summary: | httpd options not working | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Moxley Stratton <moxley> |
Component: | httpd | Assignee: | Joe Orton <jorton> |
Status: | CLOSED NOTABUG | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 3 | Keywords: | SELinux |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-01-21 22:43:08 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
Moxley Stratton
2005-01-21 21:54:51 UTC
This is due to the SELinux policy, which prevents httpd from having terminal access by default. You can work around it using, e.g.: # httpd -V | cat or you can change the policy to allow httpd to access the terminal using: # setsebool httpd_tty_comm 1 pass -P to setsebool to make the policy change permanent; ensure you have the latest FC3 "libselinux" package from the FC3 updates. For further information on SELinux/Apache integration in FC3, please see: http://fedora.redhat.com/docs/selinux-apache-fc3/ For general information on SELinux in FC3, please see: http://fedora.redhat.com/docs/selinux-faq-fc3/ this is very strange! since one of our server gives: ------------------ # getsebool httpd_tty_comm httpd_tty_comm --> inactive [root@blue:~]httpd -S VirtualHost configuration: .... ------------------ while on the other can't give any output without setting httpd_tty_comm to 1! why? what's the difference? both has selinux enabled... do it seems there are some other problems too.. In FC4 httpd the SELinux security context transition does not occur if httpd is invoked from the command line, only if invoked from the init script. |