Public bug reported:

Hello

After running both "sudo lxc-setuid" and "sudo lxc-setcap", both lxc-
info and lxc-stop still doesn't work. Here's an example:

gleber@first:/etc/apt/sources.list.d$ lxc-start-ephemeral -d -o ci1
Setting up ephemeral container...
Starting up the container...
ci1-temp-RTqI6s8 is running
You connect with the command:
sudo lxc-console -n ci1-temp-RTqI6s8

gleber@first:/etc/apt/sources.list.d$ lxc-info -n ci1-temp-RTqI6s8
lxc-info: failed to get state for 'ci1-temp-RTqI6s8': Permission denied
gleber@first:/etc/apt/sources.list.d$ lxc-stop -n ci1-temp-RTqI6s8
lxc-stop: failed to stop 'ci1-temp-RTqI6s8': Permission denied

I've tried extending "lxc-setuid" and "lxc-setcap" to add setuid and
caps to lxc-stop and lxc-info, but failed to make it work.

lxc version is (installed from Raring):

gleber@first:/etc/apt/sources.list.d$ sudo aptitude show lxc | grep Version
Version: 0.8.0~rc1-4ubuntu48

Ubuntu version is:

gleber@first:/etc/apt/sources.list.d$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 12.10
Release:        12.10
Codename:       quantal


Best,
Gleb

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

-- 
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/1090462

Title:
  lxc-info, lxc-stop and lxc-list doesn't work for non-root users

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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to