[systemd-devel] [PATCH] journal/compress: use LZ4_compress_continue()

2014-08-30 Thread Evangelos Foutras
We can't use LZ4_compress_limitedOutput_continue() because in the worst-case scenario the compressed output can be slightly bigger than the input block. This generally affects very few blocks and is no reason to abort the compression process. I ran into this when I noticed that Chromium core

Re: [systemd-devel] [PATCH] missing: add BPF_XOR

2014-08-30 Thread Kay Sievers
On Tue, Aug 26, 2014 at 7:31 PM, Lennart Poettering lenn...@poettering.net wrote: Actually we try to be compatible with kernels from the last 2y, which would mean 3.5 as minimum version. (though we will make an exception when we adopt kdbus...) The README currently even states 3.0 was

Re: [systemd-devel] [PATCH v2] libudev: fix symbol version for udev_queue_flush() and udev_queue_get_fd()

2014-08-30 Thread Kay Sievers
On Sat, Aug 30, 2014 at 2:09 AM, Michael Biebl mbi...@gmail.com wrote: Updated patch which the correct version information. Applied. Thanks, Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

[systemd-devel] test-ipv4ll never finishes

2014-08-30 Thread Jan Janssen
Hi, on my system, test-ipv4ll waits forever on an epoll: $ strace ./test-ipv4ll execve(./test-ipv4ll, [./test-ipv4ll], [/* 64 vars */]) = 0 brk(0) = 0x7f387087e000 access(/etc/ld.so.preload, R_OK) = -1 ENOENT (No such file or directory)

[systemd-devel] [PATCH] journalctl: Allow to disable line cap with --pager-end

2014-08-30 Thread Jan Janssen
--lines=0 hardly makes sense with --pager-end, so give it some new meaning. --- man/journalctl.xml | 6 +++--- src/journal/journalctl.c | 12 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/man/journalctl.xml b/man/journalctl.xml index d4e0316..5c8d78c 100644

[systemd-devel] [PATCH] Update french translation

2014-08-30 Thread Sylvain Plantefève
--- po/fr.po | 28 +++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/po/fr.po b/po/fr.po index ed8a686..7240cc5 100644 --- a/po/fr.po +++ b/po/fr.po @@ -8,7 +8,7 @@ msgstr Project-Id-Version: systemd\n Report-Msgid-Bugs-To: \n POT-Creation-Date:

[systemd-devel] [PATCH] Fix a few more typos

2014-08-30 Thread Ruben Kerkhof
From d0d74a761ef6833a7efc291a613853e3a4212a02 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof ru...@rubenkerkhof.com Date: Sat, 30 Aug 2014 17:09:23 +0200 Subject: [PATCH] Fix a few more typos --- CODING_STYLE | 2 +- NEWS | 2 +-

Re: [systemd-devel] [PATCH] journalctl: Allow to disable line cap with --pager-end

2014-08-30 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Aug 30, 2014 at 03:26:05PM +0200, Jan Janssen wrote: --lines=0 hardly makes sense with --pager-end, so give it some new meaning. I'm don't think this overloading is a good idea. --lines=0 is meaningful with -f, and it is possible that we'll implement -f in a pager when pagers get support

Re: [systemd-devel] [PATCH] Update french translation

2014-08-30 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Aug 30, 2014 at 04:25:59PM +0200, Sylvain Plantefève wrote: --- po/fr.po | 28 +++- 1 file changed, 27 insertions(+), 1 deletion(-) Applied. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] [PATCH] Fix a few more typos

2014-08-30 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Aug 30, 2014 at 05:13:16PM +0200, Ruben Kerkhof wrote: From d0d74a761ef6833a7efc291a613853e3a4212a02 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof ru...@rubenkerkhof.com Date: Sat, 30 Aug 2014 17:09:23 +0200 Subject: [PATCH] Fix a few more typos Applied. Zbyszek

Re: [systemd-devel] test-ipv4ll never finishes

2014-08-30 Thread Umut Tezduyar
Thanks. I will take a look at it. On Aug 30, 2014, at 3:08 PM, Jan Janssen medhe...@web.de wrote: Hi, on my system, test-ipv4ll waits forever on an epoll: $ strace ./test-ipv4ll execve(./test-ipv4ll, [./test-ipv4ll], [/* 64 vars */]) = 0 brk(0) =

[systemd-devel] container login

2014-08-30 Thread Ruben Kerkhof
Hi all, I'm playing around a bit with systemd-nspawn, and the new --volatile option. I've got it mostly working so far, except for loggin in to the container as root. Looking at the code, IIUC systemd-firstboot is supposed to prompt for the root password, but it doesn't do this if /etc/shadow

[systemd-devel] [PATCH] ipv4ll: use correct event for setting name

2014-08-30 Thread Umut Tezduyar Lindskog
--- src/libsystemd-network/sd-ipv4ll.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsystemd-network/sd-ipv4ll.c b/src/libsystemd-network/sd-ipv4ll.c index 3d15fc8..8b24331 100644 --- a/src/libsystemd-network/sd-ipv4ll.c +++ b/src/libsystemd-network/sd-ipv4ll.c @@

Re: [systemd-devel] test-ipv4ll never finishes

2014-08-30 Thread Umut Tezduyar Lindskog
I think http://lists.freedesktop.org/archives/systemd-devel/2014-August/022787.html should do it! Thanks. On Sat, Aug 30, 2014 at 8:23 PM, Umut Tezduyar u...@tezduyar.com wrote: Thanks. I will take a look at it. On Aug 30, 2014, at 3:08 PM, Jan Janssen medhe...@web.de wrote: Hi, on my

Re: [systemd-devel] test-ipv4ll never finishes

2014-08-30 Thread Tom Gundersen
Thanks for the report, and to Umut for following up. Please let us know if there is still a problem with current git. Cheers, Tom On Sat, Aug 30, 2014 at 9:46 PM, Umut Tezduyar Lindskog u...@tezduyar.com wrote: I think

Re: [systemd-devel] [PATCH] ipv4ll: use correct event for setting name

2014-08-30 Thread Tom Gundersen
Thanks for the patch reminder, I already had the same fix in my queue, but forgot to push. Pushed it now. Cheers, Tom 2014-08-30 21:33 GMT+02:00 Umut Tezduyar Lindskog umut.tezdu...@axis.com: --- src/libsystemd-network/sd-ipv4ll.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [systemd-devel] [PATCH] journal/compress: use LZ4_compress_continue()

2014-08-30 Thread Zbigniew Jędrzejewski-Szmek
On Sat, Aug 30, 2014 at 10:13:43AM +0300, Evangelos Foutras wrote: We can't use LZ4_compress_limitedOutput_continue() because in the worst-case scenario the compressed output can be slightly bigger than the input block. This generally affects very few blocks and is no reason to abort the

Re: [systemd-devel] [PATCH] journalctl: Fix --list-boots and --boot

2014-08-30 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Aug 29, 2014 at 06:11:35PM +0200, Jan Janssen wrote: For some reason, sd_journal_query_unique() and sd_journal_add_match() don't work as they used to. There's a chance boots will be skipped; in my case only 60 of 393 boots show up. Therefore, do sd_journal_query_unique() first and

Re: [systemd-devel] [PATCH] journal/compress: use LZ4_compress_continue()

2014-08-30 Thread Evangelos Foutras
On 31 August 2014 00:39, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Sat, Aug 30, 2014 at 10:13:43AM +0300, Evangelos Foutras wrote: We can't use LZ4_compress_limitedOutput_continue() because in the worst-case scenario the compressed output can be slightly bigger than the input

Re: [systemd-devel] [PATCH] test-dhcp6-client: Fix option length

2014-08-30 Thread Zbigniew Jędrzejewski-Szmek
Hi, I now pushed your patch along with another one, very similar, with a fix for the second problem. test-dhcp6-client now runs fine under asan. test-network doesn't, but that's another story. Zbyszek On Fri, Aug 29, 2014 at 02:58:54PM +0200, Zbigniew Jędrzejewski-Szmek wrote: On Fri, Aug 29,

[systemd-devel] You are invited to give your thoughts on some async-signal-safety issues.

2014-08-30 Thread Steven Stewart-Gallus
Hello, I understand that systemd uses sandboxing and multithreading. After a fork, many things are messed up so it's only practical to use async-signal-safe functions after a fork from a threaded program. If you have ideas on what sort of functionality GLibc needs to change to make systemd more