Child pages
  • RHEL/CentOS 7 httpd SELinux policy 변경

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
borderColorblack
borderStylesolid
titleauditwhy 조회 결과

type=AVC msg=audit(1441810800.407:18499): avc: denied { write } for pid=29003 comm="php-fpm" name="sessions" dev="xvda1" ino=788733950 scontext=system_u:system_r:httpd_t:s0 tcontext=unconfined_u:object_r:httpd_sys_content_t:s0 tclass=dir

Was caused by:
The boolean httpd_unified was set incorrectly.
Description:
Allow httpd to unified

Allow access by executing:
# setsebool -P httpd_unified 1


조치

처리 방법은 여러 가지가 있다.

rw 가능한 컨텍스트 적용

...