> On Oct. 3, 2018, 10:43 p.m., Gilbert Song wrote:
> > src/slave/containerizer/mesos/isolators/network/cni/cni.cpp
> > Lines 2268-2270 (patched)
> > <https://reviews.apache.org/r/68921/diff/1/?file=2094274#file2094274line2268>
> >
> >     Do we still need this fallback if we are confident enough? or consider 
> > a TODO to remove the fallback logic?

I would prefer to keep this fallback in case if someone has a custom 
linux-based system with `ifconfig`, but without `ip`. There is a TODO commend 
above, ideally we shouldn't use both of the commands.


- Sergey


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/68921/#review209201
-----------------------------------------------------------


On Oct. 3, 2018, 10:36 p.m., Sergey Urbanovich wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/68921/
> -----------------------------------------------------------
> 
> (Updated Oct. 3, 2018, 10:36 p.m.)
> 
> 
> Review request for mesos, Jie Yu and Qian Zhang.
> 
> 
> Bugs: MESOS-9270
>     https://issues.apache.org/jira/browse/MESOS-9270
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> The last release of `net-tools` was released in 2001. The tools were
> deprecated years ago (see [1], [2], and [3]) and no longer installed
> by default in many linux-based operating systems.
> 
> Bring up the loopback interface using `ip` from `iproute2` and if it
> fails to start fall back on `ifconfig` from `net-tools`.
> 
> [1] https://lists.debian.org/debian-devel/2009/03/msg00780.html
> [2] https://bugzilla.redhat.com/show_bug.cgi?id=687920
> [3] https://lwn.net/Articles/710533/
> 
> 
> Diffs
> -----
> 
>   src/slave/containerizer/mesos/isolators/network/cni/cni.cpp 
> ba465522b0de663cf17ff8ca035f6eb32cbd73f1 
> 
> 
> Diff: https://reviews.apache.org/r/68921/diff/1/
> 
> 
> Testing
> -------
> 
> bin/mesos-tests.sh --verbose --gtest_filter="CniIsolatorTest.*" 
> --gtest_break_on_failure --gtest_repeat=10
> 
> 
> Thanks,
> 
> Sergey Urbanovich
> 
>

Reply via email to