Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 02-08-2005, 07:42 AM   #1
Registered: Apr 2004
Posts: 340

Rep: Reputation: 30
/var/log/messages - kernel: audit(1107868785.573:0): avc: denied { getattr }

Noticed this message in /var/log/messages
Feb 8 05:19:45 localhost kernel: audit(1107868785.573:0): avc: denied { getattr } for pid=4126 exe=/usr/bin/mysql path=/etc/my.cnf dev=hda1 ino=136043 scontext=user_u:system_r:httpd_sys_script_t tcontext=system_u : object_r:mysqld_etc_t tclass=file
The above entry shows up in /var/log/messages
everytime this shell script is executed
mysql -h hostNAME  -u UserNAME    databaseNAME  <  input.txt   >    output.txt
What does the log message mean?
What needs to be fixed?
Old 02-08-2005, 02:01 PM   #2
Senior Member
Registered: Mar 2003
Distribution: Fedora
Posts: 3,658

Rep: Reputation: 69
Are you using a distro with SELinux support? It looks like a kernel message informing you that the SELinux security facility denied access to mySQL.
Old 02-10-2005, 04:24 AM   #3
Registered: Apr 2004
Posts: 340

Original Poster
Rep: Reputation: 30
Yep, that is what it was.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
what does messages suppressed in /var/log/messages mean saavik Linux - Networking 2 05-07-2008 02:31 PM
Redirecting the kernel messages to file other than /var/log/messages jyotika_b83 Linux - General 3 04-28-2005 06:39 PM
From where am i getting error messages to /var/log/messages? prabhuacsp Linux - Networking 1 02-16-2005 12:34 AM
Audit Log Messages "denied" shortsword Linux - Newbie 0 10-03-2004 05:46 AM
/var/log/messages full of these messages. Should I be concerned? mdavis Linux - Security 5 04-16-2004 10:08 AM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 04:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration