Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1010217

Summary: AVC found during python/mysql testing
Product: Red Hat Enterprise Linux 6 Reporter: Branislav Náter <bnater>
Component: selinux-policyAssignee: Miroslav Grepl <mgrepl>
Status: CLOSED DUPLICATE QA Contact: Milos Malik <mmalik>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.5CC: dwalsh, kvolny, mmalik
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: 2013-09-23 07:58:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Branislav Náter 2013-09-20 09:24:40 UTC
AVC found during testing python mysql db connector.

Version-Release number of selected component (if applicable):
RHEL6.5-20130913.0
selinux-policy-3.7.19-216.el6.noarch

Steps to Reproduce: 
run /CoreOS/MySQL-python/Sanity/basic test


Actual results: 
time->Wed Sep 18 15:27:42 2013
type=SYSCALL msg=audit(1379532462.532:35): arch=c000003e syscall=2 success=no exit=-13 a0=7f0624409084 a1=0 a2=1b6 a3=0 items=0 ppid=28960 pid=28986 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="my_print_defaul" exe="/usr/bin/my_print_defaults" subj=unconfined_u:system_r:mysqld_safe_t:s0 key=(null)
type=AVC msg=audit(1379532462.532:35): avc:  denied  { read } for  pid=28986 comm="my_print_defaul" name="urandom" dev=devtmpfs ino=3877 scontext=unconfined_u:system_r:mysqld_safe_t:s0 tcontext=system_u:object_r:urandom_device_t:s0 tclass=chr_file

full log: http://beaker-archive.app.eng.bos.redhat.com/beaker-logs/2013/09/4993/499325/1050119/15749096/79675042/test_log-Setup-avc.log

Expected results:
no AVC

Comment 2 Karel Volný 2013-09-23 07:58:42 UTC

*** This bug has been marked as a duplicate of bug 1009449 ***