Add capabilities for privsep
CAP_DAC_OVERRIDE and CAP_DAC_READ_SEARCH were added
(like in nova) to fix agents on kernel 4.15.
Please see bug for details
Change-Id: Ieed6f5f6906036cdeaf2c3d96350eeae9559c0c7
Closes-Bug: #1800157
(cherry picked from commit 32cc8b63d7
)
This commit is contained in:
parent
2a3ba92a60
commit
663d6486a3
@ -22,5 +22,8 @@ default = priv_context.PrivContext(
|
||||
# TODO(gus): CAP_SYS_ADMIN is required (only?) for manipulating
|
||||
# network namespaces. SYS_ADMIN is a lot of scary powers, so
|
||||
# consider breaking this out into a separate minimal context.
|
||||
capabilities=[caps.CAP_SYS_ADMIN, caps.CAP_NET_ADMIN],
|
||||
capabilities=[caps.CAP_SYS_ADMIN,
|
||||
caps.CAP_NET_ADMIN,
|
||||
caps.CAP_DAC_OVERRIDE,
|
||||
2], # CAP_DAC_READ_SEARCH
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user