[prev in list] [next in list] [prev in thread] [next in thread]
List: lxc-users
Subject: Re: [lxc-users] Semi unprivileged containers
From: MonkZ <i () monkz ! de>
Date: 2015-11-24 8:56:36
Message-ID: 56542644.9040602 () monkz ! de
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
Found the solution to run a unprivileged container:
Don't use su.
I sshed to my remote server root and su - lxc-ldap01, result is
lxc-start fails.
Directly sshing to user lxc-ldap01 works.
Is this a bug? Or some magic environment variable?
I'll now try to write a systemd unit to get autostart-like capabilities
on my system.
Thanks for your help Fajar ;)
Greetings
MonkZ
Am 24.11.2015 um 09:38 schrieb Fajar A. Nugraha:
> On Tue, Nov 24, 2015 at 2:42 PM, MonkZ <i@monkz.de <mailto:i@monkz.de>>
> wrote:
>
>
>
> Am 24.11.2015 um 05:57 schrieb Fajar A. Nugraha:
> > On Mon, Nov 23, 2015 at 6:52 PM, MonkZ <i@monkz.de <mailto:i@monkz.de> \
> > <mailto:i@monkz.de <mailto:i@monkz.de>>> wrote:
> >
> > Missing XDG_RUNTIME_DIR triggers a warning and so does cgmanager:
> > lxc_cgmanager - cgmanager.c:cgm_get:993 - do_cgm_get exited with error
> >
> >
> > I actually suggest you start over, but this time using the default
> > installation. My guess is your "minimal" install somehow does not
> > contain the necessary packages for lxc to function properly. Perhaps
> > you're missing libpam-systemd in the host?
>
> Sadly i can't start over - this is a remote system. I can reinstall it -
> with Ubuntu server minimal.
>
>
>
> Good luck then. It works fine last time I tried.
>
> Also, if it's a server, I highly suggest you reinstall it anyway using
> current LTS (14.04) instead of 15.10 (which would reach end-of-life when
> the next LTS is out).
>
> I suggest if you can't reinstall the server, then at least test create a
> test system using virtualbox/whatever.
>
> --
> Fajar
>
>
> _______________________________________________
> lxc-users mailing list
> lxc-users@lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
["signature.asc" (application/pgp-signature)]
[Attachment #6 (text/plain)]
_______________________________________________
lxc-users mailing list
lxc-users@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-users
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic