[CRIU] [PATCH 0/2] write pidfile before chdir /, if going daemon

Ruslan Kuprieiev kupruser at gmail.com
Tue Oct 29 16:27:32 PDT 2013


Now we're unable to use relative pidfile path with -d option, because
criu chdir to /, before writing pidfile. So lets go daemon without
chdiring to /, write pidfile(if needed) and chdir("/"), as well.

Ruslan Kuprieiev (2):
  service: write pidfile before chdir to /, if going daemon
  page-server: write pidfile before chdir to /, if going daemon

 cr-service.c | 14 +++++++++++++-
 page-xfer.c  | 19 ++++++++++++++++---
 2 files changed, 29 insertions(+), 4 deletions(-)

-- 
1.8.1.2



More information about the CRIU mailing list