[lxc-users] Insufficent privileges to control…

Serge Hallyn serge.hallyn at ubuntu.com
Fri Sep 12 21:56:49 UTC 2014


Probably your install incantation wasn't quite right.  Since you're
running on 14.04 you could simply do:

sudo add-apt-repository ppa:ubuntu-lxc/daily
sudo apt-get update
sudo apt-get -y dist-upgrade

to get the latest daily ppa package, which is basically (and right
now exactly0 latest git HEAD.

Quoting Zmudzinski, Krystof C (krystof.c.zmudzinski at intel.com):
> I’m executing everything as root.
> 
> Krystof
> 
> From: lxc-users [mailto:lxc-users-bounces at lists.linuxcontainers.org] On Behalf Of Ranjib Dey
> Sent: Friday, September 12, 2014 12:32 PM
> To: LXC users mailing-list
> Subject: Re: [lxc-users] Insufficent privileges to control…
> 
> as a normal user (not root) you can only use the download template.
> i.e.
> lxc-create -n foo -t download -d ubuntu -a amd64 -r trusty
> , download templates downloads tarball of rootfs and creates the container, unlike other template, which construct the container using debootstrap/yum etc. That process involves device creation and other operations which is not possible as normal user. Stephane Graber has a nice post on it: https://www.stgraber.org/2014/01/17/lxc-1-0-unprivileged-containers/
> 
> cheers
> ranjib
> 
> 
> On Fri, Sep 12, 2014 at 12:10 PM, Zmudzinski, Krystof C <krystof.c.zmudzinski at intel.com<mailto:krystof.c.zmudzinski at intel.com>> wrote:
> Hi,
> 
> I had apt-get installed lxc on my Ubuntu 14.04 and everything was good.
> 
> Then I installed the latest snapshot from https://github.com/lxc/lxc and
> now most of the commands just say this:
> 
> Insufficent privileges to control…
> 
> Lxc-create has other problems:
> 
> root at se:~/lxc-create -n cn_03 -t ubuntu
> lxc_container: Bad address - failed to execute template /usr/share/lxc/templates/lxc-ubuntu
> lxc_container: container creation template for cn_03 failed
> lxc_container: Error creating container cn_03
> 
> What am I doing wrong?
> 
> Krystof
> 
> 
> 
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org<mailto:lxc-users at lists.linuxcontainers.org>
> http://lists.linuxcontainers.org/listinfo/lxc-users
> 

> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users



More information about the lxc-users mailing list