Bug 812658 - SELinux is preventing keystone from write access on the sock_file /var/lib/mysql/mysql.sock.
Summary: SELinux is preventing keystone from write access on the sock_file /var/lib/my...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy-targeted
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-15 19:17 UTC by Cole Robinson
Modified: 2012-04-25 04:59 UTC (History)
1 user (show)

Fixed In Version: selinux-policy-3.10.0-118.fc17
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-04-25 04:59:45 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Cole Robinson 2012-04-15 19:17:25 UTC
type=AVC msg=audit(1334517192.40:198): avc:  denied  { write } for  pid=854 comm="keystone-all" name="mysql.sock" dev="dm-0" ino=1707200 scontext=system_u:system_r:keystone_t:s0 tcontext=system_u:object_r:mysqld_var_run_t:s0 tclass=sock_file

Our openstack-keystone now defaults to using mysql, but doesn't look like selinux is happy with that. openstack-nova similarly uses mysql but doesn't seem to have any issues.

Comment 1 Miroslav Grepl 2012-04-16 09:39:18 UTC
Fixed in selinux-policy-3.10.0-115.fc17

Comment 2 Fedora Update System 2012-04-23 06:43:45 UTC
selinux-policy-3.10.0-117.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-117.fc17

Comment 3 Fedora Update System 2012-04-24 00:56:32 UTC
selinux-policy-3.10.0-118.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/selinux-policy-3.10.0-118.fc17

Comment 4 Fedora Update System 2012-04-24 03:15:33 UTC
Package selinux-policy-3.10.0-118.fc17:
* should fix your issue,
* was pushed to the Fedora 17 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing selinux-policy-3.10.0-118.fc17'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-6452/selinux-policy-3.10.0-118.fc17
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-04-25 04:59:45 UTC
selinux-policy-3.10.0-118.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.