LXC bind run_as_root commands are obviously wrong
Bug #943304 reported by
Thierry Carrez
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Thierry Carrez | ||
Ubuntu |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The bind function (in nova/virt/
utils.execute(
This is wrong because:
* The order for the parameters is wrong
* The command is not interpreted by shell so this doesn't actually redirect anything to cgroups_path
* There is no rootwrap filter allowing 'echo' to be run as root
Somehow I doubt it works as expected. This should use tee with process_input instead, as in various other places in the same file.
Changed in nova: | |
assignee: | nobody → Chuck Short (zulcss) |
status: | Confirmed → In Progress |
Changed in nova: | |
assignee: | Chuck Short (zulcss) → Thierry Carrez (ttx) |
Changed in nova: | |
milestone: | none → essex-rc1 |
status: | Fix Committed → Fix Released |
Changed in ubuntu: | |
status: | New → Fix Released |
Changed in nova: | |
milestone: | essex-rc1 → 2012.1 |
To post a comment you must log in.
Might have a shot at it if Chuck doesn't fix it before