Bug 760055 - SELinux policy for keystone
Summary: SELinux policy for keystone
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: openstack-keystone
Version: 17
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Alan Pevec (Fedora)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-05 11:30 UTC by Mark McLoughlin
Modified: 2012-12-18 18:21 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-18 18:21:18 UTC
Type: ---


Attachments (Terms of Use)

Description Mark McLoughlin 2011-12-05 11:30:06 UTC
OpenStack's Identity Service (Keystone) doesn't currently have any SELinux policy defined for it so it runs unconfined in the initrc_t domain

Comment 1 Mark McLoughlin 2012-03-08 09:36:03 UTC
To confirm that the keystone service runs in the initrc_t domain:

system_u:system_r:initrc_t:s0   20646 ?        00:00:01 keystone-all

Comment 2 Daniel Walsh 2012-03-08 15:26:08 UTC
Why is openstack-keystone using /tmp?  Why is it writing content that can execute?  It should be using /var/run for this or at least use privatetmp in unit file.

Comment 3 Daniel Walsh 2012-03-08 15:35:06 UTC
Policy is in selinux-policy-3.10.0-98.fc17

But needs lots of testing, since all I did was write it and start and stop the service.  Not sure how it interacts with other openstack daemons.

Comment 4 Alan Pevec 2012-05-02 15:21:09 UTC
(In reply to comment #2)
> Why is openstack-keystone using /tmp?  Why is it writing content that can
> execute?  It should be using /var/run for this or at least use privatetmp in
> unit file.

That's probably Python's uuid issue bug 814391

Comment 5 Dave Malcolm 2012-05-02 19:12:34 UTC
(In reply to comment #4)
> (In reply to comment #2)
> > Why is openstack-keystone using /tmp?  Why is it writing content that can
> > execute?  It should be using /var/run for this or at least use privatetmp in
> > unit file.
> 
> That's probably Python's uuid issue bug 814391
This is fixed in Fedora; see https://bugzilla.redhat.com/show_bug.cgi?id=814391#c10

Comment 6 Fedora Admin XMLRPC Client 2012-05-22 17:34:09 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.


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