Bug 1091118 - dhcp_release net_raw denied under neutron_t context
Summary: dhcp_release net_raw denied under neutron_t context
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: selinux-policy
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Miroslav Grepl
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-24 23:19 UTC by Richard Su
Modified: 2014-05-01 22:29 UTC (History)
4 users (show)

Fixed In Version: selinux-policy-3.12.1-158.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-05-01 22:29:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
audit.log (1.08 MB, text/x-log)
2014-04-24 23:19 UTC, Richard Su
no flags Details
mypol.pp custom policy that fixes issue (868 bytes, application/octet-stream)
2014-04-24 23:20 UTC, Richard Su
no flags Details
mypol.te (158 bytes, text/plain)
2014-04-24 23:20 UTC, Richard Su
no flags Details

Description Richard Su 2014-04-24 23:19:05 UTC
Description of problem:
baremetal instances fail to boot in the instack overcloud. Allowing net_raw access allows the instances to boot. But is this the right thing to do?

Version-Release number of selected component (if applicable):
selinux-policy-3.12.1-156.fc20.noarch
selinux-policy-targeted-3.12.1-156.fc20.noarch
openstack-neutron-2014.1-11.fc21.noarch
openstack-neutron-ml2-2014.1-11.fc21.noarch
openstack-neutron-openvswitch-2014.1-11.fc21.noarch
dnsmasq-utils-2.68-1.fc20.x86_64

How reproducible:
always

Steps to Reproduce:
1. Install selinux-policy-targeted-3.12.1-156
2. Install the instack-undercloud using source method and the selinux-dhcp-release branch, https://github.com/agroup/instack-undercloud
3. Check /var/log/audit.log for dhcp_release avcs

Actual results:
dhcp_release avcs

Expected results:
no dhcp_release avcs

Additional info:

Comment 1 Richard Su 2014-04-24 23:19:57 UTC
Created attachment 889490 [details]
audit.log

Comment 2 Richard Su 2014-04-24 23:20:27 UTC
Created attachment 889491 [details]
mypol.pp custom policy that fixes issue

Comment 3 Richard Su 2014-04-24 23:20:48 UTC
Created attachment 889492 [details]
mypol.te

Comment 4 Miroslav Grepl 2014-04-25 10:02:59 UTC
commit 2a239911005f97c2583c701773d9f619cf74fce1
Author: Miroslav Grepl <mgrepl>
Date:   Fri Apr 25 11:59:59 2014 +0200

    Allow net_raw for neutron

Comment 5 Fedora Update System 2014-04-25 12:44:13 UTC
selinux-policy-3.12.1-158.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/selinux-policy-3.12.1-158.fc20

Comment 6 Fedora Update System 2014-04-26 09:24:43 UTC
Package selinux-policy-3.12.1-158.fc20:
* should fix your issue,
* was pushed to the Fedora 20 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.12.1-158.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-5660/selinux-policy-3.12.1-158.fc20
then log in and leave karma (feedback).

Comment 7 Fedora Update System 2014-05-01 22:29:41 UTC
selinux-policy-3.12.1-158.fc20 has been pushed to the Fedora 20 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.