질문&답변
클라우드/리눅스에 관한 질문과 답변을 주고 받는 곳입니다.
리눅스 분류

부팅한후에 오류 메세지 avc : denied 가 나옵니다.

작성자 정보

  • 김동규 작성
  • 작성일

컨텐츠 정보

본문

학교 웹서버에 페도라 코어 3을 설치하였습니다. 그런데 리부팅을 하면 화면에 다음과 같은 메세지가 나옵니다. 
어떤 오류 내용인지 확인 부탁드립니다. 
 
[root@kanggo log]# tail -n 100 messages
Sep 13 09:26:56 kanggo smartd[3188]: smartd version 5.33 [i386-redhat-linux-gnu] Copyright (C) 2002-4 Bruce Allen
...
Sep 13 09:27:16 kanggo kernel: audit(1126571236.366:2): avc:  denied  { search } for  pid=3393 comm="httpd"  name="public_html" dev=sda8 ino=3915830 scontext=user_u:system_r:httpd_t  tcontext=root:object_r:user_home_t tclass=dir
Sep 13 09:27:16 kanggo kernel: audit(1126571236.388:3): avc:  denied  { getattr } for  pid=3393 comm="httpd"  name="donglip1.htm" dev=sda8 ino=3916281 scontext=user_u:system_r:httpd_t  tcontext=root:object_r:user_home_t tclass=file
Sep 13 09:27:16 kanggo kernel: audit(1126571236.388:4): avc:  denied  { getattr } for  pid=3393 comm="httpd"  name="kuk" dev=sda8 ino=3916108 scontext=user_u:system_r:httpd_t  tcontext=root:object_r:user_home_t tclass=dir
Sep 13 09:27:16 kanggo kernel: audit(1126571236.388:5): avc:  denied  { read } for  pid=3393 comm="httpd"  name="donglip1.htm" dev=sda8 ino=3916281 scontext=user_u:system_r:httpd_t  tcontext=root:object_r:user_home_t tclass=file
Sep 13 09:27:16 kanggo kernel: audit(1126571236.629:6): avc:  denied  { read } for  pid=3393 comm="httpd"  name="7-danwon" dev=sda8 ino=3917275 scontext=user_u:system_r:httpd_t  tcontext=root:object_r:user_home_t tclass=dir
Sep 13 09:27:17 kanggo kernel: audit(1126571237.804:7): avc:  denied  { execute } for  pid=4020 comm="httpd"  name="count.cgi" dev=sda8 ino=5915293 scontext=user_u:system_r:httpd_t  tcontext=root:object_r:user_home_t tclass=file
Sep 13 09:27:17 kanggo kernel: audit(1126571237.804:8): avc:  denied  { execute_no_trans } for  pid=4020 comm="httpd"  name="count.cgi" dev=sda8 ino=5915293 scontext=user_u:system_r:httpd_t  tcontext=root:object_r:user_home_t tclass=file
Sep 13 09:27:17 kanggo kernel: audit(1126571237.819:9): avc:  denied  { ioctl } for  pid=4020 comm="count.cgi" name="count.cgi" dev=sda8 ino=5915293 scontext=user_u:system_r:httpd_t  tcontext=root:object_r:user_home_t tclass=file
Sep 13 09:27:17 kanggo kernel: audit(1126571237.856:10): avc:  denied  { getattr } for  pid=4020 comm="count.cgi" name="10.10.10.1" dev=sda8 ino=5915323 scontext=user_u:system_r:httpd_t  tcontext=user_u:object_r:user_home_t tclass=file
Sep 13 09:27:17 kanggo kernel: audit(1126571237.856:11): avc:  denied  { read } for  pid=4020 comm="count.cgi" name="10.10.10.1" dev=sda8 ino=5915323 scontext=user_u:system_r:httpd_t  tcontext=user_u:object_r:user_home_t tclass=file
Sep 13 09:27:17 kanggo kernel: audit(1126571237.856:12): avc:  denied  { ioctl } for  pid=4020 comm="count.cgi" name="10.10.10.1" dev=sda8 ino=5915323 scontext=user_u:system_r:httpd_t  tcontext=user_u:object_r:user_home_t tclass=file
Sep 13 09:27:17 kanggo kernel: audit(1126571237.881:13): avc:  denied  { write } for  pid=4020 comm="count.cgi" name="count.txt" dev=sda8 ino=5915324 scontext=user_u:system_r:httpd_t  tcontext=root:object_r:user_home_t tclass=file
Sep 13 09:27:17 kanggo kernel: audit(1126571237.886:14): avc:  denied  { write } for  pid=4020 comm="count.cgi" name="kanggo" dev=sda8 ino=5915321 scontext=user_u:system_r:httpd_t  tcontext=root:object_r:user_home_t tclass=dir
Sep 13 09:27:17 kanggo kernel: audit(1126571237.887:15): avc:  denied  { add_name } for  pid=4020 comm="count.cgi" name="picker1.tmp" scontext=user_u:system_r:httpd_t  tcontext=root:object_r:user_home_t tclass=dir
Sep 13 09:27:17 kanggo kernel: audit(1126571237.887:16): avc:  denied  { create } for  pid=4020 comm="count.cgi" name="picker1.tmp" scontext=user_u:system_r:httpd_t  tcontext=user_u:object_r:user_home_t tclass=file
Sep 13 09:27:17 kanggo kernel: audit(1126571237.898:17): avc:  denied  { write } for  pid=4020 comm="count.cgi" name="picker1.tmp" dev=sda8 ino=5915743 scontext=user_u:system_r:httpd_t  tcontext=user_u:object_r:user_home_t tclass=file
Sep 13 09:27:17 kanggo kernel: audit(1126571237.961:18): avc:  denied  { remove_name } for  pid=4020 comm="count.cgi" name="picker1.tmp" dev=sda8 ino=5915743 scontext=user_u:system_r:httpd_t  tcontext=root:object_r:user_home_t tclass=dir
Sep 13 09:27:17 kanggo kernel: audit(1126571237.961:19): avc:  denied  { unlink } for  pid=4020 comm="count.cgi" name="picker1.tmp" dev=sda8 ino=5915743 scontext=user_u:system_r:httpd_t  tcontext=user_u:object_r:user_home_t tclass=file
Sep 13 09:28:21 kanggo kernel: audit(1126571301.966:20): avc:  denied  { connect } for  pid=3325 comm="httpd"  scontext=user_u:system_r:httpd_t  tcontext=user_u:system_r:httpd_t  tclass=tcp_socket
Sep 13 09:28:21 kanggo kernel: audit(1126571301.966:21): avc:  denied  { name_connect } for  pid=3325 comm="httpd"  dest=80 scontext=user_u:system_r:httpd_t  tcontext=system_u:object_r:http_port_t  tclass=tcp_socket
Sep 13 09:30:05 kanggo sshd(pam_unix)[4221]: session opened for user dohdo by (uid=0)
Sep 13 09:30:08 kanggo su(pam_unix)[4248]: session opened for user root by dohdo(uid=652)
Sep 13 09:30:12 kanggo kernel: audit(1126571412.537:22): avc:  denied  { lock } for  pid=4287 comm="count.cgi" name="10.10.10.1" dev=sda8 ino=5915487 scontext=user_u:system_r:httpd_t  tcontext=user_u:object_r:user_home_t tclass=file
Sep 13 09:30:12 kanggo kernel: audit(1126571412.539:23): avc:  denied  { setattr } for  pid=4289 comm="chmod" name="10.10.10.1" dev=sda8 ino=5915487 scontext=user_u:system_r:httpd_t  tcontext=user_u:object_r:user_home_t tclass=file
[root@kanggo log]#

관련자료

댓글 0
등록된 댓글이 없습니다.

공지사항


뉴스광장


  • 현재 회원수 :  60,291 명
  • 현재 강좌수 :  36,951 개
  • 현재 접속자 :  365 명