kevinscof
24th April 2007, 06:42 PM
I have installed FC6 and configure apache and php. For my default website httpd and the website all work as it is supposed to. I am using webmin also to setup virtual websites. When I add a virtual website httpd will not start. This following is my errors that I receive:
Apr 24 11:40:51 ns3 kernel: audit(1177436450.985:216): avc: denied { read write } for pid=3601 comm="httpd" name="0" dev=devpts ino=2 scontext=user_u:system_r:httpd_t:s0 tcontext=user_u:object_r:telnetd_devpts_t:s0 tclass=chr_file
Apr 24 11:40:51 ns3 kernel: audit(1177436450.986:217): avc: denied { read write } for pid=3601 comm="httpd" name="0" dev=devpts ino=2 scontext=user_u:system_r:httpd_t:s0 tcontext=user_u:object_r:telnetd_devpts_t:s0 tclass=chr_file
Apr 24 11:40:51 ns3 kernel: audit(1177436450.986:218): avc: denied { read write } for pid=3601 comm="httpd" name="0" dev=devpts ino=2 scontext=user_u:system_r:httpd_t:s0 tcontext=user_u:object_r:telnetd_devpts_t:s0 tclass=chr_file
Apr 24 11:40:51 ns3 kernel: audit(1177436450.986:219): avc: denied { read write } for pid=3601 comm="httpd" name="0" dev=devpts ino=2 scontext=user_u:system_r:httpd_t:s0 tcontext=user_u:object_r:telnetd_devpts_t:s0 tclass=chr_file
Apr 24 11:40:51 ns3 kernel: audit(1177436451.132:220): avc: denied { append } for pid=3601 comm="httpd" name="error_log" dev=dm-0 ino=11502084 scontext=user_u:system_r:httpd_t:s0 tcontext=user_u:object_r:home_root_t:s0 tclass=file
If I run the command /usr/sbin/setenforce 0 and then start httpd service everything is working fine. Both my default website and the new virtual website both show up and work as planned. I would like to have selinux running so I would like some help to figure out what I am missing as a setting. I have the webserver set in the firewall to be able to have access also.
Apr 24 11:40:51 ns3 kernel: audit(1177436450.985:216): avc: denied { read write } for pid=3601 comm="httpd" name="0" dev=devpts ino=2 scontext=user_u:system_r:httpd_t:s0 tcontext=user_u:object_r:telnetd_devpts_t:s0 tclass=chr_file
Apr 24 11:40:51 ns3 kernel: audit(1177436450.986:217): avc: denied { read write } for pid=3601 comm="httpd" name="0" dev=devpts ino=2 scontext=user_u:system_r:httpd_t:s0 tcontext=user_u:object_r:telnetd_devpts_t:s0 tclass=chr_file
Apr 24 11:40:51 ns3 kernel: audit(1177436450.986:218): avc: denied { read write } for pid=3601 comm="httpd" name="0" dev=devpts ino=2 scontext=user_u:system_r:httpd_t:s0 tcontext=user_u:object_r:telnetd_devpts_t:s0 tclass=chr_file
Apr 24 11:40:51 ns3 kernel: audit(1177436450.986:219): avc: denied { read write } for pid=3601 comm="httpd" name="0" dev=devpts ino=2 scontext=user_u:system_r:httpd_t:s0 tcontext=user_u:object_r:telnetd_devpts_t:s0 tclass=chr_file
Apr 24 11:40:51 ns3 kernel: audit(1177436451.132:220): avc: denied { append } for pid=3601 comm="httpd" name="error_log" dev=dm-0 ino=11502084 scontext=user_u:system_r:httpd_t:s0 tcontext=user_u:object_r:home_root_t:s0 tclass=file
If I run the command /usr/sbin/setenforce 0 and then start httpd service everything is working fine. Both my default website and the new virtual website both show up and work as planned. I would like to have selinux running so I would like some help to figure out what I am missing as a setting. I have the webserver set in the firewall to be able to have access also.