테스트 사이트 - 개발 중인 베타 버전입니다

그누보드 설치 SELinux TroubleShooting

· 3년 전 · 1932 · 1

그누보드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

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기

댓글 1개

감사합니다

게시글 목록

번호 제목
23966
23963
23953
23949
23938
23935
23933
23928
23919
23918
23917
23910
23902
23901
23897
23894
23893
23891
23885
23872
23870
23862
23859
23853
23845
23838
23827
23819
23805
23801