Re: [systemd-devel] systemd-networkd with 802.1x

2013-11-24 Thread Umut Tezduyar Lindskog
before sending a single IP package. Thanks. On Nov 24, 2013, at 4:33 PM, Tom Gundersen t...@jklm.no wrote: On Sun, Nov 24, 2013 at 2:27 PM, Umut Tezduyar Lindskog umut.tezdu...@axis.com wrote: Are there any plans to support 802.1x by systemd-networkd? To the best of my knowledge no one

Re: [systemd-devel] Thread level resource management

2013-11-25 Thread Umut Tezduyar Lindskog
Hi, On Nov 24, 2013, at 4:39 PM, Kay Sievers k...@vrfy.org wrote: On Sun, Nov 24, 2013 at 12:33 PM, Umut Tezduyar Lindskog umut.tezdu...@axis.com wrote: How do we support thread level resource management with the new cgroup abstraction? How do we do it in the process level then. Lets say

[systemd-devel] Optionally save core dumps as plain files

2013-11-28 Thread Umut Tezduyar Lindskog
Hi, I can’t find the last word on Oleksii’s coredump patch http://lists.freedesktop.org/archives/systemd-devel/2013-May/010991.html. Was there a decision about not taking it in? Thanks ___ systemd-devel mailing list

Re: [systemd-devel] Thread level resource management

2013-11-28 Thread Umut Tezduyar Lindskog
On Nov 25, 2013, at 6:59 PM, Kay Sievers k...@vrfy.org wrote: On Mon, Nov 25, 2013 at 5:28 PM, Umut Tezduyar Lindskog umut.tezdu...@axis.com wrote: On Nov 24, 2013, at 4:39 PM, Kay Sievers k...@vrfy.org wrote: On Sun, Nov 24, 2013 at 12:33 PM, Umut Tezduyar Lindskog umut.tezdu...@axis.com

Re: [systemd-devel] Thread level resource management

2013-11-29 Thread Umut Tezduyar Lindskog
Hi, Find my comments below please. On Nov 29, 2013, at 9:51 AM, David Timothy Strauss da...@davidstrauss.net wrote: On Fri, Nov 29, 2013 at 1:58 AM, Umut Tezduyar Lindskog umut.tezdu...@axis.com wrote: Can someone explain the process level management? Right now, it's possible to do

[systemd-devel] default dbus socket path being /run

2013-12-17 Thread Umut Tezduyar Lindskog
Hi, Now that dbus sockets are by default expected to be in /run by systemd; /var/run by other dbus libraries, we have to use env variables to tell one of them the correct socket path. Both systemd and glib (gio) are hardcoding the default dbus socket path and having an override with

[systemd-devel] symbolic link for systemd-stdio-bridge

2013-12-19 Thread Umut Tezduyar Lindskog
It is broken when bindir is /usr/bin and /lib is not symbolic link to /usr/lib. bus-proxyd-install-hook: $(AM_V_LN)$(LN_S) -f ../../lib/systemd/systemd-bus-proxyd $(DESTDIR)$(bindir)/systemd-stdio-bridge Maybe best to use full path. ___

[systemd-devel] .device units are not showing up on git systemd

2014-01-13 Thread Umut Tezduyar Lindskog
Hi, .device units stopped showing up for me in git systemd since somewhere around mid-december. I have noticed that udevd and even udevadm monitor receives the kernel events but systemd itself never receives them. Further debugging, I have found out device_dispatch_io() (src/core/device.c) is

Re: [systemd-devel] .device units are not showing up on git systemd

2014-01-14 Thread Umut Tezduyar Lindskog
13 januari 2014 14:38 To: Umut Tezduyar Lindskog Cc: systemd-devel@lists.freedesktop.org Subject: Re: [systemd-devel] .device units are not showing up on git systemd On Mon, Jan 13, 2014 at 10:37:58AM +0100, Umut Tezduyar Lindskog wrote: Hi, .device units stopped showing up for me in git

[systemd-devel] [PATCH] readme: CONFIG_FHANDLE is a requirement

2014-01-14 Thread Umut Tezduyar Lindskog
From: Umut Tezduyar Lindskog umu...@axis.com --- README |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/README b/README index a1058c5..6fcab4f 100644 --- a/README +++ b/README @@ -63,7 +63,7 @@ REQUIREMENTS: Some udev rules and virtualization detection relies

[systemd-devel] [PATCH] udev: ifname matches given mac

2014-01-15 Thread Umut Tezduyar Lindskog
This covers the case where NamePolicy has mac in it and MACAddress is given. Ex: NamePolicy=mac MACAddress=00:00:00:00:00:00 Interface name becomes [en|wl]x Also cleanup rtnl_set_link_properties --- src/libsystemd/rtnl-util.c | 16 ++---

Re: [systemd-devel] [PATCH] udev: ifname matches given mac

2014-01-15 Thread Umut Tezduyar Lindskog
Hi Tom, -Original Message- From: Tom Gundersen [mailto:t...@jklm.no] Sent: den 15 januari 2014 14:23 To: Umut Tezduyar Lindskog Cc: systemd Mailing List; Umut Tezduyar Lindskog Subject: Re: [systemd-devel] [PATCH] udev: ifname matches given mac Hi Umut, I'm not really

[systemd-devel] [PATCH] build: Skip .busname generator when kdbus is off

2014-01-17 Thread Umut Tezduyar Lindskog
--- Makefile.am |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/Makefile.am b/Makefile.am index 72da667..7886a81 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1744,6 +1744,7 @@ systemd_gpt_auto_generator_CFLAGS = \ endif #

[systemd-devel] Removed Requires=dbus.socket dependency

2014-01-17 Thread Umut Tezduyar Lindskog
Hi, ca76186598c56 (Jan 7) has removed the ability to stop all dbus services at once by executing systemctl stop dbus.socket. If that is intentional I can live with it but then we also need to change the man systemd.service and systemd.special as they still mention the dependency to

[systemd-devel] [PATCH] sd-dhcp-client: refactor state machine check

2014-01-20 Thread Umut Tezduyar Lindskog
--- src/libsystemd/sd-dhcp-client.c | 147 ++- 1 files changed, 36 insertions(+), 111 deletions(-) diff --git a/src/libsystemd/sd-dhcp-client.c b/src/libsystemd/sd-dhcp-client.c index a057852..3b7b9f4 100644 --- a/src/libsystemd/sd-dhcp-client.c +++

[systemd-devel] [PATCH] networkd: act on lease only if there is one

2014-02-17 Thread Umut Tezduyar Lindskog
Interface could go down before acquiring a dhcp lease --- src/network/networkd-link.c | 10 ++ 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c index d83c4ce..9aca1b6 100644 --- a/src/network/networkd-link.c +++

Re: [systemd-devel] [RFC] [PATCH 0/3] resume: implement support for resuming from hibernation

2014-08-27 Thread Umut Tezduyar Lindskog
Hi Ivan, Great job! I was wondering if a ./configure switch makes sense to disable it. Embedded devices won't be using it. Thanks On Sat, Aug 23, 2014 at 2:47 PM, Ivan Shapovalov intelfx...@gmail.com wrote: This patchset allows systemd to parse resume= kernel command line parameter and

Re: [systemd-devel] Socket based activation/deactivation

2014-08-27 Thread Umut Tezduyar Lindskog
On Wed, Aug 27, 2014 at 3:24 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Tue, Aug 26, 2014 at 08:49:29PM -0400, Gary Mort wrote: Socket based activation for systemd is a really cool feature for my dev system. Prior to using socket based activation, on my dev system I would

Re: [systemd-devel] [PATCH 3/3] systemd-journal-upload: fix invalid After=

2014-08-29 Thread Umut Tezduyar Lindskog
Hi, this is already in the backlog: http://lists.freedesktop.org/archives/systemd-devel/2014-August/022368.html Thanks anyways. On Thu, Aug 28, 2014 at 10:01 PM, Marius Tessmann mus@gmail.com wrote: After= belongs into [Unit], not [Install]. Found with systemd-analyze verify. ---

[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

[systemd-devel] Starting configurable set of services first

2014-09-02 Thread Umut Tezduyar Lindskog
Hi, I would like to start a configurable set of services first and the services are wanted by multi-user.target. I am using a service to jump to multi-user.target and I was wondering if we can support this use case natively by systemd. multi-user.target.wants A.service B.service C.service

[systemd-devel] [PATCH] build: configure option to disable hibernation

2014-09-02 Thread Umut Tezduyar Lindskog
--- Makefile.am | 52 configure.ac |6 ++ 2 files changed, 38 insertions(+), 20 deletions(-) diff --git a/Makefile.am b/Makefile.am index 1991fd0..58e5ce6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -378,15 +378,13 @@

Re: [systemd-devel] Forwarding to syslog missed XX messages

2014-09-15 Thread Umut Tezduyar Lindskog
On Mon, Sep 15, 2014 at 1:38 PM, David Herrmann dh.herrm...@gmail.com wrote: Hi On Mon, Sep 15, 2014 at 1:20 PM, Reindl Harald h.rei...@thelounge.net wrote: anybody an idea why? The syslog daemon couldn't keep up with reading the log-messages. You might wanna increase the syslog

Re: [systemd-devel] Forwarding to syslog missed XX messages

2014-09-15 Thread Umut Tezduyar Lindskog
On Mon, Sep 15, 2014 at 2:34 PM, Reindl Harald h.rei...@thelounge.net wrote: Am 15.09.2014 um 14:23 schrieb Umut Tezduyar Lindskog: On Mon, Sep 15, 2014 at 1:38 PM, David Herrmann dh.herrm...@gmail.com wrote: Hi On Mon, Sep 15, 2014 at 1:20 PM, Reindl Harald h.rei...@thelounge.net wrote

Re: [systemd-devel] [RFC 00/25] Compile against the musl libc

2014-09-19 Thread Umut Tezduyar Lindskog
Axis Communications is running fairly compact version of systemd with some properties disabled with --disable--xyz. Files are a bit over 10 mb on MIPS ISA (stripped of binaries and conf files). Top 10 large files are (in kb) 276 ./Root/usr/lib/systemd/systemd-udevd 280 ./Root/usr/bin/udevadm

Re: [systemd-devel] [RFC 18/25] sd-ipv4all: fall back to random if no random_r

2014-09-19 Thread Umut Tezduyar Lindskog
As Tom stated this is changing the behaviour. Maybe not when you only have 1 interface but if we are talking about multiple interfaces, then they will share common entropy. Umut On Thu, Sep 18, 2014 at 5:43 PM, Tom Gundersen t...@jklm.no wrote: No, this actually breaks the behaviour, so we

[systemd-devel] journal-upload returning error by default

2014-09-23 Thread Umut Tezduyar Lindskog
Hi, I am a bit confused about the service as it returns with error on systemd 216: ● systemd-journal-upload.service - Journal Remote Upload Service Loaded: loaded (/etc/systemd/system/systemd-journal-upload.service; enabled) Active: failed (Result: exit-code) since Sun 2006-10-01 06:34:59

Re: [systemd-devel] journal-upload returning error by default

2014-09-24 Thread Umut Tezduyar Lindskog
:56 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Tue, Sep 23, 2014 at 10:36:20AM +0200, Umut Tezduyar Lindskog wrote: Hi, I am a bit confused about the service as it returns with error on systemd 216: ● systemd-journal-upload.service - Journal Remote Upload Service Loaded

Re: [systemd-devel] Setting system wide environment variables

2014-09-24 Thread Umut Tezduyar Lindskog
Also DefaultEnvironment on system.conf (http://www.freedesktop.org/software/systemd/man/systemd-system.conf.html) On Wed, Sep 24, 2014 at 2:22 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Tue, Sep 23, 2014 at 11:08:42PM -0400, Amit Saha wrote: Hello, Is systemd.setenv on the

[systemd-devel] Race condition on systemd-run --scope

2014-09-29 Thread Umut Tezduyar Lindskog
Hi, I have stumbled on a race condition on systemd-run --scope command. Due to race condition, unit might show up as active/running even though there is no process in the cgroup. My best guess is we are missing the cgroup notification but when? - Could it be that before systemd processes

Re: [systemd-devel] systemd-journald watchdog timeout

2014-10-22 Thread Umut Tezduyar Lindskog
On Wed, Oct 22, 2014 at 4:59 PM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 22.10.14 13:10, Damien Robert (damien.olivier.robert+gm...@gmail.com) wrote: On one boot I got a watchdog timeout on systemd-journald: Oct 21 20:08:21 feanor systemd-journal[213]: Permanent journal is

Re: [systemd-devel] Race condition on systemd-run --scope

2014-10-24 Thread Umut Tezduyar Lindskog
, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: Hi, I have stumbled on a race condition on systemd-run --scope command. Due to race condition, unit might show up as active/running even though there is no process in the cgroup. Umut! At the hackfest in Düsseldorf you showed me an easy way

Re: [systemd-devel] systemd-journald watchdog timeout

2014-10-24 Thread Umut Tezduyar Lindskog
On Wed, Oct 22, 2014 at 6:41 PM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 22.10.14 18:35, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: That's difficult to say just from these logs. Can you reliably reproduce this? If so, can you attach strace to journald before

[systemd-devel] [PATCH] core: send sigabrt on watchdog timeout

2014-10-25 Thread Umut Tezduyar Lindskog
if sigabrt doesn't do the job, follow regular shutdown routine, sigterm sigkill. Umut: - I have done basic testing with suppressing sigabrt, suppressing both sigabrt sigterm on client application. - Documentation needs to be updated. I wasn't sure if we should mention it in KillMode,

Re: [systemd-devel] Starting configurable set of services first

2014-10-27 Thread Umut Tezduyar Lindskog
On Wed, Oct 22, 2014 at 7:44 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 02.09.14 10:06, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: Hi, I would like to start a configurable set of services first and the services are wanted by multi-user.target. I am using a service

[systemd-devel] [PATCHv2] core: send sigabrt on watchdog timeout to get the stacktrace

2014-10-28 Thread Umut Tezduyar Lindskog
if sigabrt doesn't do the job, follow regular shutdown routine, sigterm sigkill. Umut: - I have done basic testing with suppressing sigabrt, suppressing both sigabrt sigterm on client application. - Documentation needs to be updated. I wasn't sure if we should mention it in KillMode,

[systemd-devel] [PATCHv3] core: send sigabrt on watchdog timeout to get the stacktrace

2014-10-28 Thread Umut Tezduyar Lindskog
if sigabrt doesn't do the job, follow regular shutdown routine, sigterm sigkill. --- TODO| 2 -- man/systemd.service.xml | 5 +++-- src/core/busname.c | 2 +- src/core/mount.c| 3 ++- src/core/scope.c| 2 +- src/core/service.c | 37

[systemd-devel] [PATCH] man: explain journalctl --flush correctly

2014-10-29 Thread Umut Tezduyar Lindskog
--- NEWS | 4 man/journalctl.xml | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/NEWS b/NEWS index 82a1948..d8770a0 100644 --- a/NEWS +++ b/NEWS @@ -7,6 +7,10 @@ CHANGES WITH 217: show log timestamps in the UTC timezone. journalctl now also

Re: [systemd-devel] Race condition on systemd-run --scope

2014-11-04 Thread Umut Tezduyar Lindskog
Hi Lennart, Were you able to figure out the problem? You were suspecting that we might not be getting cgroup empty notifications from kernel. Umut On Fri, Oct 24, 2014 at 3:19 PM, Umut Tezduyar Lindskog u...@tezduyar.com wrote: Hi, Since you said you have covered my theories when you

[systemd-devel] Rationale for mirroring cpu and systemd cgroup subsystems

2014-11-05 Thread Umut Tezduyar Lindskog
Hi, What is the reasoning for not joining cpu subsystem with systemd subsystem? There are couple ways you can mirror [1] cpu and systemd subsystems and doing so can result completely different cpu bandwidth for processes. I am wondering why we don't mirror them by default. Not mirroring them

Re: [systemd-devel] Rationale for mirroring cpu and systemd cgroup subsystems

2014-11-05 Thread Umut Tezduyar Lindskog
On Wed, Nov 5, 2014 at 2:05 PM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 05.11.14 13:41, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: Hi, What is the reasoning for not joining cpu subsystem with systemd subsystem? There are couple ways you can mirror [1] cpu and systemd

Re: [systemd-devel] make systemd service takes cpu exclusively

2014-11-17 Thread Umut Tezduyar Lindskog
Hi XinX On Mon, Nov 17, 2014 at 9:40 AM, Cao, XinX xinx@intel.com wrote: Hi, everybody, As we all know that currently systemd puts all the services into a run_queue, and lets them run together as possible as it can. However, this mechanism also brings in a problem, which

[systemd-devel] Type=simple and BusName=

2014-11-19 Thread Umut Tezduyar Lindskog
Hi, Quote from man service: BusName= Takes a D-Bus bus name that this service is reachable as. This option is mandatory for services where Type= is set to dbus, but its use is otherwise recommended if the process takes a name on the D-Bus bus. Why it is recommended? If you have Type=simple and

Re: [systemd-devel] StartupCPUShares

2014-11-19 Thread Umut Tezduyar Lindskog
Hi XinX, On Wed, Nov 19, 2014 at 8:30 AM, Cao, XinX xinx@intel.com wrote: Hi, Umut, Days ago you told me “StartupCPUShares”, and I had a test of this option in my system. But it seems systemd on my system doesn’t know this item. And I got this message “Unknow lvalue

Re: [systemd-devel] [PATCH 2/2] networkd: integrate LLDP

2014-11-24 Thread Umut Tezduyar Lindskog
On Sunday, November 23, 2014, Susant Sahani sus...@redhat.com wrote: On 11/23/2014 09:33 PM, Umut Tezduyar Lindskog wrote: Hi, Hi Umut, On Sun, Nov 23, 2014 at 5:45 AM, Susant Sahani sus...@redhat.com wrote: This patch integrates LLDP with networkd. Example conf: file : lldp.network

Re: [systemd-devel] Service not restarting after Condition failed

2014-11-24 Thread Umut Tezduyar Lindskog
Hi On Monday, November 24, 2014, D.S. Ljungmark spi...@aanstoot.se wrote: On 10/11/14 23:09, Lennart Poettering wrote: On Thu, 30.10.14 18:47, D.S. Ljungmark (spi...@aanstoot.se javascript:;) wrote: Hi we have a service set to: ConditionFileNotEmpty= and Restart=Always

Re: [systemd-devel] systemd-cgroups-agent not working in containers

2014-11-27 Thread Umut Tezduyar Lindskog
Hi, On Wed, Nov 26, 2014 at 10:29 PM, Richard Weinberger rich...@nod.at wrote: Hi! I run a Linux container setup with openSUSE 13.1/2 as guest distro. After some time containers slow down. An investigation showed that the containers slow down because a lot of stale user sessions slow down

Re: [systemd-devel] Service not restarting after Condition failed

2014-11-30 Thread Umut Tezduyar Lindskog
On Tue, Nov 25, 2014 at 2:38 PM, D.S. Ljungmark spi...@aanstoot.se wrote: On 24/11/14 20:30, Umut Tezduyar Lindskog wrote: Hi On Monday, November 24, 2014, D.S. Ljungmark spi...@aanstoot.se mailto:spi...@aanstoot.se wrote: On 10/11/14 23:09, Lennart Poettering wrote: On Thu

[systemd-devel] [PATCH] man: BusName= is not optional for Type!=bus

2014-11-30 Thread Umut Tezduyar Lindskog
http://lists.freedesktop.org/archives/systemd-devel/2014-November/025492.html --- man/systemd.service.xml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/man/systemd.service.xml b/man/systemd.service.xml index e563b19..f99e4d5 100644 --- a/man/systemd.service.xml +++

[systemd-devel] forever loop during garbage collection

2014-11-30 Thread Umut Tezduyar Lindskog
Hi, We are experiencing an unbreakable loop in manager_dispatch_gc_queue. Problem happens when systemd runs in sysV compatibility mode (Porky enables this). Seems like manager_dispatch_gc_queue's while loop gets stuck and seems like unit_gc_sweep cannot make a decision about the unit. As a

Re: [systemd-devel] set rr scheduler failed with cpushares

2014-12-03 Thread Umut Tezduyar Lindskog
Hi, On Tue, Dec 2, 2014 at 7:12 PM, Lennart Poettering lenn...@poettering.net wrote: On Mon, 17.11.14 23:46, WaLyong Cho (walyong@samsung.com) wrote: Hello, I'd made two different services. One has *CPUSchedulingPolicy=rr* and the others has *CPUShares=*. Could anyone help me? If

Re: [systemd-devel] forever loop during garbage collection

2014-12-10 Thread Umut Tezduyar Lindskog
On Mon, Dec 8, 2014 at 8:09 PM, Lennart Poettering lenn...@poettering.net wrote: On Sun, 30.11.14 14:38, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: Hi, We are experiencing an unbreakable loop in manager_dispatch_gc_queue. Problem happens when systemd runs in sysV compatibility mode

[systemd-devel] Build error with 218 - undefined reference to `__start_BUS_ERROR_MAP'

2014-12-11 Thread Umut Tezduyar Lindskog
Trying to build 218 but I am getting undefined reference error. The source code of bus-error.c mentions that gcc magically maps these variables but not for me. What is doing the mapping? __attribute__ ((__section__(BUS_ERROR_MAP))) ? Could it be that mentioned gcc magic is not supported on cross

Re: [systemd-devel] Build error with 218 - undefined reference to `__start_BUS_ERROR_MAP'

2014-12-12 Thread Umut Tezduyar Lindskog
On Fri, Dec 12, 2014 at 12:24 AM, Lennart Poettering lenn...@poettering.net wrote: On Thu, 11.12.14 23:01, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: Trying to build 218 but I am getting undefined reference error. The source code of bus-error.c mentions that gcc magically maps

Re: [systemd-devel] Build error with 218 - undefined reference to `__start_BUS_ERROR_MAP'

2014-12-12 Thread Umut Tezduyar Lindskog
-axis-linux-gnu/lib:/build/target/mipsisa32r2el-axis-linux-gnu/usr/lib -o libnss_resolve.la -rpath /usr/lib src/nss-resolve/nss-resolve.lo libsystemd-shared.la libsystemd-internal.la -lrt -ldl On Fri, Dec 12, 2014 at 10:10 AM, Umut Tezduyar Lindskog u...@tezduyar.com wrote: On Fri, Dec 12, 2014

Re: [systemd-devel] Build error with 218 - undefined reference to `__start_BUS_ERROR_MAP'

2014-12-12 Thread Umut Tezduyar Lindskog
On Fri, Dec 12, 2014 at 4:46 PM, Lennart Poettering lenn...@poettering.net wrote: On Fri, 12.12.14 10:10, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: https://sourceware.org/bugzilla/show_bug.cgi?id=11133 But that's 4y old... Or is your toolchain that old? Shouldn't

Re: [systemd-devel] Build error with 218 - undefined reference to `__start_BUS_ERROR_MAP'

2014-12-16 Thread Umut Tezduyar Lindskog
For the reference, -flto option was preventing static linker from making the assignments. Could be very well something specific to our toolchain. On Fri, Dec 12, 2014 at 11:50 PM, Umut Tezduyar Lindskog u...@tezduyar.com wrote: On Fri, Dec 12, 2014 at 4:46 PM, Lennart Poettering lenn

Re: [systemd-devel] Improving module loading

2014-12-16 Thread Umut Tezduyar Lindskog
On Tue, Dec 16, 2014 at 4:59 PM, Tom Gundersen t...@jklm.no wrote: On Tue, Dec 16, 2014 at 4:54 PM, Umut Tezduyar Lindskog u...@tezduyar.com wrote: The other thought is, what is the preferred way of loading modules when they are needed. Rely on kernel autoloading. Not all modules support

[systemd-devel] [PATCH] path: follow symbolic link for parent path

2014-12-16 Thread Umut Tezduyar Lindskog
--- src/shared/path-util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/path-util.c b/src/shared/path-util.c index dcc8321..304281f 100644 --- a/src/shared/path-util.c +++ b/src/shared/path-util.c @@ -518,7 +518,7 @@ fallback: if (r 0)

Re: [systemd-devel] [PATCH] path: follow symbolic link for parent path

2014-12-17 Thread Umut Tezduyar Lindskog
= name_to_handle_at(AT_FDCWD, parent, h.handle, mount_id_parent, 0); +r = name_to_handle_at(AT_FDCWD, parent, h.handle, mount_id_parent, AT_SYMLINK_FOLLOW); Umut On Wed, Dec 17, 2014 at 3:20 AM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Tue, Dec 16, 2014 at 09:58:39PM +0100, Umut Tezduyar

[systemd-devel] name_to_handle_at() with UBIFS

2014-12-17 Thread Umut Tezduyar Lindskog
For the record: It is not enough to have CONFIG_FHANDLE to get the support for name_to_handle_with(). The FS also needs to support it and UBIFS doesn't have support for it at the moment. Umut ___ systemd-devel mailing list

Re: [systemd-devel] [PATCH] path: follow symbolic link for parent path

2014-12-17 Thread Umut Tezduyar Lindskog
On Wed, Dec 17, 2014 at 10:21 AM, Jóhann B. Guðmundsson johan...@gmail.com wrote: On 12/17/2014 02:20 AM, Zbigniew Jędrzejewski-Szmek wrote: On Tue, Dec 16, 2014 at 09:58:39PM +0100, Umut Tezduyar Lindskog wrote: --- src/shared/path-util.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [systemd-devel] name_to_handle_at() with UBIFS

2014-12-17 Thread Umut Tezduyar Lindskog
On Wed, Dec 17, 2014 at 7:54 PM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 17.12.14 10:45, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: For the record: It is not enough to have CONFIG_FHANDLE to get the support for name_to_handle_with(). The FS also needs to support

Re: [systemd-devel] HEADSUP: hwdb management split from udevadm

2014-12-18 Thread Umut Tezduyar Lindskog
Fantastic Tom! You were nice enough to group all the hwdb files in a section. Can I send a patch to wrap them with a ./configure option? The option should even include to make udevadm-hwdb.c, libudev-hwdb.c and udev-builtin-hwdb.c configurable. Umut On Thu, Dec 18, 2014 at 3:57 PM, Tom

Re: [systemd-devel] HEADSUP: hwdb management split from udevadm

2014-12-18 Thread Umut Tezduyar Lindskog
On Thu, Dec 18, 2014 at 9:57 PM, Tom Gundersen t...@jklm.no wrote: On Thu, Dec 18, 2014 at 9:11 PM, Umut Tezduyar Lindskog u...@tezduyar.com wrote: Can I send a patch to wrap them with a ./configure option? The option should even include to make udevadm-hwdb.c, libudev-hwdb.c and udev-builtin

[systemd-devel] [PATCH] build: add option to disable hwdb

2014-12-19 Thread Umut Tezduyar Lindskog
--- Makefile-man.am | 9 ++--- Makefile.am | 2 ++ configure.ac| 6 ++ 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/Makefile-man.am b/Makefile-man.am index 45b8238..c6506aa 100644 --- a/Makefile-man.am +++ b/Makefile-man.am @@ -14,7 +14,6 @@ MANPAGES += \

[systemd-devel] [PATCHv2] build: add option to disable hwdb

2014-12-19 Thread Umut Tezduyar Lindskog
Umut: I can't generate man list since I am cross compiling Please run make update-man-list and include changes on Makefile-man.am. I have updated the Makefile-man.am manually on v1, even though very first that file says DO NOT EDIT IT. --- Makefile.am | 2 ++ configure.ac | 6 ++ 2 files

Re: [systemd-devel] [PATCH] build: add option to disable hwdb

2014-12-19 Thread Umut Tezduyar Lindskog
, Umut Tezduyar Lindskog umut.tezdu...@axis.com wrote: --- Makefile-man.am | 9 ++--- Makefile.am | 2 ++ configure.ac| 6 ++ 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/Makefile-man.am b/Makefile-man.am index 45b8238..c6506aa 100644 --- a/Makefile-man.am

Re: [systemd-devel] Improving module loading

2014-12-20 Thread Umut Tezduyar Lindskog
On Sat, Dec 20, 2014 at 6:10 PM, Greg KH gre...@linuxfoundation.org wrote: On Sat, Dec 20, 2014 at 10:45:34AM +, Hoyer, Marko (ADITG/SW2) wrote: Hi, -Original Message- From: systemd-devel [mailto:systemd-devel- boun...@lists.freedesktop.org] On Behalf Of Umut Tezduyar Lindskog

Re: [systemd-devel] Improving module loading

2014-12-20 Thread Umut Tezduyar Lindskog
Hi Marko, Thank you very much for your feedback! On Sat, Dec 20, 2014 at 11:45 AM, Hoyer, Marko (ADITG/SW2) mho...@de.adit-jv.com wrote: Hi, -Original Message- From: systemd-devel [mailto:systemd-devel- boun...@lists.freedesktop.org] On Behalf Of Umut Tezduyar Lindskog Sent

Re: [systemd-devel] forever loop during garbage collection

2014-12-29 Thread Umut Tezduyar Lindskog
Ping? On Wednesday, December 10, 2014, Umut Tezduyar Lindskog u...@tezduyar.com wrote: On Mon, Dec 8, 2014 at 8:09 PM, Lennart Poettering lenn...@poettering.net javascript:; wrote: On Sun, 30.11.14 14:38, Umut Tezduyar Lindskog (u...@tezduyar.com javascript:;) wrote: Hi, We

[systemd-devel] Relative links in tmpfiles.d/etc.conf

2015-01-03 Thread Umut Tezduyar Lindskog
Hi, Our /etc is a sym link and due to that all the links created by tmpfiles.d/etc.conf are wrong. Is there a reason why the links are relative? I would like to send a patch to either: a) Convert the relative links to absolute ones. b) Follow the sym link before creating the relative one. Umut

[systemd-devel] ConditionNeedsUpdate date comparison

2015-01-26 Thread Umut Tezduyar Lindskog
Hi, condition_test_needs_update() wants the timestamp of /usr to be newer than what is being checked. Is there a reason why we don't check for /usr != Condition.parameter? It makes sense to check for /usr Condition.parameter in a package managed linux but our embedded system is upgrading the

[systemd-devel] [PATCH] sysctl: consider --prefix while parsing the files

2015-02-04 Thread Umut Tezduyar Lindskog
not while applying the parsed sysctl values. Otherwise info Overwriting earlier assignment of %s in file %s is visible many times even though the given --prefix doesn't try to set the overridden value. --- src/sysctl/sysctl.c | 34 ++ 1 file changed, 18

[systemd-devel] [PATCHv3] sysctl: consider --prefix while parsing the files

2015-02-07 Thread Umut Tezduyar Lindskog
not while applying the parsed sysctl values. Otherwise info Overwriting earlier assignment of %s in file %s is visible many times even though the given --prefix doesn't try to set the overridden value. This also optimizes the startup tiny bit since we have udev rules running on network devices

[systemd-devel] [PATCHv2] sysctl: consider --prefix while parsing the files

2015-02-04 Thread Umut Tezduyar Lindskog
not while applying the parsed sysctl values. Otherwise info Overwriting earlier assignment of %s in file %s is visible many times even though the given --prefix doesn't try to set the overridden value. --- src/sysctl/sysctl.c | 32 1 file changed, 16

Re: [systemd-devel] [PATCHv2] sysctl: consider --prefix while parsing the files

2015-02-05 Thread Umut Tezduyar Lindskog
On Wed, Feb 4, 2015 at 4:55 PM, Zbigniew Jędrzejewski-Szmek zbys...@in.waw.pl wrote: On Wed, Feb 04, 2015 at 03:50:01PM +0100, Umut Tezduyar Lindskog wrote: not while applying the parsed sysctl values. Otherwise info Overwriting earlier assignment of %s in file %s is visible many times even

[systemd-devel] Fwd: [systemd-commits] Makefile.am src/bus-proxyd units/.gitignore units/systemd-bus-proxyd.service.m4.in units/systemd-bus-pro...@.service.m4.in units/systemd-bus-proxyd.socket units/

2015-01-17 Thread Umut Tezduyar Lindskog
Hi David, Have you done any experiment in terms of the number of connections can be made on 32 bit arch with bus proxy being multi-threaded instead of multi-processed? Umut -- Forwarded message -- From: David Herrmann dvd...@kemper.freedesktop.org Date: Sat, Jan 17, 2015 at

Re: [systemd-devel] [PATCH] journald: Introduce RFC 5424 syslog

2015-02-19 Thread Umut Tezduyar Lindskog
Hi Susant, On Thu, Feb 19, 2015 at 8:58 AM, Susant Sahani sus...@redhat.com wrote: This patch adds support for RFC 5424 syslog format to journald. Journald can now forward logs to a multicast UDP group. RFC 5424 format: PRIVERSION SP TIMESTAMP SP HOSTNAME SP APP-NAME SP PROCID SP MSGID SP

Re: [systemd-devel] [PATCH] build-sys: add configure option to disable LTO/gold

2015-02-19 Thread Umut Tezduyar Lindskog
For the reference, LTO doesn't work with systemd 218 on mips: http://lists.freedesktop.org/archives/systemd-devel/2014-December/026326.html On Wed, Feb 18, 2015 at 7:45 PM, Cristian Rodríguez crrodrig...@opensuse.org wrote: LTO may be unreliable, does not work properly in several archs It may

[systemd-devel] [PATCH] core: downgrade unit type not supported message

2015-02-20 Thread Umut Tezduyar Lindskog
Otherwise every daemon reload prints out warnings like: systemd[1]: Unit type .busname is not supported on this system. systemd[1]: Unit type .swap is not supported on this system. --- src/core/manager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/manager.c

Re: [systemd-devel] ConditionNeedsUpdate date comparison

2015-01-27 Thread Umut Tezduyar Lindskog
Hi, On Tue, Jan 27, 2015 at 1:35 AM, Lennart Poettering lenn...@poettering.net wrote: On Mon, 26.01.15 14:00, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: Hi, condition_test_needs_update() wants the timestamp of /usr to be newer than what is being checked. Is there a reason why we

[systemd-devel] bootloader time on a non-EFI bootloader

2015-03-16 Thread Umut Tezduyar Lindskog
Hi, I would like to pass the time it was spent in bootloader to systemd. Is there a kernel command line to pass this information on non EFI bootloader? Or is there an another way? Umut ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org

Re: [systemd-devel] [PATCH] build: generate pkg-config files during configure

2015-03-12 Thread Umut Tezduyar Lindskog
this problem too. Thanks! On Thu, Mar 12, 2015 at 8:27 AM, Jeff Waugh j...@bethesignal.org wrote: On Thu, Mar 12, 2015 at 6:16 PM, Umut Tezduyar Lindskog u...@tezduyar.com wrote: What does this fix Jeff, could you please explain? Here's the relevant part of a pkg-config file produced during

Re: [systemd-devel] journald on embedded systems

2015-03-13 Thread Umut Tezduyar Lindskog
Getting inspiration from what you are proposing, you can already forward messages to a datagram socket (syslog). You could implement a program to empty out the datagram socket and only write the messages you want. Syslog format doesnt know anything about FIELD though. One down side of this

[systemd-devel] [PATCH] cgtop: fix assert when not on tty

2015-03-11 Thread Umut Tezduyar Lindskog
systemd-cgtop --dept=1 -b -n 10 -d 0.1 | cat Assertion 'new_length = 3' failed at src/shared/util.c:3 \ 595, function ellipsize_mem(). Aborting. Aborted (core dumped) --- src/cgtop/cgtop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cgtop/cgtop.c b/src/cgtop/cgtop.c

Re: [systemd-devel] [PATCH] build: generate pkg-config files during configure

2015-03-12 Thread Umut Tezduyar Lindskog
What does this fix Jeff, could you please explain? On Tue, Mar 10, 2015 at 7:04 PM, Jeff Waugh j...@bethesignal.org wrote: Generate pkg-config files during configure as God (Havoc) intended. This fixes all of systemd's pkg-config files when cross-compiling (and possibly other use cases).

Re: [systemd-devel] Service watchdog feature in state ACTIVATING ?

2015-03-02 Thread Umut Tezduyar Lindskog
Hi Marko, On Sunday, March 1, 2015, Hoyer, Marko (ADITG/SW2) mho...@de.adit-jv.com wrote: Hi, I ran into a use case where the activation phase of a service takes significantly longer than the desired watchdog period (Activating: 10-20secs, Watchdog: 1-5secs). I found out that the watchdog

Re: [systemd-devel] Cleaning up transient scopes

2015-03-05 Thread Umut Tezduyar Lindskog
On Thu, Mar 5, 2015 at 12:00 AM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 04.03.15 18:51, Alexander Larsson (al...@redhat.com) wrote: If i run a transient scope on the user systemd instance like: $ systemd-run --user --scope true Then the scope seems to live past the end of

[systemd-devel] how to nest slices under system.slice

2015-03-05 Thread Umut Tezduyar Lindskog
Hi, How do I add a slice that is inside the system.slice? Following slice gets nested to -.slice where I want to nest it inside system.slice (just like instantaneous service slices). hello.slice [Unit] Description=hello slice I tried following which produced the correct output with systemctl

Re: [systemd-devel] Support for staged startup

2015-01-30 Thread Umut Tezduyar Lindskog
Hi, What you have figured out is so far the only way if you want to have dynamic targets. If you do not use --no-block to start your second target, first target will never finish. Other caveat of your way is that systemd doesn't know about your final target until it receives systemctl start

Re: [systemd-devel] [RFC] core: introduce ExitOnIdle= and ExitOnIdleSec=

2015-04-21 Thread Umut Tezduyar Lindskog
My two cents is feature can be implemented as long as we get support from the application. For example sd-event has the builtin support to quit when it is idle. Systemd can pass the exit-on-idle timeout to the application via env variables so the event loop can configure itself to quit. I am not

[systemd-devel] 628c89cc (tentative devices) + disk/by-label udev rule

2015-04-23 Thread Umut Tezduyar Lindskog
It is not uncommon that file systems have the same volume label, especially on flash drives. disk/by-label udev rule in 60-persistent-storage.rules generates a symb link to the device. 2 devices might have the same label link if they have same label. After 628c89cc, this becomes very visible with

Re: [systemd-devel] sd-bus vs gdbus on dbus-daemon

2015-04-30 Thread Umut Tezduyar Lindskog
Hi Greg, On Wed, Apr 29, 2015 at 5:49 PM, Greg KH gre...@linuxfoundation.org wrote: On Wed, Apr 29, 2015 at 04:08:50PM +0200, Umut Tezduyar Lindskog wrote: Hi, We [1] have noticed that there could be up to %50 performance gain on using sd-bus over gdbus on dbus-daemon. For this reason, we

Re: [systemd-devel] sd-bus vs gdbus on dbus-daemon

2015-05-01 Thread Umut Tezduyar Lindskog
On Thu, Apr 30, 2015 at 11:13 AM, Umut Tezduyar Lindskog u...@tezduyar.com wrote: Hi Simon, On Wed, Apr 29, 2015 at 5:34 PM, Simon McVittie simon.mcvit...@collabora.co.uk wrote: On 29/04/15 15:08, Umut Tezduyar Lindskog wrote: We [1] have noticed that there could be up to %50 performance

[systemd-devel] sd-bus vs gdbus on dbus-daemon

2015-04-29 Thread Umut Tezduyar Lindskog
Hi, We [1] have noticed that there could be up to %50 performance gain on using sd-bus over gdbus on dbus-daemon. For this reason, we have high interest in using sd-bus. What are the plans in terms of making sd-bus API public? Details of the test [2]: gdbus.c - g_dbus_proxy_new_for_bus_sync()

[systemd-devel] tentative state and unmount on mapper

2015-05-18 Thread Umut Tezduyar Lindskog
Hi, There have been few discussions about tentative state and unmounting and I am experiencing different problem in the same device logic. I am at 219 + 628c89cc + 496068a8 + 5259bcf6 I have 2 mounts (one is bind mount) on mapper device. /proc/self/mountinfo: 47 37 254:0 /

Re: [systemd-devel] tentative state and unmount on mapper

2015-05-19 Thread Umut Tezduyar Lindskog
On Mon, May 18, 2015 at 11:02 PM, Lennart Poettering lenn...@poettering.net wrote: On Mon, 18.05.15 15:59, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: Hi, There have been few discussions about tentative state and unmounting and I am experiencing different problem in the same device

Re: [systemd-devel] [PATCH v3] device: Fix overzealous unmounting of tentative device mounts

2015-05-19 Thread Umut Tezduyar Lindskog
On Tue, May 19, 2015 at 1:56 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 19.05.15 10:23, Martin Pitt (martin.p...@ubuntu.com) wrote: Hello all, I have a better fix now. So the problem is that this tentative → dead transition only works if a device is referenced once, but

<    1   2   3   >