Rootwrap pid check raises exception
Bug #926412 reported by
Vish Ishaya
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Vish Ishaya |
Bug Description
If the second paramater of a rootwrapped command is not an integer and there are exactly two parameters, the rootwrap filter will raise an exception. This breaks later filters that might match.
For example:
$ ./bin/nova-rootwrap cat test
Traceback (most recent call last):
File "./bin/
filtermatch = wrapper.
File "/Users/
if f.match(userargs):
File "/Users/
pid = int(args[1])
ValueError: invalid literal for int() with base 10: 'test'
Changed in nova: | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Vish Ishaya (vishvananda) |
Changed in nova: | |
milestone: | none → essex-4 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-4 → 2012.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/3778
Review: https:/