[lxc-users] trying to create/install mate-desktop into unprivileged LXC container fails

brian mullan bmullan.mail at gmail.com
Thu Jan 21 14:21:01 UTC 2016


I should mention that I installed LXD/LXC using the ppa:

*add-apt-repository ppa:ubuntu-lxc/lxd-stable*

I know I mentioned that I was using LXC v 0.27 in the question I asked
although *I know I actually* have LXD v0.27 and LXC is actually v
1.15.

However I just ran the following and that's what reported 0.27 (sorry for
any confusion)...  maybe the following command is wrong or its reporting
LXD's version instead of LXC's ??


*$ lxc --version0.27*

brian


than





On Thu, Jan 21, 2016 at 8:57 AM, brian mullan <bmullan.mail at gmail.com>
wrote:

> My host is Ubuntu 15.10 with LXD/LXC installed.   LXC is v 0.27
>
> I have a script that creates a Privileged LXC container and attempts to
> create/install mate-desktop into *Privileged* LXC container...  this all
> works fine!
>
> If I modify the line in the script to create an Unprivileged LXC container
> then run the script to
> create/install mate-desktop into *Unprivileged* LXC container it fails!
>
> I'm fine with just using Privileged containers for this!
>
> But should it be expected that installing a complete Desktop (ubuntu-mate,
> xubuntu-desktop) etc into an Unprivileged container is not allowed?
>
> Or is installing a normal Desktop Environment into  Unprivileged container
> not allowed?
>
> one of a couple errors that occurs during installation is:
>
> *Setting up fuse (2.9.4-1ubuntu1) ...*
> *Creating fuse device...*
> *mknod: ‘fuse-’: Operation not permitted*
> *makedev fuse c 10 229 root root 0660: failed*
> *chmod: cannot access ‘/dev/fuse’: No such file or directory*
> *dpkg: error processing package fuse (--configure):*
> * subprocess installed post-installation script returned error exit status
> 1*
> *Setting up avahi-utils (0.6.31-4ubuntu4) ...*
> *Errors were encountered while processing:*
> * fuse*
> *E: Sub-process /usr/bin/dpkg returned an error code (1)*
>
> As I mentioned there is no problem with a Privileged container just the
> Unprivileged.
>
> Both host & container are Ubuntu 15.10.
>
> thanks for any insight.
>
> Brian
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20160121/516c0600/attachment.html>


More information about the lxc-users mailing list