Re: [systemd-devel] [PATCH] syslog: apply requested datagram size before sysctl

2014-07-24 Thread Colin Guthrie
Umut Tezduyar Lindskog wrote on 24/07/14 09:53: systemd-sysctl runs after syslog.socket since syslog.socket has DefaultDependencies=no. Due to this, syslog.socket is created with default value of net.unix.max_dgram_qlen. --- units/syslog.socket |1 + 1 file changed, 1 insertion(+)

Re: [systemd-devel] sysusers and login.defs checks

2014-07-24 Thread Lennart Poettering
On Wed, 23.07.14 20:50, Zbigniew Jędrzejewski-Szmek (zbys...@in.waw.pl) wrote: On Wed, Jul 23, 2014 at 07:31:31PM +0200, Lennart Poettering wrote: [snip] Now, this alone wouldn't provide compatibility with the dreaded login.defs file. For that we'd then employ a postinst script that

Re: [systemd-devel] [PATCH] syslog: apply requested datagram size before sysctl

2014-07-24 Thread Umut Tezduyar Lindskog
On Thu, Jul 24, 2014 at 11:30 AM, Colin Guthrie gm...@colin.guthr.ie wrote: Umut Tezduyar Lindskog wrote on 24/07/14 09:53: systemd-sysctl runs after syslog.socket since syslog.socket has DefaultDependencies=no. Due to this, syslog.socket is created with default value of

Re: [systemd-devel] sysusers and login.defs checks

2014-07-24 Thread Lennart Poettering
On Wed, 23.07.14 21:22, Colin Guthrie (gm...@colin.guthr.ie) wrote: Does this make sense? To be frank, I really don't think it does make much sense at all. I mean, something which is currently configured in one place and then used Well, no, it's not the same setting that is configured at

Re: [systemd-devel] Changing configurations with networkd

2014-07-24 Thread Marcel Holtmann
Hi Tom, I think the lease should be remembered and reused in this case. Hm, this sounds like a bug somewhere. When the new discover is sent out it should send the same identifying information to the server, and hence be given the same lease back again. Wireshark should tell you if the

Re: [systemd-devel] Changing configurations with networkd

2014-07-24 Thread Brendan Hide
On 24/07/14 10:49, Tom Gundersen wrote: On Thu, Jul 24, 2014 at 10:16 AM, Michael Olbrich m.olbr...@pengutronix.de wrote: On Wed, Jul 23, 2014 at 04:46:26PM +0200, Marcel Holtmann wrote: There is no mandate that the server has to give you the same address after 10 minutes when you ask again.

[systemd-devel] Fwd: race conditions after SIGTERM

2014-07-24 Thread Reindl Harald
maybe that's a systemd thing i know Fedora 19 has not a recent systemd but the question remains if systemctl in case of Type=simple may act the same way while stop a service as for starting - send the SIGTERM and immediately return while the binary still writes data that could explain race

Re: [systemd-devel] sysusers and login.defs checks

2014-07-24 Thread Colin Guthrie
Lennart Poettering wrote on 24/07/14 11:59: ... snip ... I am pretty sure you will find people who will defend some of this non-sense, but honestly, this is all is stuff that shouldn't exist. OK, that was a fairly convincing message! Many thanks for taking the time and being so explicit. I

Re: [systemd-devel] sysusers and login.defs checks

2014-07-24 Thread Colin Guthrie
Colin Guthrie wrote on 24/07/14 13:32: If direct parsing is NAKed perhaps it could just shell out to a systemd-sysusers-getnewuserdetails command which spat out a uid:gid pair (and took an optional --system argument), that way the parsing logic only needs to live in one place. This bit, of

Re: [systemd-devel] crypttab automount

2014-07-24 Thread Ralf Jung
Hi, Essentially, I want a proper mount with the usual RequiredBy and WantedBy - but without the Before that makes others wait on this disk. So, the concurrency part of automount is exactly what I want, but without the on-demand part. Is that possible? You're looking for nofail without the

Re: [systemd-devel] Changing configurations with networkd

2014-07-24 Thread Michael Olbrich
On Thu, Jul 24, 2014 at 02:05:24PM +0200, Marcel Holtmann wrote: Right, I spoke too quickly. What I don't want is to preserve state between reboots, preserving it between restarts of networkd would indeed be fine. We already serialize the dhcp leases to /run, so I'd be happy to take a

[systemd-devel] Forward from linux-raid@ ML: systemd-215 creates inactive MD devices upon stopping them

2014-07-24 Thread Samuli Suominen
Forwarding to systemd-devel@ for http://bugs.gentoo.org/show_bug.cgi?id=517986 Original Message Subject:Re: udev 215 creates inactive MD devices upon stopping them Date: Thu, 24 Jul 2014 17:48:05 +0200 From: Sebastian Parschauer sebastian.rie...@profitbricks.com To:

Re: [systemd-devel] Changing configurations with networkd

2014-07-24 Thread Kay Sievers
On Thu, Jul 24, 2014 at 10:54 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl 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 to 1. Wouldn't it be nice to set it to 1 always. The default

[systemd-devel] [PATCH] analyze: fix seg-fault with no cl-argument

2014-07-24 Thread Daniel Buch
We need to check if argv[1] is set before compare --- src/analyze/analyze.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/analyze/analyze.c b/src/analyze/analyze.c index 66e2aab..83da7f5 100644 --- a/src/analyze/analyze.c +++ b/src/analyze/analyze.c @@ -1349,7 +1349,7 @@