View Single Post
Old May 18th, 2006, 4:02 PM   #1
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
avc: denied { append } SELinux issue?

I have a shell script that is trying to write to a file "upd.log" via an entry in /etc/syslog.conf...

I am getting the below error:

localhost kernel: audit(1147975142.650:2): avc: denied { append } for pid=1729 comm="syslogd" name="upd.log" dev=dem-0 ino=8978753 scontect=user_u:system_r:syslogd_t tcontect=root:object_r:usr_t tclass=file

After researching this, it appears that it is due to SELinux, but I'm not entirely sure how to fix it. I've seen audit2allow and such, but I need assistance with the syntax and confirmation that I am on the right path.

I took SELinux off my machines for this very reason; however, clients did not follow suit Anyone have experience with SELinux?

Thanks in advance...
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote