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


I too am not sure how this was working before. What environment did you see 
this under?

We don't actually need to use a tab to separate the values when writing to the 
special file; let's remove that as well:
```
sh-4.1# cat /proc/sys/net/ipv4/ip_local_port_range
32678   61000
sh-4.1# echo 32678 61001 > /proc/sys/net/ipv4/ip_local_port_range # range is 
just space separated
sh-4.1# cat /proc/sys/net/ipv4/ip_local_port_range
32678   61001
```

- Ian Downes


On Dec. 11, 2014, 4:40 p.m., Kiyonari Harigae wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/28904/
> -----------------------------------------------------------
> 
> (Updated Dec. 11, 2014, 4:40 p.m.)
> 
> 
> Review request for mesos and Ian Downes.
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> echo command in sh doesn't have options
> 
> sh: echo: I/O error occurs, It is not possible to set the port range.
> Also, echo in /bin/sh performs output a (horizontal) tab character
> when encountered the escape sequence of \t.
> 
> 
> Diffs
> -----
> 
>   src/slave/containerizer/isolators/network/port_mapping.cpp 
> c6fff21903e546709a90b53690e02a75a4ca5262 
> 
> Diff: https://reviews.apache.org/r/28904/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Kiyonari Harigae
> 
>

Reply via email to