cdb9fe351d
It appears that this library is typically run as the root user which shouldn't require 'run_as_root'. When running as an unprivileged user the required permissions can be granted by specifying 'AmbientCapabilities = CAP_NET_ADMIN' in the service, rather than 'CapabilityBoundingSet'. An alternative approach would be to specify a 'root_helper' or to switch to oslo.privsep, but these don't fully solve the problem as the 'pyroute2' library also requires 'CAP_NET_ADMIN'. Closes-Bug: #1852105 Change-Id: I9d0942f1cfc06cc3a7585683a030516096297767 |
||
---|---|---|
.. | ||
binding | ||
segmentation_type_drivers | ||
__init__.py | ||
_i18n.py | ||
config.py | ||
constants.py | ||
exceptions.py | ||
opts.py | ||
utils.py | ||
version.py |