Comment 2 for bug 1044083

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to quantum (master)

Reviewed: https://review.openstack.org/12388
Committed: http://github.com/openstack/quantum/commit/28df8f6d8f2fddf5fb5751eb5100d40a9b4745fa
Submitter: Jenkins
Branch: master

commit 28df8f6d8f2fddf5fb5751eb5100d40a9b4745fa
Author: Mark McClain <email address hidden>
Date: Tue Sep 4 19:50:00 2012 -0400

    add rootwrap filters to wrap ip netns exec

    fixes bug 1044083

    This patch adds specific filters for the ip command. The first filter
    matches ip with any subcomand except netns exec. The second filter
    matches "ip netns exec" and then relies on the caller (match_filter) to
    verify the sub-command against the other filters. Matching the
    subcommand separately allows for a single set of filter definitions that
    work with and without namespaces.

    Change-Id: Ifd0378dc3461f84867efb3cb60396d9cfa9e582d