Run radvd as root
During the refactoring of external process management radvd lost its root privileges. Closes-bug: 1448813 Change-Id: I84883fe81684afafac9b024282a03f447c8f825a
This commit is contained in:
parent
c5188d8bf8
commit
a5e5433877
@ -103,7 +103,8 @@ class DaemonMonitor(object):
|
||||
default_cmd_callback=callback,
|
||||
namespace=self._router_ns,
|
||||
service=RADVD_SERVICE_NAME,
|
||||
conf=cfg.CONF)
|
||||
conf=cfg.CONF,
|
||||
run_as_root=True)
|
||||
|
||||
def _spawn_radvd(self, radvd_conf):
|
||||
def callback(pid_file):
|
||||
|
@ -1401,7 +1401,8 @@ class TestBasicRouterOperations(BasicRouterOperationsFramework):
|
||||
service=process,
|
||||
default_cmd_callback=mock.ANY,
|
||||
namespace=ri.ns_name,
|
||||
conf=mock.ANY)]
|
||||
conf=mock.ANY,
|
||||
run_as_root=True)]
|
||||
|
||||
def _process_router_ipv6_subnet_added(
|
||||
self, router, ipv6_subnet_modes=None):
|
||||
|
Loading…
Reference in New Issue
Block a user