lxc ubuntu-cloud template is broken due to bogus tar option

Bug #1236726 reported by Adam Collard
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
lxc (Ubuntu)
Fix Released
High
Unassigned
Saucy
Fix Released
High
Unassigned

Bug Description

The recent change to lxc-templates in an attempt to fix bug #1236577 introduced a bogus flag to tar "--numeric-uid" which should be "--numeric-owner".

⟫ sudo lxc-create -t ubuntu-cloud --name foo

<snip>
2013-10-08 10:36:44 (6.13 MB/s) - ‘ubuntu-13.10-beta2-server-cloudimg-amd64-root.tar.gz’ saved [218580971/218580971]

Extracting container rootfs
tar: unrecognised option '--numeric-uid'
Try `tar --help' or `tar --usage' for more information.
lxc-create: container creation template for foo failed

lxc-create: Error creating container foo

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: lxc-templates 1.0.0~alpha1-0ubuntu8
ProcVersionSignature: Ubuntu 3.11.0-11.17-generic 3.11.3
Uname: Linux 3.11.0-11-generic x86_64
ApportVersion: 2.12.5-0ubuntu1
Architecture: amd64
Date: Tue Oct 8 10:36:59 2013
InstallationDate: Installed on 2012-08-17 (416 days ago)
InstallationMedia: Ubuntu 12.04.1 LTS "Precise Pangolin" - Release amd64 (20120817.1)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: lxc
UpgradeStatus: Upgraded to saucy on 2013-09-29 (8 days ago)
defaults.conf:
 lxc.network.type = veth
 lxc.network.link = lxcbr0
 lxc.network.flags = up

Revision history for this message
Adam Collard (adam-collard) wrote :
Revision history for this message
Robie Basak (racb) wrote :

Reproduced. Thanks.

AFAICT, this completely breaks the ubuntu-cloud template on Saucy.

Changed in lxc (Ubuntu):
status: New → Triaged
importance: Undecided → High
summary: - lxc ubuntu-cloud template has bogus tar option
+ lxc ubuntu-cloud template is broken due to bogus tar option
Revision history for this message
Stéphane Graber (stgraber) wrote :

Scott Moser sent an updated patch to the LXC mailing-list yesterday, once that's applied, we'll cherry-pick it to Ubuntu, should be done in the next few hours (Serge is out this morning I believe so I'll do it in a bit).

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package lxc - 1.0.0~alpha1-0ubuntu9

---------------
lxc (1.0.0~alpha1-0ubuntu9) saucy; urgency=low

  * Update patch with current upstream version (LP: #1236726)
    - 0009-lxc-ubuntu-cloud-pass-numeric-owner-and-p-to-untar.patch
  * Cherrypicking bugfix from upstream
    - 0010-lxc-ubuntu-cloud-Cope-with-spaces-in-paths.patch
 -- Stephane Graber <email address hidden> Tue, 08 Oct 2013 11:11:33 -0400

Changed in lxc (Ubuntu Saucy):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.