Re: [lxc-users] installation of package fails in container

2015-03-06 Thread Király , István
As I wrote, you can try adding it to the initial template that creates the containers. /usr[/local]/share/lxc/templates/lxc-centos Find PKG_LIST="yum initscripts passwd ... " .. and append some packages to this list. Updating them later might not work, due to the same error ... On Sat, Mar 7,

Re: [lxc-users] installation of package fails in container

2015-03-06 Thread CDR
is there any workaround? On Fri, Mar 6, 2015 at 8:44 PM, Király, István wrote: > This happens with rpm's. ... > > It usually works if you add it to the initial package list, in the > template. > > On Sat, Mar 7, 2015 at 12:26 AM, Bostjan Skufca wrote: > >> What is your host running? >> >> b. >>

Re: [lxc-users] installation of package fails in container

2015-03-06 Thread Király , István
This happens with rpm's. ... It usually works if you add it to the initial package list, in the template. On Sat, Mar 7, 2015 at 12:26 AM, Bostjan Skufca wrote: > What is your host running? > > b. > > > On 6 March 2015 at 22:25, CDR wrote: > >> Downloading packages: >> mtr-0.85-7.el7.x86_64.rp

Re: [lxc-users] installation of package fails in container

2015-03-06 Thread Bostjan Skufca
What is your host running? b. On 6 March 2015 at 22:25, CDR wrote: > Downloading packages: > mtr-0.85-7.el7.x86_64.rpm > | 71 kB 00:00:00 > Running transaction check > Running transaction test > Transaction test succeeded > Running transaction > Installing : > 2:mtr-0.85-7.el7.x86_64 > 1/1

[lxc-users] installation of package fails in container

2015-03-06 Thread CDR
Downloading packages: mtr-0.85-7.el7.x86_64.rpm | 71 kB 00:00:00 Running transaction check Running transaction test Transaction test succeeded Running transaction Installing : 2:mtr-0.85-7.el7.x86_64 1/1 Error unpacking rpm package 2:mtr-0.85-7.el7.x86_64 error: unpacking of archive failed on f

[lxc-users] Containers not starting with lxc.autodev=1

2015-03-06 Thread Bostjan Skufca
LXC 1.1.0: I am getting this error which I fail to fully understand ATM, as I did not dig around code too much yet. If I try to start a container with autodev = 1, it fails to start and results in this error: lxc-start: conf.c: setup_ttydir_console: 1525 Device or resource busy - error unlinking /

Re: [lxc-users] lxc-console breaks on container reboot if someone is attached to it

2015-03-06 Thread Bostjan Skufca
On 6 March 2015 at 13:41, Bostjan Skufca wrote: > > > On 6 March 2015 at 08:21, Fajar A. Nugraha wrote: > >> On Fri, Mar 6, 2015 at 8:40 AM, Bostjan Skufca wrote: >> > How compatible is LXC 1.1.x with 1.0.7? >> > > I do not have problems with updating config files, but are there any side >> > e

Re: [lxc-users] lxc-console breaks on container reboot if someone is attached to it

2015-03-06 Thread Bostjan Skufca
On 5 March 2015 at 03:32, Fajar A. Nugraha wrote: > On Thu, Mar 5, 2015 at 9:21 AM, Bostjan Skufca wrote: > > Here are the steps to reproduce (lxc 1.0.7), assuming container is > already > > running: > > > ### Step 3: watch the shutdown messages in console on host: > > ...(all irrelevant content

Re: [lxc-users] lxc-console breaks on container reboot if someone is attached to it

2015-03-06 Thread Bostjan Skufca
On 6 March 2015 at 08:21, Fajar A. Nugraha wrote: > On Fri, Mar 6, 2015 at 8:40 AM, Bostjan Skufca wrote: > > How compatible is LXC 1.1.x with 1.0.7? > > Did you try it? > Not yet, will do in the following days (machine has just been acquired for this). > > I do not have problems with updat

Re: [lxc-users] nested containers

2015-03-06 Thread Mohan G
Thanks much.. This helps RegardsMohan From: Fajar A. Nugraha To: LXC users mailing-list Sent: Friday, March 6, 2015 12:30 PM Subject: Re: [lxc-users] nested containers This is on ubuntu 14.10, lxc and lxcfs from ppa:ubuntu-lxc/daily Test memory limit on the parent container, by wri