Re: [lxc-users] Unprivileged containers on Debian Jessie

2015-02-06 Thread Xavier Gendre
Thanks for your answer. Indeed, it only needs to be done at login and this is my problem. Your solutions work well but all need to login at least one time for each user with unprivileged containers. I admit that my question was not clear :-° My goal is to autostart the unprivileged containers

Re: [lxc-users] lxc-console not working on centos 7 container

2015-02-06 Thread CDR
Thanks. I love Ubuntu as a host for LXC. I just got addicted to systemctl and writing *.service files. It is much more sophisticated than the older way of starting and stopping applications. On Fri, Feb 6, 2015 at 8:40 AM, Fajar A. Nugraha wrote: > On Fri, Feb 6, 2015 at 8:15 PM, CDR wrote: > >

Re: [lxc-users] lxc-console not working on centos 7 container

2015-02-06 Thread Fajar A. Nugraha
On Fri, Feb 6, 2015 at 8:15 PM, CDR wrote: > Thanks for the response. > I disable selinux and a apparmor routinely. My containers are just a way to > separate applications, there are no users accessing them, nothing bad can > happen. > So basically you are saying that there is no way to run Centos

Re: [lxc-users] lxc-console not working on centos 7 container

2015-02-06 Thread CDR
Thanks for the response. I disable selinux and a apparmor routinely. My containers are just a way to separate applications, there are no users accessing them, nothing bad can happen. So basically you are saying that there is no way to run Centos 7 under an Ubuntu host. Pretty amazing, if I may say.

Re: [lxc-users] OOMScoreAdjust= in dbus.service on systemd-based

2015-02-06 Thread Christian Brauner
Patching the containers systemd with: From: Lennart Poettering Date: Thu, 8 Jan 2015 23:12:16 +0100 Subject: core: make EPERM errors when applying OOM adjustment for forked processes non-fatal This should be useful for user namespaces. --- src/core/execute.c | 12 ++

Re: [lxc-users] lxc-console not working on centos 7 container

2015-02-06 Thread Fajar A. Nugraha
On Fri, Feb 6, 2015 at 3:25 AM, CDR wrote: > In Ubuntu 14.04 fully updated and lxc latest.1.1, a container with Centos 7 > never allows connection via lxc-console. It stays as below. > If you start the container with -F, you can see how it boots and indeed you > can log in via the console. > > lxc

Re: [lxc-users] TTY Question

2015-02-06 Thread Fajar A. Nugraha
On Fri, Feb 6, 2015 at 1:19 AM, CDR wrote: > > I need to use TYY=9 in a container, how do I achieve that? You could probably start by NOT using big fonts in html mail when posting to the list. That being said, what do you mean "tyy=9"? did you mean tty? If yes, try "man lxc.container.conf" (look

Re: [lxc-users] TTY Question

2015-02-06 Thread CDR
a) Sorry about the fonts b) All my containers are unconfined c) My app does crash but no dumps. It is Asterisk, and it is compiled with debug information, etc. my ulimit -a core file size (blocks, -c) unlimited data seg size (kbytes, -d) unlimited scheduling priority

Re: [lxc-users] TTY Question

2015-02-06 Thread Fajar A. Nugraha
On Fri, Feb 6, 2015 at 6:05 AM, CDR wrote: > a) Sorry about the fonts You're still replying using the same fonts. I find this really annoying, so this will be my last response to you. Hopefully others are willing to help. > b) All my containers are unconfined > c) My app does crash but no dumps.

Re: [lxc-users] TTY Question

2015-02-06 Thread CDR
Thanks. I finally found how to change the font. Besides that, I will keep researching why it does not store a core dump. On Fri, Feb 6, 2015 at 2:36 AM, Fajar A. Nugraha wrote: > On Fri, Feb 6, 2015 at 6:05 AM, CDR wrote: > > a) Sorry about the fonts > > You're still replying using the same fo