Ihar Hrachyshka e65ab4a1c5 lib/neutron: configure root_helper for agents
Before the patch, we were only configuring root_helper_daemon to point
to oslo.rootwrap, but not root_helper. (The former is used for long
running commands only, while the latter is used for short lived
commands.) This made neutron agents to directly call to sudo when a
privileged process was to be executed. This failed because /etc/sudoers
was not configured to allow anything except the rootwrap call itself.

This patch simplifies rootwrap handling in the code; it also sets
root_helper to point to rootwrap; as well as configure daemon in
sudoers. While at it, we also set l2 agent to use rootwrap too.
Hopefully, it will be enough for agents to actually configure backend as
needed.

Change-Id: Ib05a6e0e024f534d7f616d41d70fb67ecf6daeaf
2017-03-05 23:05:33 +00:00
..
2015-11-27 15:36:04 +11:00
2016-12-23 13:15:03 -05:00
2015-11-27 15:36:04 +11:00
2015-11-27 15:36:04 +11:00
2017-01-05 18:41:29 -05:00
2015-11-27 15:36:04 +11:00
2017-02-21 23:04:49 +00:00
2016-01-05 07:41:35 -05:00
lvm
2016-12-05 15:32:25 +08:00
2017-02-13 16:16:59 -05:00
2015-12-01 14:52:35 -05:00
2017-02-13 16:16:59 -05:00
2016-05-09 14:26:08 -04:00