«   2021/01   »
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            
01-21 20:20
Notice
Today
341
Total
1,397,376
관리 메뉴

변군이글루

[error] named: initgroups(): Operation not permitted 본문

+ 네임서버

[error] named: initgroups(): Operation not permitted

변군 변군이글루 2013. 6. 20. 21:38

named 실행 시 아래와 같은 에러가 발생할 경우
[root@dns3 slaves]# service named restart
named를 정지 중: [ OK ]
named를 시작 중: named: initgroups(): Operation not permitted [실패]

[root@dns3 slaves]# vi /var/log/messages
Mar 26 21:50:03 dns3 kernel: type=1400 audit(1301143803.811:5): avc: denied { getcap } for pid=1776 comm="named" scontext=root:system_r:named_t:s0 tcontext=root:system_r:named_t:s0 tclass=process

enforcing -> disabled 변경한 후 리붓팅 한다
[root@dns2 slaves]# cat /etc/sysconfig/selinux
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
SELINUX=disabled
# SELINUXTYPE= type of policy in use. Possible values are:
# targeted - Only targeted network daemons are protected.
# strict - Full SELinux protection.
SELINUXTYPE=targeted

 

 

 

0 Comments
댓글쓰기 폼