[CRIU] [PATCH 0/6] Don't recomend using criu as a system service, v3

Ruslan Kuprieiev rkuprieiev at cloudlinux.com
Mon Oct 12 02:50:00 PDT 2015


Due to discovered and reported vulnerabilities and ongoing work on
implementing non-root(including no suid bit) c/r, we really shouldn't
encourage people to use criu as a system service. So lets remove systemd,
logrotated files and fix libcriu and pycriu to use swrk.

v2, added libcriu and pycriu patches
v3, fixed commit msgs

Ruslan Kuprieiev (6):
  criu: scripts: remove criu service files
  criu: scripts: remove logrotate
  make: don't install service and logrotate configs
  libcriu: use swrk by default
  test: libcriu: switch to using swrk instead of service
  pycriu: add criu class

 Makefile                         |   4 -
 lib/criu.c                       |  42 ++++--
 lib/criu.h                       |   2 +-
 pycriu/__init__.py               |   1 +
 pycriu/criu.py                   | 282 +++++++++++++++++++++++++++++++++++++++
 scripts/logrotate.d/criu-service |   7 -
 scripts/sd/criu.service          |   8 --
 scripts/sd/criu.socket           |   8 --
 test/libcriu/run.sh              |  10 +-
 test/libcriu/test_errno.c        |   2 +-
 test/libcriu/test_iters.c        |   2 +-
 test/libcriu/test_notify.c       |   2 +-
 test/libcriu/test_self.c         |   2 +-
 test/libcriu/test_sub.c          |   2 +-
 14 files changed, 326 insertions(+), 48 deletions(-)
 create mode 100644 pycriu/criu.py
 delete mode 100644 scripts/logrotate.d/criu-service
 delete mode 100644 scripts/sd/criu.service
 delete mode 100644 scripts/sd/criu.socket

-- 
2.4.3



More information about the CRIU mailing list