[systemd-devel] [PATCH] sd-dhcp-client: prevent timer related memory leaks

2014-02-20 Thread Umut Tezduyar Lindskog
--- src/libsystemd-dhcp/sd-dhcp-client.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/src/libsystemd-dhcp/sd-dhcp-client.c b/src/libsystemd-dhcp/sd-dhcp-client.c index ec2b53f..84d38f0 100644 --- a/src/libsystemd-dhcp/sd-dhcp-client.c +++ b/src/libsystemd-dhcp/sd-dhcp-client.c @@

[systemd-devel] [PATCH] sd-dhcp-client: prevent timer related memory leaks

2014-02-20 Thread Umut Tezduyar Lindskog
--- src/libsystemd-dhcp/sd-dhcp-client.c |4 1 file changed, 4 insertions(+) diff --git a/src/libsystemd-dhcp/sd-dhcp-client.c b/src/libsystemd-dhcp/sd-dhcp-client.c index ec2b53f..53abe22 100644 --- a/src/libsystemd-dhcp/sd-dhcp-client.c +++ b/src/libsystemd-dhcp/sd-dhcp-client.c @@

Re: [systemd-devel] [PATCH] sd-dhcp-client: prevent timer related memory leaks

2014-02-20 Thread Umut Tezduyar Lindskog
From: Lennart Poettering [lenn...@poettering.net] Sent: Thursday, February 20, 2014 8:38 PM To: Umut Tezduyar Lindskog Cc: systemd-devel@lists.freedesktop.org; Umut Tezduyar Lindskog Subject: Re: [systemd-devel] [PATCH] sd-dhcp-client: prevent timer

Re: [systemd-devel] systemd-networkd on by default?

2014-02-20 Thread Umut Tezduyar Lindskog
-Original Message- From: systemd-devel-boun...@lists.freedesktop.org [mailto:systemd- devel-boun...@lists.freedesktop.org] On Behalf Of Zbigniew Jedrzejewski- Szmek Sent: den 21 februari 2014 04:42 To: Jason A. Donenfeld Cc: systemd Mailing List Subject: Re: [systemd-devel]

Re: [systemd-devel] [PATCH] sd-dhcp-client: prevent timer related memory leaks

2014-02-20 Thread Umut Tezduyar Lindskog
-Original Message- From: Lennart Poettering [mailto:lenn...@poettering.net] Sent: den 21 februari 2014 03:22 To: Umut Tezduyar Lindskog Cc: systemd-devel@lists.freedesktop.org; Umut Tezduyar Lindskog Subject: Re: [systemd-devel] [PATCH] sd-dhcp-client: prevent timer related memory

[systemd-devel] [PATCH] sd-dhcp: implement IPv4 link-local support

2014-02-27 Thread Umut Tezduyar Lindskog
Implements IPv4LL with respect to RFC 3927 (http://tools.ietf.org/rfc/rfc3927.txt) and integrates it with networkd. Majority of the IPv4LL state machine is taken from avahi (http://avahi.org/) project's autoip. IPv4LL can be enabled by IPv4LL=yes under [Network] section of .network file. IPv4LL

Re: [systemd-devel] [PATCH] sd-dhcp: implement IPv4 link-local support

2014-02-28 Thread Umut Tezduyar Lindskog
Hi, -Original Message- From: Lennart Poettering [mailto:lenn...@poettering.net] Sent: den 28 februari 2014 00:56 To: Umut Tezduyar Lindskog Cc: systemd-devel@lists.freedesktop.org; Umut Tezduyar Lindskog Subject: Re: [systemd-devel] [PATCH] sd-dhcp: implement IPv4 link-local

Re: [systemd-devel] [PATCH] sd-dhcp: implement IPv4 link-local support

2014-02-28 Thread Umut Tezduyar Lindskog
Hi, -Original Message- From: Zbigniew Jędrzejewski-Szmek [mailto:zbys...@in.waw.pl] Sent: den 28 februari 2014 04:08 To: Umut Tezduyar Lindskog Cc: systemd-devel@lists.freedesktop.org; Umut Tezduyar Lindskog Subject: Re: [systemd-devel] [PATCH] sd-dhcp: implement IPv4 link-local

[systemd-devel] [PATCH] sd-network: IPv4 link-local support [v2]

2014-02-28 Thread Umut Tezduyar Lindskog
Implements IPv4LL with respect to RFC 3927 (http://tools.ietf.org/rfc/rfc3927.txt) and integrates it with networkd. Majority of the IPv4LL state machine is taken from avahi (http://avahi.org/) project's autoip. IPv4LL can be enabled by IPv4LL=yes under [Network] section of .network file. IPv4LL

[systemd-devel] [PATCH] man: networkd - fix typo

2014-03-03 Thread Umut Tezduyar Lindskog
--- man/systemd-networkd.service.xml |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/man/systemd-networkd.service.xml b/man/systemd-networkd.service.xml index 6ee8494..cb6afaa 100644 --- a/man/systemd-networkd.service.xml +++ b/man/systemd-networkd.service.xml @@ -74,7

Re: [systemd-devel] [PATCH] Fix systemd-stdio-bridge symlink

2014-03-04 Thread Umut Tezduyar Lindskog
Hi, -Original Message- From: systemd-devel-boun...@lists.freedesktop.org [mailto:systemd- devel-boun...@lists.freedesktop.org] On Behalf Of Simon McVittie Sent: den 4 mars 2014 12:56 To: systemd-devel@lists.freedesktop.org Subject: Re: [systemd-devel] [PATCH] Fix

[systemd-devel] [PATCH] architecture: Add cris

2014-03-04 Thread Umut Tezduyar Lindskog
--- src/shared/architecture.c |3 +++ src/shared/architecture.h |3 +++ 2 files changed, 6 insertions(+) diff --git a/src/shared/architecture.c b/src/shared/architecture.c index fcdb3d5..9e0c3ef 100644 --- a/src/shared/architecture.c +++ b/src/shared/architecture.c @@ -114,6 +114,8 @@

[systemd-devel] StartupFinished signal is not sent on 210

2014-03-04 Thread Umut Tezduyar Lindskog
Hi, I have noticed systemd doesn't generate the StartupFinished dbus signal on 210 (probably 209 too). The code tells me we are generating the signal on all private connection and on api bus if we have client connected. if we have client connected statement is not clear to me. Have we change

Re: [systemd-devel] StartupFinished signal is not sent on 210

2014-03-05 Thread Umut Tezduyar Lindskog
Hi, -Original Message- From: Lennart Poettering [mailto:lenn...@poettering.net] Sent: den 4 mars 2014 22:00 To: Umut Tezduyar Cc: Umut Tezduyar Lindskog; systemd-devel@lists.freedesktop.org Subject: Re: [systemd-devel] StartupFinished signal is not sent on 210 On Tue, 04.03.14 21

[systemd-devel] [PATCH] man: ipv4 link-local

2014-03-05 Thread Umut Tezduyar Lindskog
--- TODO|1 - man/systemd.network.xml |9 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/TODO b/TODO index fd75eab..dbfe48e 100644 --- a/TODO +++ b/TODO @@ -670,7 +670,6 @@ Features: - add proper initrd support (in particular generate

Re: [systemd-devel] [PATCH] Fix systemd-stdio-bridge symlink

2014-03-11 Thread Umut Tezduyar Lindskog
Hi, From: systemd-devel-boun...@lists.freedesktop.org [systemd-devel-boun...@lists.freedesktop.org] On Behalf Of Lennart Poettering [lenn...@poettering.net] Sent: Tuesday, March 04, 2014 2:38 PM To: Umut Tezduyar Cc: systemd Mailing List Subject: Re:

[systemd-devel] [PATCH] sd-ipv4ll: generate predictable addresses

2014-03-18 Thread Umut Tezduyar Lindskog
--- TODO |1 - src/libsystemd-network/sd-ipv4ll.c | 86 +++- src/network/networkd-link.c| 12 - src/network/networkd.h |1 + src/shared/net-util.c | 42 ++

[systemd-devel] [PATCH] V2 sd-ipv4ll: generate predictable addresses

2014-03-19 Thread Umut Tezduyar Lindskog
--- src/libsystemd-network/sd-ipv4ll.c | 86 +--- src/network/networkd-link.c| 12 +++- src/network/networkd.h |1 + src/shared/net-util.c | 39 + src/shared/net-util.h |2 + src/systemd/sd-ipv4ll.h

Re: [systemd-devel] [PATCH] V2 sd-ipv4ll: generate predictable addresses

2014-03-21 Thread Umut Tezduyar Lindskog
On Thu, Mar 20, 2014 at 7:16 PM, Tom Gundersen t...@jklm.no wrote: On Thu, Mar 20, 2014 at 6:52 PM, Tom Gundersen t...@jklm.no wrote: On Wed, Mar 19, 2014 at 2:36 PM, Umut Tezduyar Lindskog umut.tezdu...@axis.com wrote: --- src/libsystemd-network/sd-ipv4ll.c | 86

Re: [systemd-devel] systemd-networkd bridge with DHCP not working

2014-03-21 Thread Umut Tezduyar Lindskog
On Thu, Mar 20, 2014 at 8:29 PM, Tom Gundersen t...@jklm.no wrote: On Wed, Mar 19, 2014 at 2:09 PM, Tom Gundersen t...@jklm.no wrote: On Wed, Mar 19, 2014 at 1:25 PM, poma pomidorabelis...@gmail.com wrote: Still the same issue, DHCPC starts too early, before the correct MAC address is set for

[systemd-devel] [PATCH] V3 sd-ipv4ll: generate predictable addresses

2014-03-21 Thread Umut Tezduyar Lindskog
--- TODO |1 - src/libsystemd-network/sd-ipv4ll.c | 93 +++- src/network/networkd-link.c| 12 + src/network/networkd.h |1 + src/shared/net-util.c | 37 ++

Re: [systemd-devel] [PATCH] network: dhcp: create explicit host route to gateway

2014-03-21 Thread Umut Tezduyar Lindskog
Hi, Do we also need to drop the route within dhcp_lease_lost()? Thanks On Fri, Mar 21, 2014 at 7:23 PM, Tom Gundersen t...@jklm.no wrote: On Thu, Mar 20, 2014 at 7:53 PM, Brandon Philips bran...@ifup.co wrote: This is a better approach that was suggested by Mike and ack'd by Tom. Some DHCP

[systemd-devel] [PATCH] sd-dhcp: check for udp packets

2014-03-30 Thread Umut Tezduyar Lindskog
Do not try to parse ICMP packets --- src/libsystemd-network/dhcp-packet.c |5 + 1 file changed, 5 insertions(+) diff --git a/src/libsystemd-network/dhcp-packet.c b/src/libsystemd-network/dhcp-packet.c index bed942f..f4a6227 100644 --- a/src/libsystemd-network/dhcp-packet.c +++

[systemd-devel] [PATCH] networkd: drop routes when lease expires

2014-04-01 Thread Umut Tezduyar Lindskog
--- src/network/networkd-link.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index 973755a..4e0fe0a 100644 --- a/src/network/networkd-link.c +++ b/src/network/networkd-link.c @@ -579,8 +579,11 @@ static int

Re: [systemd-devel] systemd-networkd and After=network.target

2014-04-02 Thread Umut Tezduyar Lindskog
Hi Ivan, On Wed, Apr 2, 2014 at 11:41 AM, Ivan Shapovalov intelfx...@gmail.com wrote: Hello all, I've noticed that systemd-networkd.service (ordered Before=network.target) finishes its startup before the connection is established/failed. Because of this, some networking daemons ordered

Re: [systemd-devel] [PATCH 1/1] networkd: Introduce ipip tunnel

2014-04-08 Thread Umut Tezduyar Lindskog
Hi, Few minor suggestions, if you care. On Tue, Apr 8, 2014 at 5:22 AM, Susant Sahani sus...@redhat.com wrote: This patch enables basic ipip tunnel support. It works with kernel module ipip Example configuration file: ipip.netdev -- [NetDev] Name=ipip-tun

[systemd-devel] Trying to debug bug 76468

2014-04-09 Thread Umut Tezduyar Lindskog
Hi, Trying to debug https://bugs.freedesktop.org/show_bug.cgi?id=76468 which seems to be sd_bus related. Problem is happening when we mark the sd_event as SD_EVENT_FINISHED and then tring to call sd_event_source_set_enabled on an event source that belongs to FINISHED sd_event. Inside the

[systemd-devel] [PATCH] libnetworkd: only allow positive ifindex

2014-04-10 Thread Umut Tezduyar Lindskog
From: Umut Tezduyar Lindskog umu...@axis.com --- src/libsystemd-network/sd-dhcp-client.c |2 +- src/libsystemd-network/sd-ipv4ll.c|2 +- src/libsystemd-network/test-dhcp-client.c |4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/libsystemd-network

[systemd-devel] [PATCH] libnetworkd: add link local tests

2014-04-12 Thread Umut Tezduyar Lindskog
- Also only allow positive ifindex on both dhcp and ipv4ll --- Makefile.am | 14 +- TODO |1 - src/libsystemd-network/sd-dhcp-client.c |2 +- src/libsystemd-network/sd-ipv4ll.c|7 +-

Re: [systemd-devel] [PATCH] libnetworkd: only allow positive ifindex

2014-04-12 Thread Umut Tezduyar Lindskog
Patch doesn't apply anymore after reference counting changes. I will re-send it along with ipv4ll tests which is coming up right away. On Thu, Apr 10, 2014 at 2:35 PM, Umut Tezduyar Lindskog umut.tezdu...@axis.com wrote: From: Umut Tezduyar Lindskog umu...@axis.com --- src/libsystemd-network

[systemd-devel] [PATCH] sd-dhcp-client: log positive error number

2014-04-13 Thread Umut Tezduyar Lindskog
Log error no for such client_stop(client, DHCP_EVENT_STOP) --- src/libsystemd-network/sd-dhcp-client.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/libsystemd-network/sd-dhcp-client.c b/src/libsystemd-network/sd-dhcp-client.c index 4892203..9715953 100644 ---

Re: [systemd-devel] [PATCH] sd-dhcp-client: log positive error number

2014-04-13 Thread Umut Tezduyar Lindskog
On Sun, Apr 13, 2014 at 1:16 PM, Tom Gundersen t...@jklm.no wrote: Hm, why? Are not error messages more useful? What is going to be the mapping for DHCP_EVENT_STOP? log_dhcp_client(client, STOPPED: %s, strerror(-DHCP_EVENT_STOP)); On 13 Apr 2014 12:53, Umut Tezduyar Lindskog umut.tezdu

Re: [systemd-devel] [PATCH] libnetworkd: only allow positive ifindex

2014-04-13 Thread Umut Tezduyar Lindskog
Tezduyar Lindskog wrote: Patch doesn't apply anymore after reference counting changes. I will re-send it along with ipv4ll tests which is coming up right away. Cool. Could you add a bit of a commit message explaining the change for the poor ignorant sods like me who don't know why indexes start

[systemd-devel] Start-up resource and prioritization control

2014-04-24 Thread Umut Tezduyar Lindskog
Hi, We are starting many services between basic.target - multi-user.target at the same time and due to this we are suffering from following two subjects. What can we do to overcome these problems? 1) We would like to start a subset of services that are scheduled to start between basic.target -

Re: [systemd-devel] Assigning a second ip-address on interface (i.e. eth0 and eth0:1)

2014-04-24 Thread Umut Tezduyar Lindskog
Hi Oliver, You can specify Address= more than once as it is explained in http://www.freedesktop.org/software/systemd/man/systemd.network.html (Address=). Thanks. On Thu, Apr 24, 2014 at 11:46 AM, Oliver oli...@business-security.de wrote: Is this possible via *.link *.network in

Re: [systemd-devel] [PATCH] sd-dhcp-client: log positive error number

2014-04-25 Thread Umut Tezduyar Lindskog
On Sat, Apr 26, 2014 at 12:36 AM, Tom Gundersen t...@jklm.no wrote: On Sun, Apr 13, 2014 at 12:52 PM, Umut Tezduyar Lindskog umut.tezdu...@axis.com wrote: Log error no for such client_stop(client, DHCP_EVENT_STOP) --- src/libsystemd-network/sd-dhcp-client.c |5 - 1 file changed, 4

[systemd-devel] [PATCH v2] libnetworkd: add link local tests

2014-04-27 Thread Umut Tezduyar Lindskog
- Also only allow positive ifindex on both dhcp and ipv4ll --- Makefile.am | 14 +- src/libsystemd-network/sd-dhcp-client.c |2 +- src/libsystemd-network/sd-ipv4ll.c|7 +- src/libsystemd-network/test-dhcp-client.c |4 +-

[systemd-devel] [PATCH] sd-dhcp-client: log positive error number

2014-04-27 Thread Umut Tezduyar Lindskog
Log error no for such client_stop(client, DHCP_EVENT_STOP) --- src/libsystemd-network/sd-dhcp-client.c | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/src/libsystemd-network/sd-dhcp-client.c b/src/libsystemd-network/sd-dhcp-client.c index 854c671..f2266e0

[systemd-devel] [PATCH] networkd: do not complain about IFF_RUNNING

2014-04-27 Thread Umut Tezduyar Lindskog
Otherwise: eth0: unknown link flags gained: 0x00040 (ignoring) --- src/network/networkd-link.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index 015a82d..a6ae3c1 100644 --- a/src/network/networkd-link.c +++

[systemd-devel] [PATCH] networkd: update TODO

2014-04-27 Thread Umut Tezduyar Lindskog
--- TODO |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/TODO b/TODO index 1963af3..6ec9515 100644 --- a/TODO +++ b/TODO @@ -681,14 +681,13 @@ Features: - add support for multi-part messages (simply call the same callback repeatedly?) * networkd: - - change

Re: [systemd-devel] [PATCH] networkd: update TODO

2014-04-27 Thread Umut Tezduyar Lindskog
On Sun, Apr 27, 2014 at 11:53 PM, Tom Gundersen t...@jklm.no wrote: On Sun, Apr 27, 2014 at 11:45 PM, Umut Tezduyar Lindskog umut.tezdu...@axis.com wrote: --- TODO |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/TODO b/TODO index 1963af3..6ec9515 100644

Re: [systemd-devel] [PATCH] networkd: do not complain about IFF_RUNNING

2014-04-29 Thread Umut Tezduyar Lindskog
On Sun, Apr 27, 2014 at 11:35 PM, Tom Gundersen t...@jklm.no wrote: On Sun, Apr 27, 2014 at 10:33 PM, Umut Tezduyar Lindskog umut.tezdu...@axis.com wrote: Otherwise: eth0: unknown link flags gained: 0x00040 (ignoring) Hm, so this is basically working as intended at the moment. I.e., we log

[systemd-devel] [PATCH] networkd: dont configure route if lease doesn't have one

2014-04-29 Thread Umut Tezduyar Lindskog
--- src/libsystemd-network/sd-dhcp-lease.c | 34 --- src/network/networkd-link.c| 160 ++-- 2 files changed, 110 insertions(+), 84 deletions(-) diff --git a/src/libsystemd-network/sd-dhcp-lease.c b/src/libsystemd-network/sd-dhcp-lease.c index

Re: [systemd-devel] GuessMainPID=no required to make daemon reload work

2014-05-05 Thread Umut Tezduyar Lindskog
Hi, On Sun, May 4, 2014 at 11:19 PM, Gerd v. Egidy li...@egidy.de wrote: Hi, I'm one of the developers of the Icinga monitoring system. We want to provide a .service file for our monitoring daemon with the next major release (Icinga 2). Due to technical reasons, the daemon can't reload

Re: [systemd-devel] Trying to debug bug 76468

2014-05-06 Thread Umut Tezduyar Lindskog
Is http://cgit.freedesktop.org/systemd/systemd/commit/?id=cc567911ba790931743c18332b2476e8c4accf64 intended to close this thread and bug 76468? Umut On Wed, Apr 9, 2014 at 8:16 PM, Umut Tezduyar Lindskog u...@tezduyar.com wrote: Hi, Trying to debug https://bugs.freedesktop.org/show_bug.cgi

[systemd-devel] User and Group permissions for .socket files

2014-05-12 Thread Umut Tezduyar Lindskog
Hi, How do we set the user:group of a socket created by .socket file? We have thought User= and Group= should do the job but that doesn't seem to be the case. Is this a missing feature or should we just set the permissions by ExecStartPost= on .socket file? Umut

Re: [systemd-devel] how can I add a boot parameter to a app which depend on kernel boot option

2014-05-13 Thread Umut Tezduyar Lindskog
Hi Xiong You can have a script that reads the /proc/cmdline and then calls exec with your app. ExecStart=/your/custom/scipt cat /your/custom/script: # Do what ever you want, figure out parameters # Start your application exec myapp --parameter=xyz Umut On Tue, May 13, 2014 at 12:48 PM,

Re: [systemd-devel] [PATCH] Fix systemd-stdio-bridge symlink

2014-05-13 Thread Umut Tezduyar Lindskog
On Wednesday, May 7, 2014, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and Umut Tezduyar Lindskog at 04/03/14 12:44 did gyre and gimble: Does that actually matter much? This ln usage is at build time, not install time, and those stable versions aren't going to upgrade

Re: [systemd-devel] systemd freezes after rshd execution, if network connection is down

2014-05-13 Thread Umut Tezduyar Lindskog
It is also reproducible by just loosing the carrier on the link. Maybe new async close is a candidate to solve it. On Tuesday, April 29, 2014, Harald Hoyer harald.ho...@gmail.com wrote: Am 28.04.2014 13:33, schrieb Jimmy Assarsson: Hi, We stumbled upon a freeze/block in systemd. The

Re: [systemd-devel] systemd freezes after rshd execution, if network connection is down

2014-05-14 Thread Umut Tezduyar Lindskog
Hi, We will check it. Meanwhile, I believe you can also try it since problem is arch independent. Just follow Jimmy Assarsson's instructions. Umut On Tue, May 13, 2014 at 11:31 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Tue, May 13, 2014 at 07:40:53PM +0200, Umut Tezduyar

Re: [systemd-devel] [RFC PATCH] Fix so install will work without 'ln --relative' support

2014-05-15 Thread Umut Tezduyar Lindskog
Hi, Please review the patch and let us know if anything needs to be changed. It would be nice if we can get this in before 213. Umut On Wed, May 7, 2014 at 8:54 AM, Emil Sjölin emil.sjo...@axis.com wrote: This fix makes sure that the package installation will work on systems using versions of

Re: [systemd-devel] [PATCH] Fix systemd-stdio-bridge symlink

2014-05-15 Thread Umut Tezduyar Lindskog
On Wed, May 14, 2014 at 1:05 PM, Colin Guthrie gm...@colin.guthr.ie wrote: 'Twas brillig, and Umut Tezduyar Lindskog at 13/05/14 18:37 did gyre and gimble: On Wednesday, May 7, 2014, Colin Guthrie gm...@colin.guthr.ie mailto:gm...@colin.guthr.ie wrote: 'Twas brillig, and Umut Tezduyar

Re: [systemd-devel] [RFC PATCH] Fix so install will work without 'ln --relative' support

2014-05-20 Thread Umut Tezduyar Lindskog
On Fri, May 16, 2014 at 4:14 PM, Lennart Poettering lenn...@poettering.net wrote: On Fri, 16.05.14 13:15, Harald Hoyer (harald.ho...@gmail.com) wrote: On 16.05.2014 13:00, Kay Sievers wrote: I do not think we should do such hacks in upstream systemd. It is a commonly available feature

Re: [systemd-devel] Start-up resource and prioritization control

2014-05-20 Thread Umut Tezduyar Lindskog
Hi Tom, Thanks for your thoughts and sorry about the delay. On Thu, May 15, 2014 at 11:47 AM, Tom Gundersen t...@jklm.no wrote: Hi Umut, Sorry for digging out an old thread, but it appears it has not yet been answered. On Thu, Apr 24, 2014 at 11:15 AM, Umut Tezduyar Lindskog u

Re: [systemd-devel] Start-up resource and prioritization control

2014-05-20 Thread Umut Tezduyar Lindskog
On Tue, May 20, 2014 at 1:46 PM, Tom Gundersen t...@jklm.no wrote: On Tue, May 20, 2014 at 11:33 AM, Umut Tezduyar Lindskog u...@tezduyar.com wrote: Thanks for your thoughts and sorry about the delay. On Thu, May 15, 2014 at 11:47 AM, Tom Gundersen t...@jklm.no wrote: Hi Umut, Sorry

Re: [systemd-devel] Start-up resource and prioritization control

2014-05-21 Thread Umut Tezduyar Lindskog
On Wed, May 21, 2014 at 10:42 AM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 20.05.14 15:16, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: Wouldn't this be solved by telling the kernel to schedule the starting services with high latency (or whatever the terminology is), i.e

Re: [systemd-devel] [PATCH] core: add startup resource control option

2014-05-21 Thread Umut Tezduyar Lindskog
Hi Cho, Do you have any technical reason why CPU shares are reverted back to the default value on StartupFinished but instead when the unit is in activated state? Through out the boot, until StartupFinished, a unit might get activated quite early but still having a higher CPU share. If the

Re: [systemd-devel] [RFC PATCH] Fix so install will work without 'ln --relative' support

2014-05-21 Thread Umut Tezduyar Lindskog
On Tue, May 20, 2014 at 5:59 PM, Michael Biebl mbi...@gmail.com wrote: 2014-05-20 10:58 GMT+02:00 Umut Tezduyar Lindskog u...@tezduyar.com: On Fri, May 16, 2014 at 4:14 PM, Lennart Poettering lenn...@poettering.net wrote: If it is desirable to cross-build systemd on such an old distribution

Re: [systemd-devel] [PATCH] core: add startup resource control option

2014-05-21 Thread Umut Tezduyar Lindskog
On Wed, May 21, 2014 at 3:54 PM, WaLyong Cho walyong@samsung.com wrote: On 05/21/2014 09:02 PM, Umut Tezduyar Lindskog wrote: Hi Cho, Do you have any technical reason why CPU shares are reverted back to the default value on StartupFinished but instead when the unit is in activated state

Re: [systemd-devel] Start-up resource and prioritization control

2014-05-22 Thread Umut Tezduyar Lindskog
On Thu, May 22, 2014 at 2:14 AM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 21.05.14 13:52, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: Not following here... Aren't you describing a best-effort system here? But the CPUShares= stuff is best-effort stuff anyway, and just

Re: [systemd-devel] Start-up resource and prioritization control

2014-05-22 Thread Umut Tezduyar Lindskog
Hi, On Wed, May 21, 2014 at 10:44 PM, Uoti Urpala uoti.urp...@pp1.inet.fi wrote: On Tue, 2014-05-20 at 15:16 +0200, Umut Tezduyar Lindskog wrote: On Tue, May 20, 2014 at 1:46 PM, Tom Gundersen t...@jklm.no wrote: Wouldn't this be solved by telling the kernel to schedule the starting

Re: [systemd-devel] [PATCH] core: add startup resource control option

2014-05-22 Thread Umut Tezduyar Lindskog
On Thu, May 22, 2014 at 2:18 AM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 21.05.14 14:02, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: Hi Cho, Do you have any technical reason why CPU shares are reverted back to the default value on StartupFinished but instead when

Re: [systemd-devel] [PATCH] core: add startup resource control option

2014-05-22 Thread Umut Tezduyar Lindskog
On Thu, May 22, 2014 at 9:07 AM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 22.05.14 08:42, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: On Thu, May 22, 2014 at 2:18 AM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 21.05.14 14:02, Umut Tezduyar Lindskog (u

[systemd-devel] systemd-hostnamed not shutting down when unused

2014-07-02 Thread Umut Tezduyar Lindskog
Hi, I am pretty sure at some point systemd-hostnamed was shutting itself down within 5 minutes of inactivity. It seems like we have lost this feature. Is the feature removed intentionally? Thanks, Umut ___ systemd-devel mailing list

Re: [systemd-devel] systemd-hostnamed not shutting down when unused

2014-07-02 Thread Umut Tezduyar Lindskog
/systemd-hostnamed Umut On Wed, Jul 2, 2014 at 8:50 AM, Mantas Mikulėnas graw...@gmail.com wrote: On Wed, Jul 2, 2014 at 9:39 AM, Umut Tezduyar Lindskog u...@tezduyar.com wrote: Hi, I am pretty sure at some point systemd-hostnamed was shutting itself down within 5 minutes of inactivity

Re: [systemd-devel] [PATCH] build: Honour SUID_CFLAGS and SUID_LDFLAGS

2014-07-02 Thread Umut Tezduyar Lindskog
Hi, I am agreeing with Simon. We use mips and we see the mentioned impacts. We also see quite size difference (%6 large on systemd-cat binary text section) which might not be so welcomed on embedded system. Umut On Mon, May 19, 2014 at 12:37 PM, Simon McVittie simon.mcvit...@collabora.co.uk

[systemd-devel] [PATCH] arch: add crisv32

2014-07-03 Thread Umut Tezduyar Lindskog
--- src/shared/architecture.c |1 + 1 file changed, 1 insertion(+) diff --git a/src/shared/architecture.c b/src/shared/architecture.c index 9e0c3ef..7dd049a 100644 --- a/src/shared/architecture.c +++ b/src/shared/architecture.c @@ -116,6 +116,7 @@ Architecture uname_architecture(void) {

Re: [systemd-devel] [PATCH] arch: add crisv32

2014-07-03 Thread Umut Tezduyar Lindskog
Hi, On Thu, Jul 3, 2014 at 1:09 PM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 03.07.14 09:54, Umut Tezduyar Lindskog (umut.tezdu...@axis.com) wrote: --- src/shared/architecture.c |1 + 1 file changed, 1 insertion(+) diff --git a/src/shared/architecture.c b/src/shared

[systemd-devel] [PATCH] sd-path: add missing header

2014-07-03 Thread Umut Tezduyar Lindskog
--- src/libsystemd/sd-path/sd-path.c |1 + 1 file changed, 1 insertion(+) diff --git a/src/libsystemd/sd-path/sd-path.c b/src/libsystemd/sd-path/sd-path.c index 7ade915..360c854 100644 --- a/src/libsystemd/sd-path/sd-path.c +++ b/src/libsystemd/sd-path/sd-path.c @@ -22,6 +22,7 @@ #include

Re: [systemd-devel] systemd-hostnamed not shutting down when unused

2014-07-07 Thread Umut Tezduyar Lindskog
Poettering lenn...@poettering.net wrote: On Wed, 02.07.14 08:39, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: Hi, I am pretty sure at some point systemd-hostnamed was shutting itself down within 5 minutes of inactivity. It seems like we have lost this feature. Is the feature removed

[systemd-devel] [PATCH] coredump: display libdw fail string on stack trace fail

2014-07-08 Thread Umut Tezduyar Lindskog
- systemd[1]: hello.service: main process exited, code= \ dumped, status=3/QUIT - systemd-coredump[2541]: Failed to generate stack trac \ e: Unwinding not supported for this architecture - systemd-coredump[2541]: Process 1024 (hello) of user \ 154 dumped core. --- src/journal/coredump.c |

Re: [systemd-devel] [ANNOUNCE] systemd 215

2014-07-08 Thread Umut Tezduyar Lindskog
, Patrik Flykt, Ronan Le Martret, Ronny Chevalier, Ruediger Oertel, Steven Noonan, Susant Sahani, Thadeu Lima de Souza Cascardo, Thomas Hindoe Paaboel Andersen, Tom Gundersen, Tom Hirst, Umut Tezduyar Lindskog, Uoti Urpala, Zbigniew Jędrzejewski-Szmek

Re: [systemd-devel] systemd service start/stop conditions

2014-07-09 Thread Umut Tezduyar Lindskog
On Tue, Jul 8, 2014 at 1:00 PM, Mario Schuknecht mario.schukne...@dresearch-fe.de wrote: I have the following problem: There are 3 (or more) systemd targets. Each of the three targets starts a number of systemd services. It can be switched back and forth between the systemd targets. As a

[systemd-devel] Separate cpu cgroup parameters

2014-07-10 Thread Umut Tezduyar Lindskog
Hi, Even though cpu.shares and cpu.cfs_period_us/cfs_quota_us parameters are in the cpu cgroup, they can be turned off individually. Our kernel only enables cpu.shares property and due to that we see error messages. systemd[1]: Failed to set cpu.cfs_period_us on /system.slice/system-sshd.slice:

[systemd-devel] [PATCH] core: fix oneshot service resource control

2014-07-15 Thread Umut Tezduyar Lindskog
Oneshot services's cgroup is removed when the service exits. An assert is hit otherwise. --- src/core/manager.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/manager.c b/src/core/manager.c index 3dffbe2..d27a45f 100644 --- a/src/core/manager.c +++

[systemd-devel] [PATCH] core: don't complain if cgroup property is missing

2014-07-15 Thread Umut Tezduyar Lindskog
--- src/core/cgroup.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/cgroup.c b/src/core/cgroup.c index cd67963..ed5687d 100644 --- a/src/core/cgroup.c +++ b/src/core/cgroup.c @@ -303,12 +303,12 @@ void cgroup_context_apply(CGroupContext *c,

Re: [systemd-devel] [PATCH] core: fix oneshot service resource control

2014-07-15 Thread Umut Tezduyar Lindskog
On Tue, Jul 15, 2014 at 3:03 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Tue, Jul 15, 2014 at 08:36:29AM +0200, Umut Tezduyar Lindskog wrote: Oneshot services's cgroup is removed when the service exits. An assert is hit otherwise. --- src/core/manager.c |3 ++- 1 file

Re: [systemd-devel] [PATCH] journald: check if socket is in connected state before forwarding to syslog

2014-07-21 Thread Umut Tezduyar Lindskog
On Mon, Jul 21, 2014 at 1:04 PM, Piotr Wilczek p.wilc...@samsung.com wrote: On 07/11/2014 01:16 PM, Lennart Poettering wrote: On Fri, 11.07.14 13:02, Piotr Wilczek (p.wilc...@samsung.com) wrote: B) Now, as a shortcut we use the same sock actually, via sendto() to also pass data to

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

[systemd-devel] [PATCH] ldconfig: dont run it if ldconfig is not installed

2014-07-30 Thread Umut Tezduyar Lindskog
--- units/ldconfig.service |1 + 1 file changed, 1 insertion(+) diff --git a/units/ldconfig.service b/units/ldconfig.service index 43c145b..09a2b74 100644 --- a/units/ldconfig.service +++ b/units/ldconfig.service @@ -13,6 +13,7 @@ Conflicts=shutdown.target

Re: [systemd-devel] [PATCH] ldconfig: dont run it if ldconfig is not installed

2014-07-30 Thread Umut Tezduyar Lindskog
Hi, On Wed, Jul 30, 2014 at 9:23 AM, Andrey Borzenkov arvidj...@gmail.com wrote: On Wed, Jul 30, 2014 at 11:02 AM, Umut Tezduyar Lindskog umut.tezdu...@axis.com wrote: --- units/ldconfig.service |1 + 1 file changed, 1 insertion(+) diff --git a/units/ldconfig.service b/units

Re: [systemd-devel] [PATCH] ldconfig: dont run it if ldconfig is not installed

2014-08-04 Thread Umut Tezduyar Lindskog
On Mon, Aug 4, 2014 at 2:19 AM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 30.07.14 09:02, Umut Tezduyar Lindskog (umut.tezdu...@axis.com) wrote: --- units/ldconfig.service |1 + 1 file changed, 1 insertion(+) diff --git a/units/ldconfig.service b/units/ldconfig.service

[systemd-devel] [PATCH] ldconfig: add configure option to disable

2014-08-05 Thread Umut Tezduyar Lindskog
--- Makefile.am| 16 configure.ac |5 + units/ldconfig.service |1 - 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/Makefile.am b/Makefile.am index ce8f247..41d6bb8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -489,8 +489,7 @@

[systemd-devel] systemd-journald doesn't follow max datagram length when forwarding messages to syslog

2014-08-06 Thread Umut Tezduyar Lindskog
Hi, journald fails to forward messages to syslog when it is using Server-syslog_fd even before the limit of /proc/sys/net/unix/max_dgram_qlen is reached. For this experiment, 1) I have made sure /proc/sys/net/unix/max_dgram_qlen is set to before syslog.socket is created. 2) Replaced

Re: [systemd-devel] systemd-journald doesn't follow max datagram length when forwarding messages to syslog

2014-08-10 Thread Umut Tezduyar Lindskog
On Wed, Aug 6, 2014 at 9:08 PM, Umut Tezduyar Lindskog u...@tezduyar.com wrote: Hi, journald fails to forward messages to syslog when it is using Server-syslog_fd even before the limit of /proc/sys/net/unix/max_dgram_qlen is reached. For this experiment, 1) I have made sure /proc/sys/net

Re: [systemd-devel] systemd-journald doesn't follow max datagram length when forwarding messages to syslog

2014-08-13 Thread Umut Tezduyar Lindskog
On Wed, Aug 13, 2014 at 6:59 PM, Lennart Poettering lenn...@poettering.net wrote: On Sun, 10.08.14 21:07, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: The problem is due to sending socket's SO_SNDBUF limit. My guess at this point is the amount of messages you can queue to syslog socket

Re: [systemd-devel] [PATCH] core: don't complain if cgroup property is missing

2014-08-15 Thread Umut Tezduyar Lindskog
On Fri, Aug 15, 2014 at 2:45 AM, Lennart Poettering lenn...@poettering.net wrote: On Fri, 15.08.14 02:42, Lennart Poettering (lenn...@poettering.net) wrote: On Tue, 15.07.14 11:53, Umut Tezduyar Lindskog (umut.tezdu...@axis.com) wrote: Looks Ok, but doesn't apply to currently git anymore

[systemd-devel] [PATCH] journal-upload: fix service ordering

2014-08-21 Thread Umut Tezduyar Lindskog
[/usr/lib/systemd/system/systemd-journal-upload.service:20] Unknown lvalue 'After' in section 'Install' --- units/systemd-journal-upload.service.in |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/units/systemd-journal-upload.service.in

Re: [systemd-devel] kdbus: merge 3.17 branch into master?

2014-08-22 Thread Umut Tezduyar Lindskog
Hi, I am having __NR_memfd_create not defined error on mips on systemd 216. I wanted to see the syscall numbers in 3.17 RC1 to patch missing.h but couldn't find them. What am I missing? On Tue, Aug 19, 2014 at 4:24 PM, Daniel Mack dan...@zonque.org wrote: On 08/19/2014 04:21 PM, Greg KH wrote:

Re: [systemd-devel] kdbus: merge 3.17 branch into master?

2014-08-22 Thread Umut Tezduyar Lindskog
Hi, On Fri, Aug 22, 2014 at 3:47 PM, Daniel Mack dan...@zonque.org wrote: Hi, On 08/22/2014 03:26 PM, Umut Tezduyar Lindskog wrote: I am having __NR_memfd_create not defined error on mips on systemd 216. I wanted to see the syscall numbers in 3.17 RC1 to patch missing.h but couldn't find

[systemd-devel] Thank you!

2013-10-30 Thread Umut Tezduyar Lindskog
Hi systemd developers, I am very proud to inform that Axis Communications, market leader in IP video products, has been using systemd in variety of products. Our team has been actively involved in fixing bugs, implementing features and having discussions with you guys for the purpose of making

[systemd-devel] Adding an option to prefix date time when journal forwards messages to console

2013-11-11 Thread Umut Tezduyar Lindskog
Hi, We think being able to see the journal message timestamps on console is important. A locked up embedded system where we only have the output of console would be even more useful if we were to know when things went wrong. For this reason, we would like to ask: is it ok if we have such

Re: [systemd-devel] Adding an option to prefix date time when journal forwards messages to console

2013-11-12 Thread Umut Tezduyar Lindskog
-Original Message- From: Kay Sievers [mailto:k...@vrfy.org] Sent: den 11 november 2013 16:31 To: Umut Tezduyar Lindskog Cc: systemd-devel@lists.freedesktop.org Subject: Re: [systemd-devel] Adding an option to prefix date time when journal forwards messages to console On Mon

[systemd-devel] [PATCH] build: Allow disabling maintainer mode

2013-11-13 Thread Umut Tezduyar Lindskog
This allows make rules for generated build files (i.e. configure, Makefile.in, ... ) to be skipped. This is useful when the source is stored without timestamps (for example in CVS or GIT). When the build rules trigger to regenerate the build files, it tries to use the same autotools version

[systemd-devel] [PATCH] journal: timestamp support on console messages

2013-11-13 Thread Umut Tezduyar Lindskog
--- src/journal/journald-console.c | 33 ++--- 1 files changed, 30 insertions(+), 3 deletions(-) diff --git a/src/journal/journald-console.c b/src/journal/journald-console.c index be55f94..93e3241 100644 --- a/src/journal/journald-console.c +++

Re: [systemd-devel] [PATCH] journal: timestamp support on console messages

2013-11-13 Thread Umut Tezduyar Lindskog
Hi, Thanks for taking in the patch. Using _likely_ and economic size buffer are correct calls. -Original Message- From: Zbigniew Jędrzejewski-Szmek [mailto:zbys...@in.waw.pl] Sent: den 14 november 2013 05:28 To: Umut Tezduyar Lindskog Cc: systemd-devel@lists.freedesktop.org; Umut

[systemd-devel] dbus-daemon and kdbus running together

2013-11-24 Thread Umut Tezduyar Lindskog
Hi, If we needed to keep dbus-daemon but take advantages of kdbus, will we be able to run them together? To be able to fully compatible with kdbus and be ready to switch when time comes, what needs to be done? - Have kdbus support for glib applications (work is ongoing with the patch from

[systemd-devel] Thread level resource management

2013-11-24 Thread Umut Tezduyar Lindskog
Hi, How do we support thread level resource management with the new cgroup abstraction? Can we use scopes with task ids of threads? If so, what is the API to put the task id into its own scope unit? Thanks. ___ systemd-devel mailing list

[systemd-devel] Improving the results shown with systemd-analyze blame

2013-11-24 Thread Umut Tezduyar Lindskog
Hi, I think we can make the output of systemd-analyze blame more useful with cpu accounting information. The output of systemd-analyze blame is not making so much sense when lots of programs are tried to be started at the same time since it is not known which program actually uses the cpu at

[systemd-devel] systemd-networkd with 802.1x

2013-11-24 Thread Umut Tezduyar Lindskog
Hi, Are there any plans to support 802.1x by systemd-networkd? Thanks ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

  1   2   3   >