diff options
| author | Thierry Carrez <thierry@openstack.org> | 2011-08-11 12:34:04 +0000 |
|---|---|---|
| committer | Tarmac <> | 2011-08-11 12:34:04 +0000 |
| commit | fe0bde67193ce76376e72a7263b89240a63722a8 (patch) | |
| tree | 07f8b5720cdf49e8ba7b6b0a83b0fd2948720c97 /bin/stack | |
| parent | e78499c51b1cec93c0bdaadbcb78e71bf66d473d (diff) | |
| parent | 7d9ff45ec1acc3cba0d58341f3cce011df140f8e (diff) | |
| download | nova-fe0bde67193ce76376e72a7263b89240a63722a8.tar.gz nova-fe0bde67193ce76376e72a7263b89240a63722a8.tar.xz nova-fe0bde67193ce76376e72a7263b89240a63722a8.zip | |
* Removes rogue direct usage of subprocess module by proper utils.execute calls
* Adds a run_as_root parameter to utils.execute, that prefixes your command with FLAG.root_helper (which defaults to 'sudo')
* Turns all sudo calls into run_as_root=True calls
* Update fakes accordingly
* Replaces usage of "sudo -E" and "addl_env" parameter into passing environment in the command (allows it to be compatible with alternative sudo_helpers)
* Additionally, forces close_fds=True on all utils.execute calls, since it's a more secure default
Diffstat (limited to 'bin/stack')
0 files changed, 0 insertions, 0 deletions
