※ 참고 (2026년 기준) dovecot_disable_trans, openvpn_disable_trans 같은 *_disable_trans 옵션은 RHEL 5 시절 것으로 이후 버전에는 없다. allow_execheap 은 selinuxuser_execheap 으로 이름이 바뀌었다.
httpd 안에서 다른 서버의 Database를 사용하고 싶을때
setsebool - P httpd_can_network_connect_db on
Apache Log를 NFS 사용하고 싶을때
setsebool - P httpd_use_nfs on
dovecot (imap)을 사용하고 싶을때
setsebool - P dovecot_disable _ trans 1
svn 서버를 쓰려고 할때
$ semanage fcontext - a - t httpd_sys_content _ t '/home/svn(/.*)?'
$ semanage fcontext - a - t httpd_sys_script_rw _ t '/home/svn/[^/]+/(dav|db)(/.*)?'
$ semanage fcontext - a - t httpd_sys_script_exec _ t '/home/svn/[^/]+/hooks(/.*)?'
$ restorecon - Rv / home / svn
Zend optimizer 를 설치 할때
semanage fcontext - a - t textrel_shlib _ t . / ZendOptimizer .so
setsebool - P allow_execheap = 1
getsebool allow_execheap
execstack - c . / ZendOptimizer .so
http public_html 을 사용하려 할때
chcon - R - t httpd_user_content_t / home / User / public_html
setsebool - P httpd_enable_homedirs = 1
openvpn 인증서 생성할때
setsebool - P openvpn_enable _ homedirs 1
setsebool - P openvpn_disable_trans on
관련 글: openvpn 설치