[lxc-users] cloning could be improved

2014-05-15 Thread CDR
The cloning app should intelligently change the mount points to match the new container's directory. For example, this is the original mount lxc.mount.entry = /usr/src /var/lib/lxc/container-35/rootfs/usr/src none bind 0 0 if I clone "container-35", to "container-36", the clone should have a mount

Re: [lxc-users] Ubuntu (maverick) container hangs at init

2014-05-15 Thread Stephen Zhang
2014-05-16 3:13 GMT+08:00 Stephen Zhang : > 2014-05-16 2:31 GMT+08:00 Fajar A. Nugraha : > > > On Fri, May 16, 2014 at 1:24 AM, Fajar A. Nugraha > wrote: > > > > > >> Works for me. Did you do it like I did? > >> > >> root@trusty:~# status tty1 > >> tty1 start/running, process 443 > >> root@trusty

Re: [lxc-users] 1.0.3 on Debian 7.5 not consistent with documentation

2014-05-15 Thread coolnodje
apt-get remove lxc did the job before compiling 1.0.3. there's nothing left in /usr/bin and `which lxc-create` confirms it comes from /usr/local/bin So I understand, as expected, there shouldn't be any discrepancy between the Ubuntu 1.0.3 packaged version and the one I compiled on Debian, right?

Re: [lxc-users] Ubuntu (maverick) container hangs at init

2014-05-15 Thread Stephen Zhang
Oh I just find out how to change the default runlevel here [1]. But my laptop's battery is empty, so I'll try it later. [1]https://help.ubuntu.com/community/UpstartHowto Stephen ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists

Re: [lxc-users] Ubuntu (maverick) container hangs at init

2014-05-15 Thread Stephen Zhang
2014-05-16 2:31 GMT+08:00 Fajar A. Nugraha : > On Fri, May 16, 2014 at 1:24 AM, Fajar A. Nugraha wrote: > > >> Works for me. Did you do it like I did? >> >> root@trusty:~# status tty1 >> tty1 start/running, process 443 >> root@trusty:~# status cron >> cron start/running, process 407 >> root@trust

Re: [lxc-users] Ubuntu (maverick) container hangs at init

2014-05-15 Thread Fajar A. Nugraha
On Fri, May 16, 2014 at 1:24 AM, Fajar A. Nugraha wrote: > Works for me. Did you do it like I did? > > root@trusty:~# status tty1 > tty1 start/running, process 443 > root@trusty:~# status cron > cron start/running, process 407 > root@trusty:~# status cron > root@trusty:~# runlevel > N 2 > > for

Re: [lxc-users] Ubuntu (maverick) container hangs at init

2014-05-15 Thread Fajar A. Nugraha
On Fri, May 16, 2014 at 12:47 AM, Stephen Zhang wrote: > > > > 2014-05-15 20:13 GMT+08:00 Fajar A. Nugraha : > > On Thu, May 15, 2014 at 3:51 PM, Stephen Zhang wrote: >>> >>> I corrected the line in fstab "none /lxc/rootfs.ubuntu/dev/pts devpts >>> defaults 0 0" to right path, failed. >>> I co

Re: [lxc-users] Ubuntu (maverick) container hangs at init

2014-05-15 Thread Stephen Zhang
2014-05-15 20:13 GMT+08:00 Fajar A. Nugraha : > On Thu, May 15, 2014 at 3:51 PM, Stephen Zhang wrote: >> >> I corrected the line in fstab "none /lxc/rootfs.ubuntu/dev/pts devpts >> defaults 0 0" to right path, failed. >> I comment the line above, failed. >> I change the whole fstab using >> http

Re: [lxc-users] Fedora 20 template on LVM not working

2014-05-15 Thread Michael H. Warfield
On Thu, 2014-05-15 at 13:02 -0400, CDR wrote: > The template worked fine for me, but there is a material difference, I > use a simple directory, where you are using a different approach to > storage. Oh, you're referring back to the original poster, not my post. Yeah, we're trying to deal with hi

Re: [lxc-users] Fedora container thinks it is not running

2014-05-15 Thread Michael H. Warfield
On Thu, 2014-05-15 at 13:11 -0400, CDR wrote: > I don´t have the command > lxc-status > Should I have it? Oh hell. My bad (one of my local scripts). Should have been: lxc-info -n {container} Sorry about that. Regards, Mike > On Thu, May 15, 2014 at 11:31 AM, Serge Hallyn > wrote: > > Quot

Re: [lxc-users] Fedora 20 template on LVM not working

2014-05-15 Thread Michael H. Warfield
On Thu, 2014-05-15 at 13:02 -0400, CDR wrote: > The template worked fine for me, but there is a material difference, I > use a simple directory, where you are using a different approach to > storage. ??? In what way am I not using a simple directory and for which storage? If you mean the backing

Re: [lxc-users] Fedora container thinks it is not running

2014-05-15 Thread CDR
I don´t have the command lxc-status Should I have it? On Thu, May 15, 2014 at 11:31 AM, Serge Hallyn wrote: > Quoting Michael H. Warfield (m...@wittsend.com): >> On Thu, 2014-05-15 at 22:04 +0700, Fajar A. Nugraha wrote: >> > On Thu, May 15, 2014 at 9:06 PM, Michael H. Warfield >> > wrote: >> >

Re: [lxc-users] Fedora 20 template on LVM not working

2014-05-15 Thread CDR
The template worked fine for me, but there is a material difference, I use a simple directory, where you are using a different approach to storage. Philip On Thu, May 15, 2014 at 12:01 PM, Michael H. Warfield wrote: > On Thu, 2014-05-08 at 08:54 +0200, Flo wrote: >> Hi, >> >> >> is the Fedora tem

Re: [lxc-users] Fedora 20 template on LVM not working

2014-05-15 Thread Michael H. Warfield
On Thu, 2014-05-08 at 08:54 +0200, Flo wrote: > Hi, > > > is the Fedora template currently broken? I tried to create a LVM based > Fedora 20 container but it looks like the template gets confused with > lvm... > > > lxc-create -n ipa01-test -B lvm --vgname=lxc1 --fssize=30G --thinpool > thin_po

Re: [lxc-users] Fedora container thinks it is not running

2014-05-15 Thread Serge Hallyn
Quoting Michael H. Warfield (m...@wittsend.com): > On Thu, 2014-05-15 at 22:04 +0700, Fajar A. Nugraha wrote: > > On Thu, May 15, 2014 at 9:06 PM, Michael H. Warfield > > wrote: > > On Thu, 2014-05-15 at 04:40 -0400, CDR wrote: > > > > > The container is started, because I

Re: [lxc-users] Fedora container thinks it is not running

2014-05-15 Thread Michael H. Warfield
On Thu, 2014-05-15 at 22:04 +0700, Fajar A. Nugraha wrote: > On Thu, May 15, 2014 at 9:06 PM, Michael H. Warfield > wrote: > On Thu, 2014-05-15 at 04:40 -0400, CDR wrote: > > > The container is started, because I am inside it via ssh > > but I cannot use its consol

Re: [lxc-users] Fedora container thinks it is not running

2014-05-15 Thread Fajar A. Nugraha
On Thu, May 15, 2014 at 9:06 PM, Michael H. Warfield wrote: > On Thu, 2014-05-15 at 04:40 -0400, CDR wrote: > > The container is started, because I am inside it via ssh > > but I cannot use its console > > lxc-console -n msterfe > > msterfe is not running > > > > I am uploading the configuration a

Re: [lxc-users] Fedora container thinks it is not running

2014-05-15 Thread Michael H. Warfield
On Thu, 2014-05-15 at 04:40 -0400, CDR wrote: > The container is started, because I am inside it via ssh > but I cannot use its console > lxc-console -n msterfe > msterfe is not running > > I am uploading the configuration as an attachment > The container was created from the template, LXC 1.0.3

Re: [lxc-users] Fedora container thinks it is not running

2014-05-15 Thread Michael H. Warfield
On Thu, 2014-05-15 at 04:40 -0400, CDR wrote: > The container is started, because I am inside it via ssh > but I cannot use its console > lxc-console -n msterfe > msterfe is not running > I am uploading the configuration as an attachment > The container was created from the template, LXC 1.0.3 >

Re: [lxc-users] Ubuntu (maverick) container hangs at init

2014-05-15 Thread Fajar A. Nugraha
On Thu, May 15, 2014 at 3:51 PM, Stephen Zhang wrote: > > I corrected the line in fstab "none /lxc/rootfs.ubuntu/dev/pts devpts > defaults 0 0" to right path, failed. > I comment the line above, failed. > I change the whole fstab using > http://wiki.1tux.org/wiki/Lxc/Installation/Guest/Centos/6 pr

Re: [lxc-users] 1.0.3 on Debian 7.5 not consistent with documentation

2014-05-15 Thread Wojciech Arabczyk
Hi, have you uninstalled the packaged version of lxc prior to installing the version from sources? Most probably, the /usr/bin lxc takes precedence to the one you installed to /usr/local prefix from the sources, cheers, On 15 May 2014 12:34, coolnodje wrote: > Hi, > > I've just compiled1.0.3 f

[lxc-users] 1.0.3 on Debian 7.5 not consistent with documentation

2014-05-15 Thread coolnodje
Hi, I've just compiled1.0.3 from source on Debian 7.5, without trouble. But I still get a behaviour that seem closer to v~0.8 that I got from apt-get beforehand, than to the version coming with Ubuntu 14.04. It's also not consistent with the https://linuxcontainers.org "How to use it?": no `lxc-

Re: [lxc-users] Older Ubuntu Template - Natty 11.04

2014-05-15 Thread TuxRaiderPen
On Thursday, May 15, 2014 05:28:47 Fajar A. Nugraha wrote > > Not really. From the template file: > --mirror) MIRROR=$2; shift 2;; > --security-mirror) SECURITY_MIRROR=$2; shift 2;; > > > It's a different parameter. > > Then again, I don't think security mirror will do you any go

[lxc-users] Series of articles of LXC in Japanese

2014-05-15 Thread KATOH Yasufumi
Hi, I just begin a series of article of LXC on gihyo.jp that is online media of Japanese publisher. http://gihyo.jp/admin/serial/01/linux_containers/0001 # of course, only Japanese :-) Thanks, KATOH Yasufumi ___ lxc-users mailing list lxc-users@lists

Re: [lxc-users] Older Ubuntu Template - Natty 11.04

2014-05-15 Thread Fajar A. Nugraha
On Thu, May 15, 2014 at 4:29 PM, TuxRaiderPen wrote: > On Monday, May 12, 2014 06:59:48 Fajar A. Nugraha wrote: > > > > It's a way to make creating containers easier. > > That part I get... I am just not wrapping my head around the creation and > especially the use of "preconfigured ones." > > Or

Re: [lxc-users] Older Ubuntu Template - Natty 11.04

2014-05-15 Thread TuxRaiderPen
On Monday, May 12, 2014 06:59:48 Fajar A. Nugraha wrote: > > It's a way to make creating containers easier. That part I get... I am just not wrapping my head around the creation and especially the use of "preconfigured ones." Or really the creation provess... v. VMDK in a full VM. > If you're

Re: [lxc-users] Older Ubuntu Template - Natty 11.04

2014-05-15 Thread Fajar A. Nugraha
On Thu, May 15, 2014 at 4:25 PM, TuxRaiderPen wrote: > On Sunday, May 11, 2014 01:57:29 Fajar A. Nugraha wrote: > > Scratch that. The current template should work without any changes if > > you specify --mirror. > > > > # lxc-create -n natty-test -t ubuntu -- -r natty --mirror > > http://old-relea

Re: [lxc-users] Older Ubuntu Template - Natty 11.04

2014-05-15 Thread TuxRaiderPen
On Sunday, May 11, 2014 01:57:29 Fajar A. Nugraha wrote: > Scratch that. The current template should work without any changes if > you specify --mirror. > > # lxc-create -n natty-test -t ubuntu -- -r natty --mirror > http://old-releases.ubuntu.com/ubuntu That will WORK, with ONE CHANGE: line 241

Re: [lxc-users] Ubuntu (maverick) container hangs at init

2014-05-15 Thread Stephen Zhang
2014-05-15 16:16 GMT+08:00 Fajar A. Nugraha : > On Thu, May 15, 2014 at 2:56 PM, Stephen Zhang wrote: > >> Hi all, >> I installed a ubuntu maverick (really an old release, but I have to use >> it) using the following command: >>lxc-creat -t ubuntu -n ubuntu -f config -- -r maverick

[lxc-users] Fedora container thinks it is not running

2014-05-15 Thread CDR
The container is started, because I am inside it via ssh but I cannot use its console lxc-console -n msterfe msterfe is not running I am uploading the configuration as an attachment The container was created from the template, LXC 1.0.3 dpkg --list | grep lxc ii liblxc1

Re: [lxc-users] Ubuntu (maverick) container hangs at init

2014-05-15 Thread Fajar A. Nugraha
On Thu, May 15, 2014 at 2:56 PM, Stephen Zhang wrote: > Hi all, > I installed a ubuntu maverick (really an old release, but I have to use > it) using the following command: >lxc-creat -t ubuntu -n ubuntu -f config -- -r maverick > the official repository is invalid now, so I changed

[lxc-users] Ubuntu (maverick) container hangs at init

2014-05-15 Thread Stephen Zhang
Hi all, I installed a ubuntu maverick (really an old release, but I have to use it) using the following command: lxc-creat -t ubuntu -n ubuntu -f config -- -r maverick the official repository is invalid now, so I changed it to http://mirror.usu.ru/ubuntu/ in debootstap script and lxc-u