]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Run RootHelperProcess always as root
authorJakub Libosvar <libosvar@redhat.com>
Wed, 27 May 2015 13:50:22 +0000 (13:50 +0000)
committerJakub Libosvar <libosvar@redhat.com>
Thu, 4 Jun 2015 14:36:24 +0000 (16:36 +0200)
commitc0afeba0b55318e4508d59a68bc7c15e23a9a996
treed8a5c878fa52d5485a0e2a30e3efd01e83156f25
parente95510f8d123e0428baa5d7b043d6542120d89f9
Run RootHelperProcess always as root

The purpose of RootHelperProcess is to spawn processes running with root
id. Instantiating RootHelperProcess as non-root doesn't make sense. This
also implies NetcatTester always spawns 'netcat' process as root. The
reason why parameter existed here was due to refactor from passing
root_helper all over the place.

Change-Id: If042efcd75e46b66abf4a9e303e633749a1611b1
neutron/tests/functional/agent/linux/helpers.py
neutron/tests/functional/agent/linux/test_helpers.py
neutron/tests/functional/agent/linux/test_iptables.py
neutron/tests/functional/agent/test_l3_agent.py