Deprecate root_helper in favor of rootwrap_config
Mark the root_helper option deprecated and introduce usage of the rootwrap_config option instead. The root_helper option will still fully be supported in Folsom, but will be removed in Grizzly. Transition notes: you should replace: root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf by: rootwrap_config=/etc/nova/rootwrap.conf Implements bp deprecate-root-helper Change-Id: I8dfc94e9b91f7ffc82d393b345f09409da347e78
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
Filters which commands nova is allowed to run as another user.
|
||||
|
||||
To use this, you should set the following in nova.conf:
|
||||
root_helper=sudo nova-rootwrap /etc/nova/rootwrap.conf
|
||||
rootwrap_config=/etc/nova/rootwrap.conf
|
||||
|
||||
You also need to let the nova user run nova-rootwrap as root in sudoers:
|
||||
nova ALL = (root) NOPASSWD: /usr/bin/nova-rootwrap /etc/nova/rootwrap.conf *
|
||||
|
||||
Reference in New Issue
Block a user