Merge "Drop CAP_NET_ADMIN"

This commit is contained in:
Zuul 2021-03-25 17:04:47 +00:00 committed by Gerrit Code Review
commit 12d67aede4
2 changed files with 6 additions and 2 deletions

View File

@ -12,7 +12,6 @@
# See the License for the specific language governing permissions and
# limitations under the License.
from oslo_privsep import capabilities as c
from oslo_privsep import priv_context
@ -20,5 +19,5 @@ monitors_priv = priv_context.PrivContext(
"masakarimonitors",
cfg_section="masakarimonitors_privileged",
pypath=__name__ + ".monitors_priv",
capabilities=[c.CAP_NET_ADMIN],
capabilities=[],
)

View File

@ -0,0 +1,5 @@
---
other:
- |
Masakari hostmonitor and processmonitor will no longer require
``CAP_NET_ADMIN`` capability.