[Bug 918327] [NEW] lxc-start exits success on failure when non-root
Scott Moser
smoser at ubuntu.com
Wed Jan 18 18:14:24 UTC 2012
Public bug reported:
$ sudo lxc-create -t ubuntu -n lv1
$ lxc-start -n lv1 -d
$ echo $?
0
$ lxc-ls
lv1
$ lxc-list
RUNNING
STOPPED
lv1
I would have expected an error message when trying to start a container that I did not have acl to start.
instead, lxc-start exited success (0) and gave no output.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: lxc 0.7.5-3ubuntu5
ProcVersionSignature: User Name 3.2.0-8.15-virtual 3.2.0
Uname: Linux 3.2.0-8-virtual x86_64
ApportVersion: 1.90-0ubuntu1
Architecture: amd64
Date: Wed Jan 18 18:11:17 2012
Ec2AMI: ami-0000012b
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: m1.small
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: lxc
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: lxc (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug ec2-images precise
--
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/918327
Title:
lxc-start exits success on failure when non-root
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/918327/+subscriptions
More information about the Ubuntu-server-bugs
mailing list