SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0

25,947

Yes the output of sestatus and probably /var/log/audit/audit.log help.

Also just want to add if httpd directory resides in a user home directory then this boolean need to be enabled.

setsebool -P httpd_read_user_content 1

Share:
25,947

Related videos on Youtube

user12145
Author by

user12145

Updated on September 18, 2022

Comments

  • user12145
    user12145 over 1 year

    I kept getting the following notice in apache log when I start apache http server 2.2:

    SELinux policy enabled; httpd running as context unconfined_u:system_r:httpd_t:s0
    

    even though I disabled selinux already. what's wrong?

    • dawud
      dawud almost 11 years
      you need getting, or you keep getting? Also, stop disabling SELinux
    • user12145
      user12145 almost 11 years
      @dawud: kept getting
    • dawud
      dawud almost 11 years
      Can you please add the output of sestatus and cat /etc/selinux/config to your question?