Re: [systemd-devel] Changing configurations with networkd

2014-07-25 Thread Michael Olbrich
Hi, On Thu, Jul 24, 2014 at 11:58:15PM +0200, Tom Gundersen wrote: > On Thu, Jul 24, 2014 at 10:54 PM, Zbigniew Jędrzejewski-Szmek > wrote: > > On Thu, Jul 24, 2014 at 09:18:14PM +0200, Tom Gundersen wrote: > >> A quick fix would be to set > >> > >> /proc/sys/net/ipv4/conf/all/promote_secondaries

Re: [systemd-devel] Changing configurations with networkd

2014-07-25 Thread Brendan Hide
On 24/07/14 14:05, Marcel Holtmann wrote: Hi Tom, [snip] ... you already are getting assigned the correct IP address at first, and then only later does this change. What is causing your DHCP server to send out a different IP address later on, I don't know, but it seems unlikely that this is any

Re: [systemd-devel] Changing configurations with networkd

2014-07-25 Thread Tom Gundersen
On Fri, Jul 25, 2014 at 11:00 AM, Brendan Hide wrote: > On 24/07/14 14:05, Marcel Holtmann wrote: >> >> Hi Tom, >> >> [snip] >>> >>> ... you already are getting >>> >>> assigned the correct IP address at first, and then only later does >>> this change. What is causing your DHCP server to send out

Re: [systemd-devel] Changing configurations with networkd

2014-07-25 Thread Michael Olbrich
Hi, On Fri, Jul 25, 2014 at 11:00:27AM +0200, Brendan Hide wrote: > On 24/07/14 14:05, Marcel Holtmann wrote: > >[snip] > >>... you already are getting > >>assigned the correct IP address at first, and then only later does > >>this change. What is causing your DHCP server to send out a different >

Re: [systemd-devel] Changing configurations with networkd

2014-07-25 Thread Tom Gundersen
On Fri, Jul 25, 2014 at 11:19 AM, Michael Olbrich wrote: > Hi, > > On Fri, Jul 25, 2014 at 11:00:27AM +0200, Brendan Hide wrote: >> On 24/07/14 14:05, Marcel Holtmann wrote: >> >[snip] >> >>... you already are getting >> >>assigned the correct IP address at first, and then only later does >> >>thi

[systemd-devel] [PATCH] journald: fix syslog facility for messages coming from kmsg

2014-07-25 Thread Michal Sekletar
--- src/journal/journald-kmsg.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/journal/journald-kmsg.c b/src/journal/journald-kmsg.c index 12992e7..8d24344 100644 --- a/src/journal/journald-kmsg.c +++ b/src/journal/journald-kmsg.c @@ -274,6 +274,9 @@ static void dev_

[systemd-devel] [PATCH] always check asprintf return code

2014-07-25 Thread Karel Zak
There is a small number of the places in sources where we don't check asprintf() return code and assume that after error the function returns NULL pointer via the first argument. That's wrong, after error the content of pointer is undefined. --- src/core/unit-printf.c

Re: [systemd-devel] [PATCH] always check asprintf return code

2014-07-25 Thread Andrey Borzenkov
В Fri, 25 Jul 2014 15:38:31 +0200 Karel Zak пишет: > There is a small number of the places in sources where we don't check > asprintf() return code and assume that after error the function > returns NULL pointer via the first argument. That's wrong, after > error the content of pointer is undefin

[systemd-devel] Reason for IgnoreSIGPIPE=true by default

2014-07-25 Thread Ansgar Burchardt
Hi, I'm wondering what the reason for IgnoreSIGPIPE to default to true is. The documentation just states that Defaults to true because SIGPIPE generally is useful only in shell pipelines. But I don't think that this alone is a good reason to change the default. It can confuse programs w

[systemd-devel] networkd Promiscuous mode

2014-07-25 Thread Thomas Suckow
There seems to be no way in systemd-networkd to put a link in Promiscuous mode. This is needed to make macvlan work correctly (Otherwise it receives no traffic with its mac address as the destination). If I am not mistaken this could be a boolean in *.link files. - Thomas _