IpNetnsExecFilter does not qualify the path of nested commands

Bug #1417330 reported by Maru Newby
6
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.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.