if rv 0. Otherwise,
lxc-create -B lvm --fstype ext3 -t ubuntu -n u1
will print an (innocuous) error message about being unable to parse
the config value 'ext3'.
Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com
Acked-by: Stéphane Graber stgra...@ubuntu.com
---
src/lxc
On Fri, Oct 18, 2013 at 10:43:24AM -0500, Serge Hallyn wrote:
Also allow the standard non-nested apparmor policy.
Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com
Acked-by: Stéphane Graber stgra...@ubuntu.com
---
src/tests/lxc-test-ubuntu | 2 +-
1 file changed, 1 insertion(+), 1
-mounts passed through the -b option are mounted by the
pre-mount script and don't need processing by the fstab generator.
Signed-off-by: Stéphane Graber stgra...@ubuntu.com
---
src/lxc/lxc-start-ephemeral.in | 20 +++-
1 file changed, 11 insertions(+), 9 deletions(-)
diff --git a/src
if it something you want
to include upstream.
This change won't apply upstream since the current version of the
template doesn't appear to hardcode the release anymore, instead using
the host's version by default or failing with an error telling the user
to pass -r release.
--
Stéphane Graber
Ubuntu
this upstream.
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
signature.asc
Description: Digital signature
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance
:
https://github.com/lxc/lxc.github.io
There's a bit of room for distros to put links to their packages and
other useful resources, so far I've just listed Ubuntu as that's the one
I know most, other maintainers, please send me a patch for your distro.
--
Stéphane Graber
Ubuntu developer
http
, I've now renamed the early
RCs to Beta and will only call RC releases that may actually end up
being the final release (as any good release candidate should be).
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
signature.asc
Description: Digital signature
to dist tarball:
- src/python-lxc/examples/pyconsole.py
- src/python-lxc/examples/pyconsole-vte.py
- Mark all the python API tests executable
- Mark lxc-test-ubuntu executable
Signed-off-by: Stéphane Graber stgra...@ubuntu.com
---
src/lxc/list.c | 23 -
src/lxc/lxc
is guaranteed to be gid=5 on at least all
RedHat based and Debian based systems. So this hardcode gid shouldn't be
a big problem. If we however support any distro where that's not the
case, we'll need to implement an extra lxc.conf option and matching
template changes.
Signed-off-by: Stéphane Graber stgra
the names
and the name array, as showsn in the testcase.
Sorry, missed that one in my mailbox...
I quite like the new implementation, I think it'll be flexible enough
for all our needs.
Acked-by: Stéphane Graber stgra...@ubuntu.com
Changelog:
Check for the container config file before
On Thu, Oct 10, 2013 at 08:33:28AM -0500, Serge Hallyn wrote:
Quoting Stéphane Graber (stgra...@ubuntu.com):
On Wed, Oct 09, 2013 at 07:17:43AM -0500, Serge Hallyn wrote:
Two new commands are defined: list_defined_containers() and
list_active_containers(). Both take an lxcpath (NULL
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
signature.asc
Description: Digital signature
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips
root root 4096 Oct 8 06:08 ..
Any ideas?
Thank you,
Dragos
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
signature.asc
Description: Digital signature
--
October Webinars: Code for Performance
Free Intel
On Mon, Oct 07, 2013 at 08:41:23PM -0400, Scott Moser wrote:
On Mon, 7 Oct 2013, Stéphane Graber wrote:
On Mon, Oct 07, 2013 at 04:16:05PM -0500, Serge Hallyn wrote:
An example of where this can break is if you pass in sshkey to user
ubuntu in the container, where user ubuntu exists
On Mon, Oct 07, 2013 at 04:16:05PM -0500, Serge Hallyn wrote:
An example of where this can break is if you pass in sshkey to user
ubuntu in the container, where user ubuntu exists with different uid
on host.
Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com
Acked-by: Stéphane Graber stgra
as stgraber suggested
Don't look for 'expect' as I'm not using it yet.
changelog v3:
Make sure to only read one ip address from container.
Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com
Acked-by: Stéphane Graber stgra...@ubuntu.com
---
configure.ac | 1 +
src/tests
Container trimming is a bad idea in general, Ubuntu since 12.04 allows
standard systems to run in containers and we've got separate code to
deal with 10.04, so let's just drop trim.
Signed-off-by: Stéphane Graber stgra...@ubuntu.com
---
templates/lxc-ubuntu.in | 96
...@woralelandia.com
Acked-by: Stéphane Graber stgra...@ubuntu.com
Commit: 8983aa6e1e831f690be9cf38ae434a0de8b5107d
https://github.com/lxc/lxc/commit/8983aa6e1e831f690be9cf38ae434a0de8b5107d
Author: Stéphane Graber stgra...@ubuntu.com
Date: 2013-10-02 (Wed, 02 Oct 2013
On Wed, Oct 02, 2013 at 12:14:58PM -0400, Dwight Engen wrote:
Signed-off-by: Dwight Engen dwight.en...@oracle.com
Doh, not sure how I managed to miss that one!
Thanks!
Acked-by: Stéphane Graber stgra...@ubuntu.com
---
src/lxc/lxc_info.c | 14 --
1 file changed, 8 insertions
abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60134791iu=/4140/ostg.clktrk
___
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel
--
Stéphane Graber
Ubuntu developer
On Wed, Oct 02, 2013 at 02:21:47PM -0500, Serge Hallyn wrote:
Quoting Stéphane Graber (stgra...@ubuntu.com):
On Wed, Oct 02, 2013 at 01:11:12PM -0500, Serge Hallyn wrote:
From the file comments:
Some features of lxc - networking and LSM configuration for instance
goal is to make it so we don't have to :)
That new website is backed by git (git://github.com/lxc/lxc.github.io)
so if you want to help, add content to the site, send patches my way.
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
signature.asc
Description: Digital signature
--
Stéphane Graber
Ubuntu developer
http://www.canonical.com
signature.asc
Description: Digital signature
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore
On Wed, Oct 02, 2013 at 05:09:17PM -0500, Serge Hallyn wrote:
Quoting Stéphane Graber (stgra...@ubuntu.com):
On Wed, Oct 02, 2013 at 04:48:12PM -0500, Serge Hallyn wrote:
From the file comments:
Some features of lxc - networking and LSM configuration for instance
abilities and I confirmed they all build fine at least.
Signed-off-by: Stéphane Graber stgra...@ubuntu.com
---
src/lxc/lxc_attach.c | 3 +++
src/lxc/lxc_cgroup.c | 9 +
src/lxc/lxc_checkpoint.c | 3 +++
src/lxc/lxc_clone.c | 6 ++
src/lxc/lxc_console.c| 8
src/lxc
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
signature.asc
Description: Digital signature
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore
On Mon, Sep 30, 2013 at 12:58:47PM -0500, Serge Hallyn wrote:
Quoting Stéphane Graber (stgra...@ubuntu.com):
On Mon, Sep 30, 2013 at 09:53:56AM -0400, Dwight Engen wrote:
On Fri, 27 Sep 2013 21:01:07 -0500
Serge Hallyn serge.hal...@ubuntu.com wrote:
This is an api function which
Signed-off-by: Stéphane Graber stgra...@ubuntu.com
---
src/lxc/lxc_info.c | 38 +++---
1 file changed, 23 insertions(+), 15 deletions(-)
diff --git a/src/lxc/lxc_info.c b/src/lxc/lxc_info.c
index e61ae63..ab3aacf 100644
--- a/src/lxc/lxc_info.c
+++ b/src/lxc
-by: Stéphane Graber stgra...@ubuntu.com
---
doc/lxc-info.sgml.in | 12
src/lxc/lxc_info.c | 24
2 files changed, 32 insertions(+), 4 deletions(-)
diff --git a/doc/lxc-info.sgml.in b/doc/lxc-info.sgml.in
index c6fc624..819d5ca 100644
--- a/doc/lxc-info.sgml.in
+++ b
-off-by: KATOH Yasufumi ka...@jazz.email.ne.jp
Acked-by: Stéphane Graber stgra...@ubuntu.com
---
configure.ac| 1 +
doc/Makefile.am | 9 +++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/configure.ac b/configure.ac
index a523583..092a67d 100644
--- a/configure.ac
change format, I'd only start doing it with alpha2 to
avoid some extra confusion)
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
signature.asc
Description: Digital signature
--
October Webinars: Code
affecting the
outside world.
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
signature.asc
Description: Digital signature
--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate
On Mon, Sep 23, 2013 at 03:22:47PM -0500, Serge Hallyn wrote:
Quoting Stéphane Graber (stgra...@ubuntu.com):
Signed-off-by: Stéphane Graber stgra...@ubuntu.com
I assume it doesn't really matter, but note that configure.ac doesn't
have the V4.5//EN as the entries you are replacing do
on sourceforge after making a last backup.
Please make sure to update your git config!
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
signature.asc
Description: Digital signature
--
LIMITED TIME SALE - Full Year
something that'd be useful for them and that they'd use? Are there
common cases I didn't think in my proposal?
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
signature.asc
Description: Digital signature
Signed-off-by: Stéphane Graber stgra...@ubuntu.com
---
doc/ja/lxc-checkconfig.sgml.in | 2 +-
doc/ja/lxc-device.sgml.in | 2 +-
doc/ja/lxc-info.sgml.in| 2 +-
doc/ja/lxc-netstat.sgml.in | 2 +-
doc/ja/lxc-start-ephemeral.sgml.in | 3 +--
doc/ja/lxc-version.sgml.in
Signed-off-by: Stéphane Graber stgra...@ubuntu.com
---
configure.ac | 4
1 file changed, 4 insertions(+)
diff --git a/configure.ac b/configure.ac
index 6c74dcd..a523583 100644
--- a/configure.ac
+++ b/configure.ac
@@ -52,6 +52,7 @@ esac
AC_MSG_RESULT([$with_distro])
AM_CONDITIONAL
The API header was included in a variety of ways before, standardize
those to include lxc/lxccontainer.h as this will always work both in
tree and on a system with the headers installed.
Signed-off-by: Stéphane Graber stgra...@ubuntu.com
---
src/lxc/bdev.h | 2 +-
src/lxc/console.c
Signed-off-by: Stéphane Graber stgra...@ubuntu.com
---
doc/ja/legacy/lxc-ls.sgml.in | 2 +-
doc/ja/lxc-attach.sgml.in | 2 +-
doc/ja/lxc-cgroup.sgml.in | 2 +-
doc/ja/lxc-checkconfig.sgml.in | 2 +-
doc/ja/lxc-checkpoint.sgml.in | 2 +-
doc/ja/lxc-clone.sgml.in
for the hard work he's been putting
into LXC for over 5 years now and wish him all the best for his new
projects!
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
signature.asc
Description: Digital signature
a good idea... But here I just drop
the locks which make lxc-start-ephemeral deadlock.
Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com
Acked-by: Stéphane Graber stgra...@ubuntu.com
---
src/lxc/console.c | 11 ---
1 file changed, 11 deletions(-)
diff --git a/src/lxc/console.c b
On Wed, Sep 18, 2013 at 09:30:28AM +0200, Claudio Kuenzler wrote:
On Tue, Sep 17, 2013 at 3:01 AM, Stéphane Graber stgra...@ubuntu.comwrote:
Hey everyone,
So I just went through everything the other track leads accepted over
the past couple of weeks and split the remaining time as well
.
Support for python bindings also introduced as a part of this version.
Signed-off-by: S.Çağlar Onur cag...@10ur.org
Acked-by: Stéphane Graber stgra...@ubuntu.com
---
src/lxc/lxccontainer.c | 129
++--
src/lxc/lxccontainer.h | 3
On Wed, Sep 18, 2013 at 02:00:42PM -0500, Serge Hallyn wrote:
Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com
Acked-by: Stéphane Graber stgra...@ubuntu.com
---
src/lxc/lxc_create.c | 32
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git
)!
On Wed, Sep 18, 2013 at 2:47 PM, Stéphane Graber stgra...@ubuntu.comwrote:
On Mon, Sep 16, 2013 at 05:01:11PM -0400, S.Çağlar Onur wrote:
get_ips accepts an interface name as a parameter but there was no
way to get the interfaces names from the container. This patch
introduces a new
On Mon, Sep 16, 2013 at 02:54:44PM -0400, S.Çağlar Onur wrote:
On Mon, Sep 16, 2013 at 2:39 PM, Stéphane Graber stgra...@ubuntu.comwrote:
On Mon, Sep 16, 2013 at 02:26:47PM -0400, S.Çağlar Onur wrote:
get_ips accepts an interface name as a parameter but there was no
way to get
On Mon, Sep 16, 2013 at 04:25:38PM -0400, Dwight Engen wrote:
Signed-off-by: Dwight Engen dwight.en...@oracle.com
Acked-by: Stéphane Graber stgra...@ubuntu.com
---
.gitignore | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.gitignore b/.gitignore
index 0061609..84c060f 100644
://pubads.g.doubleclick.net/gampad/clk?id=58041151iu=/4140/ostg.clktrk
___
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
signature.asc
Description
___
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
signature.asc
Description: Digital signature
is as follow:
== On the road to LXC 1.0 ==
Presented by: Serge Hallyn and Stéphane Graber
Duration: 20 minutes
Excerpt:
Overview of what features to expect for LXC 1.0 and hints on how to
help us get there.
.
LXC upstream is currently doing a big development push to get LXC 1.0
out in early 2014
cgroup.c:1219: error: for each function it appears in.)
Signed-off-by: Qiang Huang h.huangqi...@huawei.com
Reproduced the issue when building on Android.
Acked-by: Stéphane Graber stgra...@ubuntu.com
---
src/lxc/cgroup.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/lxc/cgroup.c b
-lxc_conf c-lxc_conf-rootfs.path
+ access(c-lxc_conf-rootfs.path, F_OK) == 0) {
+ bret = true;
goto out;
+ }
/* Mark that this container is being created */
if ((partial_fd = create_partial(c)) 0)
--
1.8.3
--
Stéphane Graber
Ubuntu
start because .lxc-running
exists...
- perhaps we could write the pid of the lxc-start process in there, so
that
it may check whether the container is really running?
-- Christian
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
signature.asc
Description: Digital
On Fri, Sep 13, 2013 at 03:43:56PM -0500, Serge Hallyn wrote:
Otherwise user-namespace containers will hang on mountall.
Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com
Acked-by: Stéphane Graber stgra...@ubuntu.com
I'll cherry-pick that in the Ubuntu package.
---
templates/lxc-ubuntu
.
So I see two ways not to regress in that regard:
1) Make scope filtering work with IPv4, so that get_ips() user can pass
scope=0 and only get global IPv4 and IPv6 addresses.
2) Add a no_loopback argument to get_ips.
As it's:
Nacked-by: Stéphane Graber stgra...@ubuntu.com
---
src/lxc
On Fri, Sep 13, 2013 at 06:44:34PM -0400, S.Çağlar Onur wrote:
Hey Stéphane,
On Fri, Sep 13, 2013 at 6:32 PM, Stéphane Graber stgra...@ubuntu.comwrote:
On Fri, Sep 13, 2013 at 06:21:20PM -0400, S.Çağlar Onur wrote:
Signed-off-by: S.Çağlar Onur cag...@10ur.org
The loopback filtering
@castiana:~#
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
signature.asc
Description: Digital signature
--
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems
On Thu, Sep 12, 2013 at 03:08:26PM -0500, Serge Hallyn wrote:
Awesome, I noticed it was missing when going through lintian output this
morning and added it to my TODO for later this cycle, glad I won't have
to do it myself then :)
Acked-by: Stéphane Graber stgra...@ubuntu.com
Signed-off
On Wed, Sep 11, 2013 at 01:16:02PM +0200, Cedric Bosdonnat wrote:
Hello Stéphane,
On Tue, 2013-09-10 at 12:29 -0400, Stéphane Graber wrote:
Yes, the mailing-list is the right way to send patches upstream.
Great.
Note that we usually require you to add a Signed-off-by tag to your
probably
won't work. However as ns cgroup is very much legacy, that should be
ok. Eventually we should be able to drop ns cgroup support altogether,
but not just yet.
Tested on Android with a 2.6.32 kernel, I can confirm that I'm now able
to start containers!
Acked-by: Stéphane Graber stgra
,
until then, lxc-start -d is broken in staging.
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
signature.asc
Description: Digital signature
--
How ServiceNow helps IT people transform IT departments:
1
-by: Serge Hallyn serge.hal...@ubuntu.com
Simple works for me :)
Acked-by: Stéphane Graber stgra...@ubuntu.com
---
src/lxc/Makefile.am| 4 +-
src/lxc/lxc_snapshot.c | 201
+
2 files changed, 204 insertions(+), 1 deletion(-)
create mode
the cleaner shutdown mechanism than people depending on the
hold behaviour.
Acked-by: Stéphane Graber stgra...@ubuntu.com
---
src/lxc/error.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/lxc/error.c b/src/lxc/error.c
index 15e6ab0..46c34bb 100644
--- a/src/lxc/error.c
+++ b/src/lxc
to)
rather than segving.
. when choosing a snapshot index, use the correct path to check for.
Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com
Acked-by: Stéphane Graber stgra...@ubuntu.com
---
src/lxc/lxccontainer.c | 278
+
src/lxc
if lua headers was missing.
Signed-off-by: Natanael Copa nc...@alpinelinux.org
Acked-by: Stéphane Graber stgra...@ubuntu.com
---
PS.
I wonder it it would be an idea to replace the 2 switches:
--enable-lua
--with-lua-pc[=PKG]
with a single switch:
--with-lua[=PKG
://lists.sourceforge.net/lists/listinfo/lxc-devel
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
signature.asc
Description: Digital signature
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover
On Fri, Sep 06, 2013 at 12:28:48PM -0500, Serge Hallyn wrote:
Otherwise containers may be able to remount -o ro their rootfs
at shutdown.
Reported-by: Harald Dunkel ha...@afaics.de
Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com
Acked-by: Stéphane Graber stgra...@ubuntu.com
---
src
.
Signed-off-by: Natanael Copa nc...@alpinelinux.org
I suppose at some point it'd be nice to find a way not to have configure
show checking for LUA... no 3 times in a row, but that's really just a
cosmetic issue.
Thanks for the change!
Acked-by: Stéphane Graber stgra...@ubuntu.com
---
configure.ac
On Fri, Sep 06, 2013 at 02:13:23PM -0500, Serge Hallyn wrote:
Quoting Stéphane Graber (stgra...@ubuntu.com):
+static struct lxc_container *lxcsnap_open(struct lxc_snapshot *s)
+{
+ return NULL;
+}
I guess that's because we may want to do some more stuff in there later
right
@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
signature.asc
Description: Digital signature
--
Learn the latest--Visual Studio 2012
___
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
signature.asc
Description: Digital signature
On Wed, Sep 04, 2013 at 05:14:49PM -0500, Serge Hallyn wrote:
Quoting Stéphane Graber (stgra...@ubuntu.com):
On Wed, Sep 04, 2013 at 11:05:02AM -0500, Serge Hallyn wrote:
Hi,
before I go on with the snapshots-in-api patchset, I wanted to floar
this and ask a few questions, as I'm
...@ubuntu.com
Acked-by: Stéphane Graber stgra...@ubuntu.com
---
src/lxc/commands.c | 10 ++
1 file changed, 10 insertions(+)
diff --git a/src/lxc/commands.c b/src/lxc/commands.c
index a7981ba..aad376a 100644
--- a/src/lxc/commands.c
+++ b/src/lxc/commands.c
@@ -59,6 +59,16 @@
* Each
On Fri, Aug 30, 2013 at 03:46:45PM -0400, Stéphane Graber wrote:
On Fri, Aug 30, 2013 at 03:42:03PM -0400, Stéphane Graber wrote:
Hello,
First of all, sorry for the boring e-mail, nobody likes to deal with
licenses but it's an unfortunate thing we have to deal with from time to
time
be nice to have.
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
signature.asc
Description: Digital signature
--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master
comments (lxc-clone is now implemented)
lxc-commands: add a comment explaining CMD_* rules
lua: update license
Stéphane Graber (50):
python: Fix memory management
Revert utils: reimplement/fix mkdir_p()
Revert start: Detect early failure of the new child
python
On Fri, Aug 30, 2013 at 03:42:03PM -0400, Stéphane Graber wrote:
Hello,
First of all, sorry for the boring e-mail, nobody likes to deal with
licenses but it's an unfortunate thing we have to deal with from time to
time.
Thomas Moschny reported some inconsistencies in the way LXC
Signed-off-by: Stéphane Graber stgra...@ubuntu.com
---
CONTRIBUTING | 24
1 file changed, 24 insertions(+)
diff --git a/CONTRIBUTING b/CONTRIBUTING
index f6447c1..81edd3b 100644
--- a/CONTRIBUTING
+++ b/CONTRIBUTING
@@ -40,6 +40,30 @@ You can submit your patches
(in
the form, not the content). I'll be fixing those too before I send the
alpha1 pull-request.
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
signature.asc
Description: Digital signature
--
Learn the latest
unlikely) race which
apw pointed out while we were trying to create a reproducer for the
kernel bug.
Signed-off-by: Serge Hallyn serge.hal...@ubuntu.com
Acked-by: Stéphane Graber stgra...@ubuntu.com
---
src/lxc/start.c | 15 ---
1 file changed, 12 insertions(+), 3 deletions
On Fri, Aug 16, 2013 at 05:25:34PM +0100, Daniel P. Berrange wrote:
On Fri, Aug 16, 2013 at 06:01:25PM +0200, Stéphane Graber wrote:
On Fri, Aug 16, 2013 at 10:36:58AM -0500, Serge Hallyn wrote:
Quoting Stéphane Graber (stgra...@ubuntu.com):
initstate/random doesn't work on bionic, srand
\
lxclock.h \
bdev.h \
--
1.8.1.2
I already did that change a couple days back as it was breaking the
automated builds (which use make dist to make an upstream tarball).
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
signature.asc
Description
On Fri, Aug 16, 2013 at 05:13:46PM +0200, Stéphane Graber wrote:
LXC recently regressed with regard to Android/Bionic buildability, the
following commits try to address that.
With those changes, LXC now builds with an up to date NDK using
android-9.
This patchset has now been pushed
or whatever else uses cgroups these days.
--
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com
signature.asc
Description: Digital signature
--
Introducing Performance Central, a new site from SourceForge and
AppDynamics
Those two aren't always around (specifically on bionic), so add some
defines in case they aren't already defined.
Signed-off-by: Stéphane Graber stgra...@ubuntu.com
---
src/lxc/bdev.c | 8
1 file changed, 8 insertions(+)
diff --git a/src/lxc/bdev.c b/src/lxc/bdev.c
index e244550
Signed-off-by: Stéphane Graber stgra...@ubuntu.com
---
src/lxc/lxc.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/lxc/lxc.h b/src/lxc/lxc.h
index b9eb52c..253c440 100644
--- a/src/lxc/lxc.h
+++ b/src/lxc/lxc.h
@@ -28,6 +28,7 @@ extern C {
#endif
#include stddef.h
+#include sys
New code now uses getmntent_r so we need it exported so that it can be
used when building on bionic.
Signed-off-by: Stéphane Graber stgra...@ubuntu.com
---
src/include/lxcmntent.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/include/lxcmntent.h b/src/include/lxcmntent.h
index 528e8bc
Signed-off-by: Stéphane Graber stgra...@ubuntu.com
---
src/lxc/lxccontainer.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/lxc/lxccontainer.c b/src/lxc/lxccontainer.c
index a64babe..39789fd 100644
--- a/src/lxc/lxccontainer.c
+++ b/src/lxc/lxccontainer.c
@@ -42,6 +42,7 @@
#include
Signed-off-by: Stéphane Graber stgra...@ubuntu.com
---
src/lxc/cgroup.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/src/lxc/cgroup.c b/src/lxc/cgroup.c
index b2b1aa3..221c018 100644
--- a/src/lxc/cgroup.c
+++ b/src/lxc/cgroup.c
@@ -53,6 +53,12 @@
#include mntent.h
#endif
This adds a couple of missing includes, uses the local version of
getline on bionic and replaces getpwuid_r by getpwuid.
Signed-off-by: Stéphane Graber stgra...@ubuntu.com
---
src/lxc/lxc_user_nic.c | 18 --
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/src/lxc
We use confstr to grab the default PATH value. If it's not there, just
use a standard one with bin and sbin for /, /usr and /usr/local.
Signed-off-by: Stéphane Graber stgra...@ubuntu.com
---
configure.ac | 2 +-
src/lxc/attach.c | 9 +++--
2 files changed, 8 insertions(+), 3 deletions
Signed-off-by: Stéphane Graber stgra...@ubuntu.com
---
src/lxc/attach.c | 4
1 file changed, 4 insertions(+)
diff --git a/src/lxc/attach.c b/src/lxc/attach.c
index 950fe9a..3e9fb5f 100644
--- a/src/lxc/attach.c
+++ b/src/lxc/attach.c
@@ -54,6 +54,10 @@
#include sys/personality.h
#endif
Signed-off-by: Stéphane Graber stgra...@ubuntu.com
---
src/lxc/attach.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/lxc/attach.c b/src/lxc/attach.c
index 3e9fb5f..99b9c89 100644
--- a/src/lxc/attach.c
+++ b/src/lxc/attach.c
@@ -31,6 +31,7 @@
#include sys/param.h
#include sys/prctl.h
The current Android NDK provides a clone() defintion that's identical to
eglibc's so we can drop the ifdef from that one.
Signed-off-by: Stéphane Graber stgra...@ubuntu.com
---
src/lxc/namespace.h | 3 ---
1 file changed, 3 deletions(-)
diff --git a/src/lxc/namespace.h b/src/lxc/namespace.h
initstate/random doesn't work on bionic, srand/rand works on everything,
so let's use that.
Signed-off-by: Stéphane Graber stgra...@ubuntu.com
---
src/lxc/conf.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/src/lxc/conf.c b/src/lxc/conf.c
index 867a150..3d99469 100644
Signed-off-by: Stéphane Graber stgra...@ubuntu.com
---
src/lxc/utils.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/lxc/utils.h b/src/lxc/utils.h
index cd08f05..20853b2 100644
--- a/src/lxc/utils.h
+++ b/src/lxc/utils.h
@@ -25,6 +25,7 @@
#include errno.h
#include stdarg.h
+#include
Signed-off-by: Stéphane Graber stgra...@ubuntu.com
---
src/lxc/utils.h | 4
1 file changed, 4 insertions(+)
diff --git a/src/lxc/utils.h b/src/lxc/utils.h
index 1818ee3..cd08f05 100644
--- a/src/lxc/utils.h
+++ b/src/lxc/utils.h
@@ -114,6 +114,8 @@ struct signalfd_siginfo
# define
Signed-off-by: Stéphane Graber stgra...@ubuntu.com
---
src/lxc/attach.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/lxc/attach.c b/src/lxc/attach.c
index 99b9c89..19fe61d 100644
--- a/src/lxc/attach.c
+++ b/src/lxc/attach.c
@@ -830,7 +830,9 @@ int attach_child_main(void* data
Signed-off-by: Stéphane Graber stgra...@ubuntu.com
---
src/include/getline.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/include/getline.h b/src/include/getline.h
index b030d7a..23d6f04 100644
--- a/src/include/getline.h
+++ b/src/include/getline.h
@@ -1,6 +1,8 @@
#ifndef
This adds a local ifaddrs implementation to be used on Bionic or other C
libraries that don't come with a getifaddrs implementation.
This code was written by Kenneth MacKay and is under a two-clause BSD
license (copyright information in the file headers).
Signed-off-by: Stéphane Graber stgra
101 - 200 of 563 matches
Mail list logo