Bug 513298

Summary: AVC errors for xm save operation in rhts
Product: Red Hat Enterprise Linux 5 Reporter: Gurhan Ozen <gozen>
Component: selinux-policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED NOTABUG QA Contact: BaseOS QE <qe-baseos-auto>
Severity: medium Docs Contact:
Priority: low    
Version: 5.4CC: jburke, syeghiay
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-23 20:01:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Gurhan Ozen 2009-07-22 21:53:28 UTC
Description of problem:

type=SYSCALL msg=audit(1247585893.558:75): arch=c000003e syscall=21 success=no exit=-13 a0=7b11cd0 a1=2 a2=3df612f258 a3=1 items=0 ppid=8867 pid=14125 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="python" exe="/usr/bin/python" subj=system_u:system_r:xm_t:s0 key=(null)
type=AVC msg=audit(1247585893.558:75): avc:  denied  { write } for  pid=14125 comm="python" name="xm" dev=dm-0 ino=9502801 scontext=system_u:system_r:xm_t:s0 tcontext=system_u:object_r:mnt_t:s0 tclass=dir

This doesn't happen when ran manually. 

Version-Release number of selected component (if applicable):
selinux-policy-2.4.6-249.el5

How reproducible:
Very.

Comment 3 Daniel Walsh 2009-07-23 14:07:33 UTC
This avc indicates a write operation between xm and a directory labeled mnt_t
Any idea what it is trying to create under /mnt?