Direct use of sudo (instead of "run_as_root=True") has crept in code
Bug #847768 reported by
Thierry Carrez
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Thierry Carrez |
Bug Description
Direct usage of "sudo" in utils.execute has been added to code, bypassing the new method of calling elevated privileges (i.e. use the run_as_root=True argument):
Added at rev1477:
./nova/
Added at rev1439:
./nova/
./nova/
Related branches
lp:~ttx/nova/lp847768
- OpenStack release team: Pending requested
-
Diff: 36 lines (+4/-4)2 files modifiednova/tests/test_libvirt.py (+2/-2)
nova/virt/disk.py (+2/-2)
- Dan Prince (community): Approve
- Brian Waldon (community): Approve
-
Diff: 36 lines (+4/-4)2 files modifiednova/tests/test_libvirt.py (+2/-2)
nova/virt/disk.py (+2/-2)
Changed in nova: | |
assignee: | nobody → Thierry Carrez (ttx) |
importance: | Undecided → Medium |
milestone: | none → 2011.3 |
status: | New → In Progress |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Already got the qemu-img ones here:
https:/ /code.launchpad .net/~vishvanan da/nova/ lp845753
They shouldn't have been sudo anyway