[CRIU] [PATCH 0/2] add init_opts

Ruslan Kuprieiev kupruser at gmail.com
Mon Oct 21 03:08:49 PDT 2013


Hi!

When running cr_service, every new forked child uses opts of parent, which causes problems, for example, with pidfile,
when service was started with --pidfile and then we are asking it to restore some program.
So lets introduce init_opts() and call it at the begging of every child's work.

Signed-off-by: Ruslan Kuprieiev <kupruser at gmail.com>

Ruslan Kuprieiev (2):
  add init_opts to crtools
  reinit opts at cr_service_work

 cr-service.c      |  2 ++
 crtools.c         | 15 +++++++++++----
 include/crtools.h |  2 ++
 3 files changed, 15 insertions(+), 4 deletions(-)

-- 
1.8.1.2



More information about the CRIU mailing list