public inbox for linux-audit@redhat.com
 help / color / mirror / Atom feed
From: Bill Tangren <bjt@usno.navy.mil>
To: linux-audit@redhat.com
Subject: "denied" error message
Date: Wed, 25 Jul 2007 15:04:21 -0400	[thread overview]
Message-ID: <46A79EB5.7050206@usno.navy.mil> (raw)

I have the following error message showing up in my audit logs. This is on an 
SELinux-enabled web server (running RHEL ES 4, fully patched). This is actually 
an selinux error, so if this not the correct place to ask this question, please 
let me know.

**********
type=AVC msg=audit(1185389440.164:7579569): avc:  denied  { execute } for 
pid=26076 comm="aa_pap8" name="ld.so.cache" dev=md3 ino=2529627 
scontext=user_u:system_r:httpd_sys_script_t tcontext=root:object_r:ld_so_cache_t 
tclass=file

type=SYSCALL msg=audit(1185389440.164:7579569): arch=40000003 syscall=90 
per=400000 success=no exit=-13 a0=bffff074 a1=2 a2=a54fd4 a3=3 items=0 pid=26076 
auid=4294967295 uid=48 gid=48 euid=48 suid=48 fsuid=48 egid=48 sgid=48 fsgid=48 
comm="aa_pap8" exe="/location/of/bin/aa_pap8"

type=AVC_PATH msg=audit(1185389440.164:7579569):  path="/etc/ld.so.cache"

**********

A web page of ours is calling a script that is calling this program 
/location/of/bin/aa_pap8. The security context on the program is

-rwxr-xr-x  apache   AA  system_u:object_r:httpd_sys_content_t  aa_pap8

The security context on ls.so.cache is

-rw-r--r--  root     root  root:object_r:ld_so_cache_t  /etc/ld.so.cache

Does anyone know why this error is occurring? The program is running correctly. 
I'd just like to know where the error is coming from.

Thanks,

Bill Tangren

             reply	other threads:[~2007-07-25 19:04 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-25 19:04 Bill Tangren [this message]
2007-07-25 20:03 ` "denied" error message Bill Tangren
2007-07-26 12:36   ` Stephen Smalley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=46A79EB5.7050206@usno.navy.mil \
    --to=bjt@usno.navy.mil \
    --cc=linux-audit@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox