[systemd-devel] [PATCH 1/2] path_lookup: moved _cleanup_lookup_paths_free_ from install.c to path-lookup.h

2013-10-27 Thread Daniel Buch
--- src/shared/install.c | 1 - src/shared/path-lookup.h | 2 ++ src/systemctl/systemctl.c | 4 +--- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/shared/install.c b/src/shared/install.c index 3bced1a..987b36d 100644 --- a/src/shared/install.c +++ b/src/shared/install.c

[systemd-devel] [PATCH 2/2] test-strv.c: added STRV_FOREACH and STRV_FOREACH_BACKWARDS

2013-10-27 Thread Daniel Buch
--- src/test/test-strv.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/src/test/test-strv.c b/src/test/test-strv.c index c3d536d..de5cef0 100644 --- a/src/test/test-strv.c +++ b/src/test/test-strv.c @@ -282,6 +282,34 @@ static void test_strv_append(void) {

Re: [systemd-devel] [udev] Wrong PID used in netlink socket

2013-10-27 Thread Jan Engelhardt
On Thursday 2013-10-10 15:36, Kay Sievers wrote: Note, that the netlink *address* just happens to be the PID in the usual case, but it's not necessarily the PID. For netlink t's just a number, an address not a PID. The second netlink socket a process opens gets a negative address instead of

Re: [systemd-devel] [PATCH 2/2] test-strv.c: added STRV_FOREACH and STRV_FOREACH_BACKWARDS

2013-10-27 Thread Zbigniew Jędrzejewski-Szmek
On Sun, Oct 27, 2013 at 12:45:53PM +0100, Daniel Buch wrote: --- src/test/test-strv.c | 30 ++ 1 file changed, 30 insertions(+) Applied and updated report pushed to http://www.freedesktop.org/software/systemd/coverage/. Overall: 30.7% → 30.9% :) Zbyszek

[systemd-devel] journal like cyclic buffer?

2013-10-27 Thread Warpme
Hi * Is there possibility to configure systemd journal to behave like cyclic buffer with given buffer size? Currently I see only rotation mechanism. Issue with rotation is that just after rotation, journal is almost empty and user don't have access to old log data. I have already many

Re: [systemd-devel] journal like cyclic buffer?

2013-10-27 Thread Mantas Mikulėnas
On Sun, Oct 27, 2013 at 7:52 PM, Warpme war...@o2.pl wrote: Hi * Is there possibility to configure systemd journal to behave like cyclic buffer with given buffer size? Currently I see only rotation mechanism. Issue with rotation is that just after rotation, journal is almost empty and user

Re: [systemd-devel] journal like cyclic buffer?

2013-10-27 Thread Colin Guthrie
Hi, 'Twas brillig, and Warpme at 27/10/13 17:52 did gyre and gimble: Is there possibility to configure systemd journal to behave like cyclic buffer with given buffer size? Currently I see only rotation mechanism. Issue with rotation is that just after rotation, journal is almost empty and

Re: [systemd-devel] journal like cyclic buffer?

2013-10-27 Thread Kay Sievers
On Sun, Oct 27, 2013 at 6:52 PM, Warpme war...@o2.pl wrote: Is there possibility to configure systemd journal to behave like cyclic buffer with given buffer size? Currently I see only rotation mechanism. Issue with rotation is that just after rotation, journal is almost empty and user don't

Re: [systemd-devel] [RFC][PATCH] udev: add network link configuration tool

2013-10-27 Thread Tollef Fog Heen
]] Tom Gundersen The tool is configured by .link files in /etc/net/links/ (with the usual overriding logic in /run and /lib). The first (in lexicographical order) matching .link file is applied to a given device, and all others are ignored. Breaking tab completion for /etc/network (on Debian

[systemd-devel] [RFC][PATCH] libsystemd-rtnl: add a rtnetlink library

2013-10-27 Thread Tom Gundersen
This is intentionally as similar to sd-bus as possible. While it would be simple to export it, the intentions is to keep this internal (at least for the forseeable future). Currently only synchronous communication is implemented Once this has been applied, I'll add the missing pieces to the

Re: [systemd-devel] [RFC][PATCH] libsystemd-rtnl: add a rtnetlink library

2013-10-27 Thread Tom Gundersen
On Sun, Oct 27, 2013 at 9:47 PM, Tom Gundersen t...@jklm.no wrote: This is intentionally as similar to sd-bus as possible. While it would be simple to export it, the intentions is to keep this internal (at least for the forseeable future). Currently only synchronous communication is

Re: [systemd-devel] journal like cyclic buffer?

2013-10-27 Thread Lennart Poettering
On Sun, 27.10.13 18:52, Warpme (war...@o2.pl) wrote: Hi * Is there possibility to configure systemd journal to behave like cyclic buffer with given buffer size? This is how things already behave. Simply use SystemMaxUse= in journald.conf to set the maximum buffer size. With

Re: [systemd-devel] [PATCH] nspawn: use the mode_t of the source file for copy_file()

2013-10-27 Thread Lennart Poettering
On Sat, 26.10.13 21:17, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Sat, Oct 26, 2013 at 12:59:40AM +0100, Djalal Harouni wrote: Instead of hard-coding the permission mode, stat() the source file and use its mode to create the destination file. Hi, Is this patch trying to