[Lxc-users] help regarding lxc

2011-08-30 Thread nishant mungse
hi Joerg Thnks 4 reply. I have executed the script now the error is gone but there is some problem. lxc-start -n guest lxc-start: No such file or directory - failed to exec /sbin/init lxc-start: invalid sequence number 1. expected 2 lxc-start: failed to spawn 'guest' lxc-start: Device or

Re: [Lxc-users] help regarding lxc

2011-08-30 Thread Canhua
do you have /sbin/init file in container's rootfs? e.g. /var/lib/lxc/guest/sbin/init On Tue, Aug 30, 2011 at 2:39 PM, nishant mungse nishantmun...@gmail.com wrote: hi Joerg Thnks 4 reply. I have executed the script now the error is gone but there is some problem. lxc-start -n guest

Re: [Lxc-users] help regarding lxc

2011-08-30 Thread Canhua
this file is needed. some form of bootstrap is need to setup these system files. On Tue, Aug 30, 2011 at 3:07 PM, nishant mungse nishantmun...@gmail.com wrote: hii Canhua No there is no such  file. Regards, Nishant On Tue, Aug 30, 2011 at 12:20 PM, Canhua dreamerat...@gmail.com wrote: do

Re: [Lxc-users] [PATCH] multiple mods to lxc-clone

2011-08-30 Thread Ramez Hanna
On Tue, Aug 30, 2011 at 1:08 AM, Serge Hallyn serge.hal...@canonical.com wrote: Thanks, Ramez.  It looks good to me.  My only comment would be that if the rootfs copy fails (either rsync or lvm clone), and you've frozen the original container, then you need to unfreeze the original container

[Lxc-users] [PATCH 2/3] *add the new opts to help() *set container_running=false

2011-08-30 Thread InformatiQ
Signed-off-by: InformatiQ rha...@informatiq.org --- src/lxc/lxc-clone.in |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/lxc/lxc-clone.in b/src/lxc/lxc-clone.in index d42160b..bc1af60 100755 --- a/src/lxc/lxc-clone.in +++ b/src/lxc/lxc-clone.in @@ -36,8 +36,8 @@

Re: [Lxc-users] help regarding lxc

2011-08-30 Thread nishant mungse
Hi Canhua I hv created a fedora container. commnd::lxc-start -n fedora Welcome to Fedora ... .. .. Setting hostname fedora: [ OK ] Checking filesystems [ OK ] mount: according to mtab, rootfs

[Lxc-users] Fwd: help regarding lxc

2011-08-30 Thread Ramez Hanna
-- Forwarded message -- From: Ramez Hanna rha...@informatiq.org Date: Tue, Aug 30, 2011 at 2:36 PM Subject: Re: [Lxc-users] help regarding lxc To: nishant mungse nishantmun...@gmail.com there is a lxc-fedora template which wors just fine for fedora releases prior to 15 lxc-create

Re: [Lxc-users] Is it possible to create symbolic links between different containers

2011-08-30 Thread Serge Hallyn
Quoting nishant mungse (nishantmun...@gmail.com): Hi all I want to create a sym link between different containers. Is it possible to create?and how? Hm. How about doing a bind mount instead? -- Special Offer --

Re: [Lxc-users] Is it possible to create symbolic links between different containers

2011-08-30 Thread Bodhi Zazen
You might be able to achieve this with mount bind - Original Message - From: nishant mungse nishantmun...@gmail.com To: lxc-users@lists.sourceforge.net, contain...@lists.linux-foundation.org Sent: Tuesday, August 30, 2011 7:38:07 AM Subject: [Lxc-users] Is it possible to create symbolic

Re: [Lxc-users] [PATCH 0/3] several mods to lxc-clone.in

2011-08-30 Thread Daniel Lezcano
On 08/30/2011 05:36 PM, Serge Hallyn wrote: Thanks. No objections to the patchset. (Other than, better to simply remove the code lines which you commented out - but no need for a new set for that). I haven't tested it, but it looks correct. Acked-by: Serge Hallyn

Re: [Lxc-users] [PATCH 2/2] lxc-fedora.in

2011-08-30 Thread Daniel Lezcano
On 08/28/2011 01:00 PM, Ramez Hanna wrote: * if not running on fedora host amd -R is not set, use fedora 14 as default * trap SIGHUP SIGINT SIGTERM, and cleanup before exiting Applied. -- Special Offer -- Download