[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

[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] [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 b/units/systemd-journal-upload.service

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 wrote: > On 08/19/2014 04:21 PM, Greg KH wrote: >> On Tue, Aug 19

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 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 b

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 wrote: > This patchset allows systemd to parse resume= kernel command line parameter > and initiate resume from the

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 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 >> have 2 ch

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 wrote: > After= belongs into [Unit], not [Install]. Found with systemd-analyze > verify. > --- > units/systemd-journal

[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 wrote: > Thanks. I will take a look at it. > >> On Aug 30, 2014, at 3:08 PM, Jan Janssen wrote: >> >> Hi, >> >> on my system, test-ipv4ll wait

[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 @@ rootlibexec_P

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 wrote: > Hi > > On Mon, Sep 15, 2014 at 1:20 PM, Reindl Harald wrote: >> anybody an idea why? > > The syslog daemon couldn't keep up with reading the log-messages. You > might wanna increase the syslog receive-queue in your syslog daemon or > make s

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 wrote: > > > Am 15.09.2014 um 14:23 schrieb Umut Tezduyar Lindskog: >> On Mon, Sep 15, 2014 at 1:38 PM, David Herrmann >> wrote: >>> Hi >>> >>> On Mon, Sep 15, 2014 at 1:20 PM, Reindl Harald >>

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 2

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 wrote: > No, this actually breaks the behaviour, so we absolutely canno

[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 G

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

2014-09-24 Thread Umut Tezduyar Lindskog
4, 2014 at 2:56 PM, Zbigniew Jędrzejewski-Szmek 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.ser

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 wrote: > On Tue, Sep 23, 2014 at 11:08:42PM -0400, Amit Saha wrote: >> Hello, >> >> Is systemd.setenv on the kernel comman

[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 StartTr

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 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 using >> 68.7

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

2014-10-24 Thread Umut Tezduyar Lindskog
-27945.scope - /bin/true Loaded: loaded (/run/systemd/system/run-27945.scope; static) Drop-In: /run/systemd/system/run-27945.scope.d └─50-Description.conf Active: active (running) since Fri 2014-10-24 13:13:26 GMT; 15s ago On Fri, Oct 24, 2014 at 1:40 AM, Lennart Poettering wrot

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 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

[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, KillSig

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 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

[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, KillSig

[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 wrote: > Hi, > > Since you said you have covered my theories when you implemented,

[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

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 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 way

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 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 means all the

[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 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 StartupCPUShare

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

2014-11-24 Thread Umut Tezduyar Lindskog
On Sunday, November 23, 2014, Susant Sahani 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 wrote: >> >>> This patch integrates LLDP with n

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 wrote: > On 10/11/14 23:09, Lennart Poettering wrote: > > On Thu, 30.10.14 18:47, D.S. Ljungmark (spi...@aanstoot.se > ) 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 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 almost all

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 wrote: > On 24/11/14 20:30, Umut Tezduyar Lindskog wrote: >> Hi >> >> On Monday, November 24, 2014, D.S. Ljungmark > <mailto:spi...@aanstoot.se>> wrote: >> >> On 10/11/14 23:09, Lennart Poetterin

[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 +++ b/man/s

[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 result

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 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 CPUShare

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 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

[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 cr

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

2014-12-12 Thread Umut Tezduyar Lindskog
Hi, On Fri, Dec 12, 2014 at 7:56 AM, Matthias Urlichs wrote: > Hi, > > Lennart: >> >> The idea is that any .c file linked into a binary can define >> additional maps, and we collect them all simply by iterating through >> __start_BUS_ERROR_MAP to __stop_BUS_ERROR_MAP. >> > Unless there are none o

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 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 thes

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 wrote: > On Fri, Dec 12, 2014 at 12:24

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 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

[systemd-devel] [PATCH] build: print conditions of ldconfig, hibernate configs

2014-12-15 Thread Umut Tezduyar Lindskog
--- configure.ac | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure.ac b/configure.ac index 90aa3cc..76d2119 100644 --- a/configure.ac +++ b/configure.ac @@ -1442,6 +1442,8 @@ AC_MSG_RESULT([ SysV compatibility: ${SYSTEM_SYSV_COMPAT} compatibility libraries: ${h

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 wrote: > On Fri, Dec 12, 2014 at 4:46 PM, Lennart Poettering > wrote: >> On Fri,

[systemd-devel] Improving module loading

2014-12-16 Thread Umut Tezduyar Lindskog
Hi, Is there a reason why systemd-modules-load is loading modules sequentially? Few things can happen simultaneously like resolving the symbols etc. Seems like modules_mutex is common on module loads which gets locked up on few occasions throughout the execution of sys_init_module. The other thou

Re: [systemd-devel] Improving module loading

2014-12-16 Thread Umut Tezduyar Lindskog
On Tue, Dec 16, 2014 at 4:59 PM, Tom Gundersen wrote: > On Tue, Dec 16, 2014 at 4:54 PM, Umut Tezduyar Lindskog > 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 wrote: > On Tue, Dec 16, 2014 at 09:58:39PM +0100, Umut Tezd

[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 systemd-devel@lists.freedeskto

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" 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/pat

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 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

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 Gundersen

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 wrote: > On Thu, Dec 18, 2014 at 9:11 PM, Umut Tezduyar Lindskog > 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-bui

[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 file

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

2014-12-19 Thread Umut Tezduyar Lindskog
e: *** No rule to make target 'man/systemd-hwdb.xml', needed by >>> 'man/systemd-hwdb.8'. Stop. >>> >>> Care to take a look? >>> >>> Cheers, >>> >>> Tom >>> >>> On Fri, Dec 19, 2014 at 11:47 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 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

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) wrote: > Hi, > >> -Original Message- >> From: systemd-devel [mailto:systemd-devel- >> boun...@lists.freedesktop.org] On Behalf Of Umut Tezduyar Lindskog &g

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

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

[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 @@ -3

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: pre

[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 w

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: impleme

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: i

[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 w

[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 +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-stdio-

[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 @@ Arc

[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

[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 .netwo

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: [syst

[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 ++ src/shared/ne

[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 wrote: > On Thu, Mar 20, 2014 at 6:52 PM, Tom Gundersen wrote: >> On Wed, Mar 19, 2014 at 2:36 PM, Umut Tezduyar Lindskog >> 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 wrote: > On Wed, Mar 19, 2014 at 2:09 PM, Tom Gundersen wrote: >> On Wed, Mar 19, 2014 at 1:25 PM, poma wrote: >>> Still the same issue, DHCPC starts too early, before the correct MAC >>> address is set for the bridge. >>> >>> git 7bf2f4397255bc8f6c

[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 ++ src/shared/net-ut

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 wrote: > On Thu, Mar 20, 2014 at 7:53 PM, Brandon Philips wrote: >> This is a better approach that was suggested by Mike and ack'd by Tom. >> >> Some DHCP servers gives you a n

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

2014-03-21 Thread Umut Tezduyar Lindskog
On Fri, Mar 21, 2014 at 7:02 PM, Tom Gundersen wrote: > On Fri, Mar 21, 2014 at 9:57 AM, Patrik Flykt > wrote: >> On Thu, 2014-03-20 at 20:29 +0100, Tom Gundersen wrote: >>> My proposal is: >>> >>> Whenever the MAC address changes under us networkd calls >>> sd_{dhcp_client,ipv4ll}_set_mac(), and

[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 +++ b/src/libs

[systemd-devel] [RFC] networkd: smooth transition from ipv4ll to dhcp address

2014-03-30 Thread Umut Tezduyar Lindskog
Currently when both ipv4ll and dhcp are enabled, ipv4ll address (if one has been claimed) is removed when dhcp address is aquired. This patch provides a smooth transition between ipv4ll and dhcp. If ipv4ll address was claimed before dhcp, address is marked as deprecated. Deprecated address is stil

[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 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 After=network.targe

[systemd-devel] [PATCH] networkd: smooth transition from ipv4ll to dhcp address

2014-04-02 Thread Umut Tezduyar Lindskog
Currently when both ipv4ll and dhcp are enabled, ipv4ll address (if one has been claimed) is removed when dhcp address is aquired. This is not the best thing to do since there might be clients unaware of the removal trying to communicate. This patch provides a smooth transition between ipv4ll and

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 wrote: > This patch enables basic ipip tunnel support. > It works with kernel module ipip > > Example configuration > > file: ipip.netdev > -- > [NetDev] > Name=ipip-tun > Kind=ipip > >

[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 sd_bus_

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

2014-04-10 Thread Umut Tezduyar Lindskog
From: Umut Tezduyar Lindskog --- 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/sd-dhcp

[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 +- src/libsystemd-network/t

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 wrote: > From: Umut Tezduyar Lindskog > > --- > src/libsystemd-network/sd-dhcp-

[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 --- a/s

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 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 Linds

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

2014-04-13 Thread Umut Tezduyar Lindskog
Hi, On Sat, Apr 12, 2014 at 10:46 PM, Zbigniew Jędrzejewski-Szmek wrote: > On Sat, Apr 12, 2014 at 09:59:52PM +0200, Tom Gundersen wrote: >> On Sat, Apr 12, 2014 at 7:26 PM, Zbigniew Jędrzejewski-Szmek >> wrote: >> > On Sat, Apr 12, 2014 at 01:19:48PM +0200, Umut

<    1   2   3   >