[CRIU] Re: [PATCH cr 4/4] log: don't create a log file in a current directory

Pavel Emelyanov xemul at parallels.com
Sat Sep 1 17:02:35 EDT 2012


On 08/31/2012 04:30 PM, Andrey Vagin wrote:
> 
> We can set a directory for log and image files.
> crtools sets it as a current directory and then creates all files in it.
> It works before we don't decide to change a mount name space.
> 
> I suggest to open a log dir and create files for help openat.
> 
> Signed-off-by: Andrey Vagin <avagin at openvz.org>
> ---
>  cr-restore.c      |    2 ++
>  include/crtools.h |    1 +
>  include/log.h     |    1 +
>  log.c             |   31 +++++++++++++++++++++++++++++--
>  4 files changed, 33 insertions(+), 2 deletions(-)
> 

All applied


More information about the CRIU mailing list