Public bug reported:
$ sudo lxc-ls -1
oneiric
precise
raring
raring-cloned
sid
$ sudo lxc-stop -n foo
$ echo $?
0
lxc-stop should return 1 in the example above and display an error
rather than silently failing and returning 0 to denote success.
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: lxc 0.9.0-0ubuntu3
ProcVersionSignature: Ubuntu 3.8.0-19.29-generic 3.8.8
Uname: Linux 3.8.0-19-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 2.9.2-0ubuntu8
Architecture: i386
Date: Tue Apr 23 14:57:33 2013
InstallationDate: Installed on 2010-10-21 (915 days ago)
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
MarkForUpload: True
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=fr_FR.UTF-8
SHELL=/bin/bash
SourcePackage: lxc
UpgradeStatus: Upgraded to raring on 2012-12-20 (123 days ago)
** Affects: lxc (Ubuntu)
Importance: Undecided
Status: New
** Tags: apparmor apport-bug i386 raring
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1171866
Title:
lxc-stop ignores invalid container names
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1171866/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs