commit a06b316cb47369ef4a2c522f5240fa3f7f529135
Author: Bob Kukura <email address hidden>
Date: Tue Mar 13 17:23:06 2012 -0400
Add root_helper to quantum agents.
When running commands that require root privileges, the linuxbridge,
openvswitch, and ryu agent now prepend the commands with the value of
the root_helper config variable. This is set to "sudo" in the plugins'
.ini files, allowing the agent to run as a non-root user with
appropriate sudo privilidges.
If root_helper is changed to "sudo quantum-rootwrap",
then the command being run will be filtered against lists of each
agent's valid commands in quantum/rootwrap. See http://wiki.openstack.org/Packager/Rootwrap for details.
Reviewed: https:/ /review. openstack. org/5293 github. com/openstack/ quantum/ commit/ a06b316cb47369e f4a2c522f5240fa 3f7f529135
Committed: http://
Submitter: Jenkins
Branch: master
commit a06b316cb47369e f4a2c522f5240fa 3f7f529135
Author: Bob Kukura <email address hidden>
Date: Tue Mar 13 17:23:06 2012 -0400
Add root_helper to quantum agents.
When running commands that require root privileges, the linuxbridge,
openvswitch, and ryu agent now prepend the commands with the value of
the root_helper config variable. This is set to "sudo" in the plugins'
.ini files, allowing the agent to run as a non-root user with
appropriate sudo privilidges.
If root_helper is changed to "sudo quantum-rootwrap", wiki.openstack. org/Packager/ Rootwrap for details.
then the command being run will be filtered against lists of each
agent's valid commands in quantum/rootwrap. See
http://
Fixes bug 948467.
Change-Id: I549515068a4ce8 ae480905ec5eaab 6257445d0c3
Signed-off-by: Bob Kukura <email address hidden>