IpNetnsExecFilter does not qualify the path of nested commands
Bug #1417330 reported by
Maru Newby
This bug report is a duplicate of:
Bug #1417331: IpNetnsExecFilter does not qualify the path of nested commands.
Edit
Remove
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oslo.rootwrap |
New
|
Undecided
|
Unassigned |
Bug Description
When invoking a command via IpNetnsExecFilter, the 'ip' command is automatically qualified depending on where it has been found via exec_dirs (e.g. the 'ip' command is found at '/sbin/ip' and that qualified command is executed). However, a command invoked by ip netns is not similarly qualified such that it being found is entirely dependent on the PATH environment. This is causing problems for neutron functional testing where the target command is in a venv bin directory and a qualified path is required.
To post a comment you must log in.