with different MTU settings.
Signed-off-by: Natanael Copa
---
src/lxc/conf.c | 16 +++-
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/src/lxc/conf.c b/src/lxc/conf.c
index 309ceea..a3d45ee 100644
--- a/src/lxc/conf.c
+++ b/src/lxc/conf.c
@@ -2609,7 +2609,7 @@ static int
We need specify which hashing algorithm was used to create the signature
we check.
Fixes #609
Signed-off-by: Natanael Copa
---
This should also go to the stable-1.0 and stable-1.1 branches.
templates/lxc-alpine.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates
This is needed for lxc.autodev=1 to work.
Signed-off-by: Natanael Copa
---
templates/lxc-alpine.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates/lxc-alpine.in b/templates/lxc-alpine.in
index 886a838..963c42a 100644
--- a/templates/lxc-alpine.in
+++ b/templates
Alpine Linux provides yaml files with latest release instead of the old
approach with .latest.txt.
Signed-off-by: Natanael Copa
---
Should also go to 1.0.x stable
templates/lxc-alpine.in | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/templates/lxc-alpine.in b
Create a tty so we get login prompt on console by default
Signed-off-by: Natanael Copa
---
templates/lxc-alpine.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/templates/lxc-alpine.in b/templates/lxc-alpine.in
index 47df559..ba27aea 100644
--- a/templates/lxc-alpine.in
+++ b/templates
Signed-off-by: Natanael Copa
---
templates/lxc-alpine.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates/lxc-alpine.in b/templates/lxc-alpine.in
index 7a22d5e..47df559 100644
--- a/templates/lxc-alpine.in
+++ b/templates/lxc-alpine.in
@@ -246,7 +246,7
On Sat, 17 May 2014 09:44:28 -0400
"Michael H. Warfield" wrote:
> Hey,
>
> On Sat, 2014-05-17 at 15:24 +0200, Johannes Kastl wrote:
> > Hi everyone,
> >
> > something is wrong with lxc-top on openSUSE:
> >
> > First, I got this:
> >
> > > LANG=POSIX lxc-top /usr/bin/env: lua: No such file or
N for arch dependant .so module.
This should work for most distros. If it does not, then packagers
can still do:
make install lualibdir=$(pkg-config lua --variable=INSTALL_CMOD) ...
This fixes #169
Signed-off-by: Natanael Copa
---
configure.ac| 6 ++
src/lua-lxc/Makefile.a
Signed-off-by: Natanael Copa
---
templates/lxc-alpine.in | 3 +++
1 file changed, 3 insertions(+)
diff --git a/templates/lxc-alpine.in b/templates/lxc-alpine.in
index afda971..d8c6674 100644
--- a/templates/lxc-alpine.in
+++ b/templates/lxc-alpine.in
@@ -368,6 +368,9 @@ case "$arc
Modules should not link to the Lua core library.
See http://lua-users.org/wiki/BuildingModules under
"Do Not Link Modules to the Lua Core Libraries"
Signed-off-by: Natanael Copa
---
src/lua-lxc/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/s
Fix the issues reported by checkbashisms and change back to #!/bin/sh
Signed-off-by: Natanael Copa
---
templates/lxc-alpine.in | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/templates/lxc-alpine.in b/templates/lxc-alpine.in
index 5c4c585..459428d 100644
--- a
We have added 3 new build servers for Alpine Linux musl libc x86, x86_64
and arm. Add the sha256sum for those keys.
Signed-off-by: Natanael Copa
---
templates/lxc-alpine.in | 6 +-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/templates/lxc-alpine.in b/templates/lxc-alpine.in
[-Werror]
af_unix.c:210:3: error: (near initialization for 'cred') [-Werror]
af_unix.c:211:3: error: unknown field 'gid' specified in initializer
.gid = getgid(),
^
and more...
Signed-off-by: Natanael Copa
---
src/lxc/af_unix.c | 4 ++--
src/lxc/cgmanager.c | 5 ++--
^
In file included from /usr/include/net/ethernet.h:10:0,
from network.c:42:
/usr/include/netinet/if_ether.h:93:8: note: originally defined here
struct ethhdr {
^
Signed-off-by: Natanael Copa
---
src/lxc/network.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/lxc
ings being treated as errors
lxc_usernsexec.c: In function 'read_default_map':
lxc_usernsexec.c:181:2: error: implicit declaration of function 'getline'
[-Werror=implicit-function-declaration]
while (getline(&line, &sz, fin) != -1) {
^
cc1: all warnings being treat
This fixes compile error with musl libc:
In file included from start.c:66:0:
monitor.h:38:12: error: 'NAME_MAX' undeclared here (not in a function)
char name[NAME_MAX+1];
^
Signed-off-by: Natanael Copa
---
src/lxc/monitor.h | 1 +
1 file changed, 1 insertion(+)
diff -
or=implicit-function-declaration]
if (!access(path, F_OK) && !utmpxname(path))
^
Signed-off-by: Natanael Copa
---
configure.ac | 2 +-
src/lxc/lxcutmp.c | 31 +++
2 files changed, 20 insertions(+), 13 deletions(-)
diff --git a/configure.ac b/configu
This fixes compile error when build with musl libc:
conf.h:92:2: error: unknown type name 'uint'
uint fmask;
^
Signed-off-by: Natanael Copa
---
src/lxc/conf.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lxc/conf.h b/src/lxc/conf.h
index a0ce3f
This fixes the following error with musl libc:
In file included from start.c:59:0:
log.h: In function 'lxc_log_priority_to_int':
log.h:136:2: error: implicit declaration of function 'strcasecmp'
[-Werror=implicit-function-declaration]
Signed-off-by: Natanael Copa
---
sr
redirecting incorrect #include to
^
Signed-off-by: Natanael Copa
---
src/lxc/commands.c| 2 +-
src/lxc/lxc_console.c | 2 +-
src/lxc/start.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/lxc/commands.c b/src/lxc/commands.c
index 8b42c59..1fca13e 100644
This is a set with fixes for compiling LXC with musl libc. It is mostly
missing includes or missing _GNU_SOURCE define.
I have tested that it does not breaks uClibc and while there I fixed
a compile error with uClibc and getline, the last, 8/8 path.
Natanael Copa (8):
Include poll.h instead
It is normally not needed.
Signed-off-by: Natanael Copa
---
templates/lxc-alpine.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/templates/lxc-alpine.in b/templates/lxc-alpine.in
index 40957ab..ec6b802 100644
--- a/templates/lxc-alpine.in
+++ b/templates/lxc-alpine.in
On Mon, 27 Jan 2014 11:17:28 -0500
Dwight Engen wrote:
> On Fri, 24 Jan 2014 20:38:14 -0500
> "Michael H. Warfield" wrote:
> > All discussion aside, this is something that should be decided and
> > established as "the" convention. If it's "-r", so be it. Someone
> > needs to decide this. Who
On Mon, 27 Jan 2014 16:53:21 +
Natanael Copa wrote:
> On Mon, 27 Jan 2014 11:17:28 -0500
> Dwight Engen wrote:
>
> > On Fri, 24 Jan 2014 20:38:14 -0500
> > "Michael H. Warfield" wrote:
>
> > > All discussion aside, this is something that shou
24 matches
Mail list logo