From: Nathan Lynch <ntl-e+AXbWqSrlAAvxtiuMwx3w@public.gmane.org>
To: Sukadev Bhattiprolu
<sukadev-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org>
Cc: Containers
<containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org>
Subject: Re: Wiki for LXC with Checkpoint/Restart
Date: Thu, 15 Apr 2010 17:00:37 -0500 [thread overview]
Message-ID: <1271368837.2539.220.camel@localhost> (raw)
In-Reply-To: <1271278502.18251.122.camel@localhost>
On Wed, 2010-04-14 at 15:55 -0500, Nathan Lynch wrote:
> On Wed, 2010-04-14 at 13:40 -0700, Sukadev Bhattiprolu wrote:
> >
> > Yes, I think thats what Michel or Daniel ran into. For some reason, I
> > did not run into on Fedora11. Can you add -fPIC to the usercr CFLAGS
> > and try ? If it works for you, I will try on Fedora11 too and we can
> > add a patch to lxc.sf.net/patches/lxc+usercr/.
>
> Yes, adding -fPIC to CFLAGS in the user-cr Makefile and rebuilding
> allows the lxc build to succeed.
Okay, so after getting the kernel build issues worked around and
documented, I've gotten to part 4 "Checkpoint/restart a simple LXC
container" in the wiki. It works! A couple of minor issues with the
instructions:
> $ lxc-execute --name foo --rcfile lxc-no-netns.conf -- /bin/sleep 1000
The full path to the rcfile needs to be supplied or lxc-execute errors
out. Also, it seems that the above command needs its own terminal or it
should be run in the background.
> $ lxc-checkpoint --name foo --statefile /root/lxc-foo.ckpt
Is it intentional that this fails if /root/lxc-foo.ckpt already exists?
next prev parent reply other threads:[~2010-04-15 22:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-12 22:27 Wiki for LXC with Checkpoint/Restart Sukadev Bhattiprolu
[not found] ` <20100412222727.GA5759-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2010-04-14 19:34 ` Nathan Lynch
2010-04-14 20:40 ` Sukadev Bhattiprolu
[not found] ` <20100414204054.GA24411-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2010-04-14 20:55 ` Nathan Lynch
2010-04-15 22:00 ` Nathan Lynch [this message]
2010-04-14 19:57 ` Nathan Lynch
2010-04-14 20:00 ` Dan Smith
[not found] ` <87ljcpajog.fsf-FLMGYpZoEPULwtHQx/6qkW3U47Q5hpJU@public.gmane.org>
2010-04-14 20:16 ` Nathan Lynch
2010-04-14 20:24 ` Dan Smith
[not found] ` <87hbndaik9.fsf-FLMGYpZoEPULwtHQx/6qkW3U47Q5hpJU@public.gmane.org>
2010-04-14 20:43 ` Sukadev Bhattiprolu
[not found] ` <20100414204350.GB24411-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
2010-04-14 20:40 ` Dan Smith
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1271368837.2539.220.camel@localhost \
--to=ntl-e+axbwqsrlaavxtiumwx3w@public.gmane.org \
--cc=containers-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
--cc=sukadev-23VcF4HTsmIX0ybBhKVfKdBPR1lH4CV8@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox