← Back to team overview

touch-packages team mailing list archive

[Bug 1384751] Re: checkpoint restore fails with /usr/lib/x86_64-linux-gnu/lxc/lxc-restore-net: not found

 

This bug was fixed in the package lxc - 1.1.0~alpha2-0ubuntu3.1

---------------
lxc (1.1.0~alpha2-0ubuntu3.1) utopic; urgency=medium

  * install lxc-restore-net to /usr/share so that it doesn't get overmounted by
    the rootfs in preparation for restore.  (LP: #1384751)
 -- Tycho Andersen <tycho.andersen@xxxxxxxxxxxxx>   Wed, 12 Nov 2014 09:57:39 -0600

** Changed in: lxc (Ubuntu Utopic)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1384751

Title:
  checkpoint restore fails with /usr/lib/x86_64-linux-gnu/lxc/lxc-
  restore-net: not found

Status in lxc package in Ubuntu:
  Fix Released
Status in lxc source package in Utopic:
  Fix Released
Status in lxc source package in Vivid:
  Fix Released

Bug description:
  ================================================================
  Impact: restoring containers from a checkpoint doesn't work
  Development fix: LXC uses /usr/lib/x86_64-linux-gnu/lxc as the path to moun the container's root filesystem in its private mount namespace before it pivot_roots during restore. Unfortunately, that's also the location of the lxc-restore-net script which criu tries to execute. Since at this point the container's fs has already been mounted there, the callback (and thus the restore) fails.
  Stable fix: Same as development fix
  Testcase: create a container, then do:
      sudo lxc-checkpoint -n $foo -s -D /tmp/checkpoint
      sudo lxc-checkpoint -r -n $foo -D /tmp/checkpoint

      The restore fails with,

      sh: 1: /usr/lib/x86_64-linux-gnu/lxc/lxc-restore-net: not found

  Regression potential: This can't effect anything besides lxc-checkpoint -r, which is broken anyways, so there should be no regressions.
  ================================================================

  
  A patch for this has been posted to the upstream LXC list here:

  https://lists.linuxcontainers.org/pipermail/lxc-
  devel/2014-October/010741.html

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1384751/+subscriptions