Bug 832414 - openstack-glance-2012.1-4.fc17
Summary: openstack-glance-2012.1-4.fc17
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-15 11:14 UTC by Pádraig Brady
Modified: 2012-07-19 09:18 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-20 00:30:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Pádraig Brady 2012-06-15 11:14:39 UTC
There is a denial connecting to mysqld:

type=AVC msg=audit(1339706457.635:1431): avc:  denied  { name_connect } for  pid=31822 comm="glance-registry" dest=3306 scontext=system_u:system_r:glance_registry_t:s0 tcontext=system_u:object_r:mysqld_port_t:s0 tclass=tcp_socket

Note mysql is on localhost.
Apparently this was addressed in selinux-policy-targeted-3.10.0-120.fc17.noarch,
but that only seemed to consider the unix socket connection, as it added:

  mysql_stream_connect(glance_registry_t)

It seems from the above that this is also needed?

  allow glance_registry_t mysqld_port_t:tcp_socket name_connect;

Comment 1 Daniel Walsh 2012-06-15 20:14:45 UTC
I can add the ability to connect to the mysql port, do you know of any other ports it needs to connect to.

Comment 2 Pádraig Brady 2012-06-16 00:08:31 UTC
I don't know of any others

Comment 3 Daniel Walsh 2012-06-18 20:41:34 UTC
Fixed in selinux-policy-3.10.0-132.fc17

Comment 4 Fedora Update System 2012-06-19 07:59:50 UTC
selinux-policy-3.10.0-132.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-132.fc17

Comment 5 Fedora Update System 2012-06-20 00:30:06 UTC
selinux-policy-3.10.0-132.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2012-07-19 09:18:11 UTC
selinux-policy-3.10.0-132.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.