[Bug 921794] [NEW] lxc-ls fails as non-root sometimes

Scott Moser smoser at ubuntu.com
Wed Jan 25 19:58:01 UTC 2012


Public bug reported:

i was using the juju local provider to try to get openstack in juju and came across this bug.
Basically, at some point lxc-ls stops working as non-root.


ubuntu at ip-10-68-197-170:~$ juju destroy-environment 
WARNING: this command will destroy the 'jstack' environment (type: local).
This includes all machines, services, data, and other resources. Continue [y/N]y
2012-01-25 19:52:53,820 INFO Destroying environment 'jstack' (type: local)...
2012-01-25 19:52:53,821 INFO Destroying unit containers...
ubuntu-jstack-0-template
ubuntu-jstack-glance-0
ubuntu-jstack-keystone-0
ubuntu-jstack-mysql-0
ubuntu-jstack-nova-cloud-controller-0
ubuntu-jstack-nova-compute-0
ubuntu-jstack-openstack-dashboard-0
ubuntu-jstack-rabbitmq-0
/usr/bin/lxc-ls: line 35: cd: /sys/fs/cgroup/cpuset///lxc: Permission denied
ls: cannot access ubuntu-jstack-nova-cloud-controller-0: No such file or directory
ls: cannot access ubuntu-jstack-rabbitmq-0: No such file or directory
ls: cannot access ubuntu-jstack-keystone-0: No such file or directory
ls: cannot access ubuntu-jstack-openstack-dashboard-0: No such file or directory
ls: cannot access ubuntu-jstack-glance-0: No such file or directory
ls: cannot access ubuntu-jstack-nova-compute-0: No such file or directory
ls: cannot access ubuntu-jstack-mysql-0: No such file or directory

ubuntu-jstack-0-template
ubuntu-jstack-glance-0
ubuntu-jstack-keystone-0
ubuntu-jstack-mysql-0
ubuntu-jstack-nova-cloud-controller-0
ubuntu-jstack-nova-compute-0
ubuntu-jstack-openstack-dashboard-0
ubuntu-jstack-rabbitmq-0
/usr/bin/lxc-ls: line 35: cd: /sys/fs/cgroup/cpuset///lxc: Permission denied
ls: cannot access ubuntu-jstack-nova-cloud-controller-0: No such file or directory
ls: cannot access ubuntu-jstack-rabbitmq-0: No such file or directory
ls: cannot access ubuntu-jstack-keystone-0: No such file or directory
ls: cannot access ubuntu-jstack-openstack-dashboard-0: No such file or directory
ls: cannot access ubuntu-jstack-glance-0: No such file or directory
ls: cannot access ubuntu-jstack-nova-compute-0: No such file or directory
ls: cannot access ubuntu-jstack-mysql-0: No such file or directory

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: lxc 0.7.5-3ubuntu11
ProcVersionSignature: User Name 3.2.0-10.18-virtual 3.2.1
Uname: Linux 3.2.0-10-virtual x86_64
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
Date: Wed Jan 25 19:53:52 2012
Ec2AMI: ami-0571a76c
Ec2AMIManifest: ubuntu-us-east-1/images-testing/ubuntu-precise-daily-amd64-server-20120125.manifest.xml
Ec2AvailabilityZone: us-east-1b
Ec2InstanceType: m1.xlarge
Ec2Kernel: aki-825ea7eb
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/921794

Title:
  lxc-ls fails as non-root sometimes

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



More information about the Ubuntu-server-bugs mailing list