그누보드 설치 SELinux TroubleShooting > 그누보드5 팁자료실

그누보드5 팁자료실

그누보드 설치 SELinux TroubleShooting 정보

그누보드 설치 SELinux TroubleShooting

본문

그누보드5 설치, on RHEL 8 or CentOS 8 

 

첫 설치과정에서 화면이 꼼짝안하고 막혀서 진행이 안되면, SELinux 문제일 경우가 있슴

 

점검은
# sealert -a /var/log/audit/audit.log
Error Message 에
SELinux is preventing /usr/sbin/php-fpm from unlink access on the file latest-gallery... etc

해결
# semanage fcontext -a -t httpd_sys_rw_content_t 'latest-gallery-pic_block-4-23-835dff.php'

# setsebool -P httpd_unified 1

# ausearch -c 'php-fpm' --raw | audit2allow -M my-phpfpm
# semodule -X 300 -i my-phpfpm.pp

추천
2
  • 복사

댓글 1개

© SIRSOFT
현재 페이지 제일 처음으로