← Back to team overview

touch-packages team mailing list archive

[Bug 1466458] Re: template 'none' doesn't work with lxc-create

 

This bug was fixed in the package lxc - 1.1.5-0ubuntu0.15.04.3

---------------
lxc (1.1.5-0ubuntu0.15.04.3) vivid-proposed; urgency=medium

  * Cherry-pick from upstream:
    - Fix preserve_ns to work on < 3.8 kernels. (LP: #1516971)
    - Fix process title rewrite to not mangle the environment. (LP: #1517107)

lxc (1.1.5-0ubuntu0.15.04.2) vivid-proposed; urgency=medium

  * Cherry-pick from upstream:
    - Fix ubuntu-cloud template to detect compression algorithm instead
      of hardcoding xz. Also update list of supported releases and use trusty
      as the fallback release. (LP: #1515463)
  * Update lxc-tests description to make it clear that this package is
    meant to be used by developers and by automated testing.

lxc (1.1.5-0ubuntu0.15.04.1) vivid-proposed; urgency=medium

  * New upstream bugfix release (MRE) (1.1.5)
    (LP: #1497420, LP: #1436723, LP: #1441068, LP: #1504496,
     LP: #1466458, LP: #1510619)
  * Drop proxy detection from the autopkgtest exercise script.

 -- Stéphane Graber <stgraber@xxxxxxxxxx>  Wed, 18 Nov 2015 13:41:23
-0500

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

** Changed in: lxc (Ubuntu Wily)
       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/1466458

Title:
  template 'none' doesn't work with lxc-create

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

Bug description:
  Hi,

  The man page lxc-create(1) says that with the '-t' option to specify a
  template '"none" can be used to force lxc-create to skip rootfs
  creation'.  This does not appear to work.

  root@somehost:/var/lib/lxc# lxc-create -n test.lol -t none
  lxc_container: lxccontainer.c: get_template_path: 867 No such file or directory - bad template: none
  lxc_container: lxccontainer.c: lxcapi_create: 1264 bad template: none
  lxc_container: lxc_create.c: main: 271 Error creating container test.lol

  There is no template in the templates dir corresponding to the 'none'
  template.  I've looked through the upstream tarballs from releases
  0.5.0, 0.6.0, ... , 1.0.0, 1.1.0, and there is no 'none' template in
  any.  Might be just a documentation mistake, I guess.  Could be a
  missing template, or maybe 'none' has a special meaning to the lxc-
  create binary; I haven't looked yet.

  I'll dig a little further.

  I'm using lxc 1.0.7-0ubuntu0.1 on Ubuntu 14.04 .

  thanks,
  Kevin

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: lxc 1.1.2-0ubuntu3
  ProcVersionSignature: Ubuntu 3.19.0-18.18-generic 3.19.6
  Uname: Linux 3.19.0-18-generic x86_64
  ApportVersion: 2.17.2-0ubuntu1.1
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Thu Jun 18 11:56:34 2015
  InstallationDate: Installed on 2012-01-13 (1251 days ago)
  InstallationMedia: Kubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  SourcePackage: lxc
  UpgradeStatus: Upgraded to vivid on 2015-05-14 (34 days ago)
  defaults.conf:
   lxc.network.type = veth
   lxc.network.link = lxcbr0
   lxc.network.flags = up
   lxc.network.hwaddr = 00:16:3e:xx:xx:xx
  lxcsyslog:

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


References