From d6c99d521ff3161f757b722a84323aab3bc42460 Mon Sep 17 00:00:00 2001 From: Davanum Srinivas Date: Thu, 19 Jan 2017 14:13:39 -0500 Subject: [PATCH] Add KillFilter for python 3.5 When we run devstack with USE_PYTHON3, the existing KillFilter definitions are not enough. Let's add one specific to python 3.5 as well. Change-Id: I2472e4e39315225d6c9ea1651c8e3b20edc59b49 --- etc/neutron/rootwrap.d/dhcp.filters | 1 + etc/neutron/rootwrap.d/l3.filters | 1 + 2 files changed, 2 insertions(+) diff --git a/etc/neutron/rootwrap.d/dhcp.filters b/etc/neutron/rootwrap.d/dhcp.filters index 3f06b4ae26e..24404f59975 100644 --- a/etc/neutron/rootwrap.d/dhcp.filters +++ b/etc/neutron/rootwrap.d/dhcp.filters @@ -27,6 +27,7 @@ metadata_proxy: CommandFilter, neutron-ns-metadata-proxy, root # RHEL invocation of the metadata proxy will report /usr/bin/python kill_metadata: KillFilter, root, python, -9 kill_metadata7: KillFilter, root, python2.7, -9 +kill_metadata35: KillFilter, root, python3.5, -9 # ip_lib ip: IpFilter, ip, root diff --git a/etc/neutron/rootwrap.d/l3.filters b/etc/neutron/rootwrap.d/l3.filters index 789a16f80ed..de4590ecf71 100644 --- a/etc/neutron/rootwrap.d/l3.filters +++ b/etc/neutron/rootwrap.d/l3.filters @@ -21,6 +21,7 @@ metadata_proxy: CommandFilter, neutron-ns-metadata-proxy, root # RHEL invocation of the metadata proxy will report /usr/bin/python kill_metadata: KillFilter, root, python, -15, -9 kill_metadata7: KillFilter, root, python2.7, -15, -9 +kill_metadata35: KillFilter, root, python3.5, -15, -9 kill_radvd_usr: KillFilter, root, /usr/sbin/radvd, -15, -9, -HUP kill_radvd: KillFilter, root, /sbin/radvd, -15, -9, -HUP