checkpoint restore fails with /usr/lib/x86_64-linux-gnu/lxc/lxc-restore-net: not found
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | lxc (Ubuntu) |
High
|
Unassigned | ||
| | Utopic |
High
|
Unassigned | ||
| | Vivid |
High
|
Unassigned | ||
Bug Description
=======
Impact: restoring containers from a checkpoint doesn't work
Development fix: LXC uses /usr/lib/
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/
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:/
| Changed in lxc: | |
| importance: | Undecided → High |
| status: | New → Triaged |
| no longer affects: | lxc |
| Changed in lxc (Ubuntu): | |
| importance: | Undecided → High |
| status: | New → Triaged |
| Changed in lxc (Ubuntu Vivid): | |
| importance: | Undecided → High |
| Tycho Andersen (tycho-s) wrote : | #2 |
Here's a debdiff for the patch.
The attachment "lxc.debdiff" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]
| tags: | added: patch |
| Tycho Andersen (tycho-s) wrote : | #4 |
Sorry about that, turns out I copied and pasted from my terminal to create the file, which screwed up some whitespace. In any case, here's an updated debdiff that has been install tested.
| Launchpad Janitor (janitor) wrote : | #5 |
This bug was fixed in the package lxc - 1.1.0~alpha2-
---------------
lxc (1.1.0~
* 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 <email address hidden> Mon, 27 Oct 2014 19:36:21 -0500
| Changed in lxc (Ubuntu Vivid): | |
| status: | Confirmed → Fix Released |
| description: | updated |
Hello Tycho, or anyone else affected,
Accepted lxc into utopic-proposed. The package will build now and be available at http://
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Changed in lxc (Ubuntu Utopic): | |
| status: | Triaged → Fix Committed |
| tags: | added: verification-needed |
| Sebastien Bacher (seb128) wrote : | #7 |
(seems like the changes here got uploaded, unsubscribing sponsors)
| tags: |
added: verification-done removed: verification-needed |
| Launchpad Janitor (janitor) wrote : | #8 |
This bug was fixed in the package lxc - 1.1.0~alpha2-
---------------
lxc (1.1.0~
* 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 <email address hidden> Wed, 12 Nov 2014 09:57:39 -0600
| Changed in lxc (Ubuntu Utopic): | |
| status: | Fix Committed → Fix Released |
| Chris J Arges (arges) wrote : Update Released | #9 |
The verification of the Stable Release Update for lxc has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.


Status changed to 'Confirmed' because the bug affects multiple users.