[Bug 1006332] [NEW] lxc-ls fails if name of a container starts with '-'

Jean-Baptiste Lallement jean-baptiste at ubuntu.com
Wed May 30 10:35:33 UTC 2012


Public bug reported:

A script created a container which name starts with a '-' ( -lo-
quantal-i386 in this case )

Then calls to lxc-ls and lxc-list fail with:

$ lxc-ls
-lo-quantal-i386
ls: invalid option -- '-'
Try `ls --help' for more information.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: lxc 0.8.0~rc1-4ubuntu10
ProcVersionSignature: Ubuntu 3.4.0-3.8-generic 3.4.0
Uname: Linux 3.4.0-3-generic x86_64
ApportVersion: 2.1-0ubuntu1
Architecture: amd64
Date: Wed May 30 12:30:17 2012
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: lxc
UpgradeStatus: Upgraded to quantal on 2012-01-31 (119 days ago)

** Affects: lxc (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug qa-manual-testing quantal running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1006332

Title:
  lxc-ls fails if name of a container starts with '-'

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



More information about the Ubuntu-server-bugs mailing list