Bug 1581729 - [OSP13] Neutron denied running dhcp_release6
Summary: [OSP13] Neutron denied running dhcp_release6
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-selinux
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
high
urgent
Target Milestone: rc
: 13.0 (Queens)
Assignee: Lon Hohberger
QA Contact: Udi Shkalim
URL:
Whiteboard:
Depends On:
Blocks: 1547669
TreeView+ depends on / blocked
 
Reported: 2018-05-23 13:49 UTC by Lon Hohberger
Modified: 2018-06-27 13:58 UTC (History)
6 users (show)

Fixed In Version: openstack-selinux-0.8.14-11.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-27 13:57:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:2086 0 None None None 2018-06-27 13:58:54 UTC

Description Lon Hohberger 2018-05-23 13:49:02 UTC
Description of problem: CI Testing showed this new AVC:

type=AVC msg=audit(1527075675.414:18010): avc:  denied  { name_bind } for  pid=4521 comm="dhcp_release6" src=546 scontext=system_u:system_r:neutron_t:s0 tcontext=system_u:object_r:dhcpc_port_t:s0 tclass=udp_socket


Version-Release number of selected component (if applicable): 0.8.14-10.el7ost


How reproducible: Unknown

Comment 1 Brian Haley 2018-05-23 15:53:53 UTC
dhcp_release6 is something neutron could call to try and clean-up stale leases, so it should be allowed.  Since it's not something that would happen often, and it's IPv6 which doesn't have as small a subnet size as IPv4, I wouldn't necessarily consider it a blocker for GA.  And it is probably just causing a runtime error in the dhcp-agent, which should be caught correctly.

Comment 2 Bernard Cafarelli 2018-05-23 16:21:41 UTC
May be related to #1547669 (now dhcp_release6 binary is found and can be called)

Comment 3 Brian Haley 2018-05-23 16:29:30 UTC
Yes, Bernard is correct, dhcp_release6 was added in dnsmasq version 2.76, http://www.thekelleys.org.uk/dnsmasq/CHANGELOG - so that script is new to any OSP release that gets it.

Comment 4 Lon Hohberger 2018-05-23 18:35:54 UTC
Linky: bug 1547669

Comment 10 Lon Hohberger 2018-06-21 13:01:11 UTC
AVC regression tests for this passed; the AVC does not appear with current openstack-selinux-0.8.14-11.el7ost and later

Comment 12 errata-xmlrpc 2018-06-27 13:57:08 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2018:2086


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