[CRIU] [PATCH 0/3] p.haul: workaround bug in tarfile module

Nikita Spiridonov nspiridonov at virtuozzo.com
Fri Mar 18 08:12:35 PDT 2016


Workaround bug in tarfile module which leave unread aligning bytes in
socket. In bugfix read these aligning bytes manually and discard it.
This is needed since tarfile share socket with criu and it must stay
in consistent state.

Nikita Spiridonov (3):
  p.haul: fix bug in fileobj_wrap.write
  p.haul: workaround bug in tarfile module
  p.haul: rename fileobj_wrap to tarfile_fileobj_wrap

 phaul/images.py |    9 +++++----
 phaul/util.py   |   44 ++++++++++++++++++++++++--------------------
 2 files changed, 29 insertions(+), 24 deletions(-)



More information about the CRIU mailing list