> On Jan. 26, 2016, 1:13 p.m., Anand Mazumdar wrote:
> > src/slave/container_loggers/lib_logrotate.hpp, line 104
> > <https://reviews.apache.org/r/42820/diff/1/?file=1221808#file1221808line104>
> >
> >     hmmm .. why can't we just use `os::access` here to find out if we have 
> > permissions to read the file?

Sounds reasonable.  I'll relax the check so that its easier to drop in a script 
replacement (i.e. something that wraps `logrotate`).


- Joseph


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


On Jan. 26, 2016, 12:36 p.m., Joseph Wu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/42820/
> -----------------------------------------------------------
> 
> (Updated Jan. 26, 2016, 12:36 p.m.)
> 
> 
> Review request for mesos, Benjamin Hindman, Artem Harutyunyan, and Till 
> Toenshoff.
> 
> 
> Bugs: MESOS-4515
>     https://issues.apache.org/jira/browse/MESOS-4515
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> The `logrotate --version` flag is actually a very recent addition (3.9.1).  
> The `--help` flag is more likely to be present on a supported 
> system-with-logrotate, given logrotate's usage of popopt.
> 
> 
> Diffs
> -----
> 
>   src/slave/container_loggers/lib_logrotate.hpp 
> 5f79fd8797d9ce0de0b2c12ba2dad61f83a11e02 
>   src/slave/container_loggers/logrotate.hpp 
> fd9c071bbd4c07ad8728c63c42fd63c0bba2573f 
> 
> Diff: https://reviews.apache.org/r/42820/diff/
> 
> 
> Testing
> -------
> 
> make check on OSX & Centos6
> 
> 
> Thanks,
> 
> Joseph Wu
> 
>

Reply via email to