← Back to team overview

touch-packages team mailing list archive

[Bug 1267367] Re: lxc-create shouldn't create container when template is called with --help

 

** Changed in: lxc (Ubuntu)
       Status: Confirmed => 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/1267367

Title:
  lxc-create shouldn't create container when template is called with
  --help

Status in lxc package in Ubuntu:
  Fix Released

Bug description:
  When option --help is passed as template argument, lxc-create creates
  the base directory structure of the container. Then next call to lxc-
  create with the same name will fail because the container already
  exists.

  TEST CASE:
  1. $ sudo lxc-create -n test--help -t ubuntu -- -h
  [...]
  output of lxc-ubuntu -h
  [...]

  $ sudo lxc-create -n test--help -t ubuntu -- -a amd64
  Container already exists

  EXPECTED RESULT
  Container is not created and another call to lxc-create with the same name can be executed.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: lxc 1.0.0~beta1-0ubuntu3
  ProcVersionSignature: Ubuntu 3.12.0-7.15-generic 3.12.4
  Uname: Linux 3.12.0-7-generic x86_64
  ApportVersion: 2.12.7-0ubuntu6
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Thu Jan  9 09:19:01 2014
  SourcePackage: lxc
  UpgradeStatus: Upgraded to trusty on 2012-01-31 (708 days ago)
  defaults.conf:
   lxc.network.type = veth
   lxc.network.link = lxcbr0
   lxc.network.flags = up

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