[CRIU] [PATCH 0/4] net: Handle missing ipv4 conf entries, v2

Andrew Vagin avagin at odin.com
Tue May 5 07:04:20 PDT 2015


On Tue, May 05, 2015 at 02:15:52PM +0300, Pavel Emelyanov wrote:
> On 04/30/2015 11:07 PM, Cyrill Gorcunov wrote:
> > On 3.10 kernel some ipv4 entries are not yet implemented so
> > we fail when try to read/write values there.
> > 
> > Lets check if they are present before processing.
> > 
> > With this series I can c/r centos6 container again on openvz 3.10 kernel.
> > 
> > p.s.: Happy holidays guys!
> > 
> > Cyrill Gorcunov (4):
> >   net: Use snprintf instead of sprintf
> >   sysctl: Pass number of requests in argument
> >   net: Make  @devconfs static
> >   net: Make sure the entries exist before read them
> > 
> >  include/net.h    |  2 ++
> >  include/sysctl.h |  2 +-
> >  ipc_ns.c         | 18 ++++++------------
> >  kerndat.c        |  6 ++----
> >  net.c            | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++----
> >  sysctl.c         |  4 ++--
> >  uts_ns.c         |  5 ++---
> >  7 files changed, 67 insertions(+), 26 deletions(-)
> > 
> 
> 1-3 applied

00:04:15.713 Test: zdtm/live/static/netns-dev, Result: FAIL
00:04:15.716 ==================================== ERROR ====================================
00:04:15.717 Test: zdtm/live/static/netns-dev, Namespace: 1
00:04:15.717 Dump log   : /var/lib/jenkins/jobs/CRIU/workspace/test/dump/ns/static/netns-dev/10660/1/dump.log
00:04:15.720 --------------------------------- grep Error ---------------------------------
00:04:15.726 ------------------------------------- END -------------------------------------
00:04:15.727 Restore log: /var/lib/jenkins/jobs/CRIU/workspace/test/dump/ns/static/netns-dev/10660/1/restore.log
00:04:15.729 --------------------------------- grep Error ---------------------------------
00:04:15.735 ------------------------------------- END -------------------------------------
00:04:15.736 Output file: /var/lib/jenkins/jobs/CRIU/workspace/test/zdtm/live/static/netns-dev.out
00:04:15.738 ------------------------------------------------------------------------------
00:04:15.741 13:53:35.601:     4: FAIL: netns-dev.c:134: Option "/proc/sys/net/ipv4/conf/lo/tag" changed from 391088128 to 0 (errno = 13 (Permission denied))
00:04:15.741   PID   SID COMMAND
00:04:15.741     1     1 netns-dev
00:04:15.741     4     4 netns-dev
00:04:15.741     5     1 ps
00:04:15.741 Time to stop and check
00:04:15.741   PID   SID COMMAND
00:04:15.741     1     1 netns-dev
00:04:15.741     4     4 netns-dev
00:04:15.741     5     1 ps
00:04:15.741 kill(4, SIGTERM)
00:04:15.744 ------------------------------------- END -------------------------------------
00:04:15.747 ================================= ERROR OVER =================================

> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu


More information about the CRIU mailing list