Re: [systemd-devel] [PATCH v2 5/5] mount: auto-detect iSCSI and FCoE as requiring network

2014-12-10 Thread Karel Zak
On Wed, Dec 10, 2014 at 01:53:09AM +0100, Lennart Poettering wrote: On Tue, 09.12.14 12:30, Karel Zak (k...@redhat.com) wrote: On Mon, Dec 08, 2014 at 08:10:08PM +0100, Lennart Poettering wrote: Any idea when you intend to realease this new API in a release or even in a stable one?

[systemd-devel] [PATCH] virt: fix container detection when we're not PID 1

2014-12-10 Thread Jan Synacek
systemd-detect-virt would print none when using nspawn to run a shell inside a container and then running systemd-detect-virt in it, because the shell would be PID 1, not the actuall systemd-detect-virt process. --- src/shared/virt.c | 19 ++- 1 file changed, 6 insertions(+), 13

Re: [systemd-devel] [PATCH] test: fix some tests when running inside a container

2014-12-10 Thread Jan Synacek
Jan Synacek jsyna...@redhat.com writes: --- src/test/test-execute.c | 2 +- src/test/test-util.c| 3 --- test/udev-test.pl | 8 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/test/test-util.c b/src/test/test-util.c index 20e711d..c055955 100644 ---

Re: [systemd-devel] multi-user.target only wants network.service if I'm doing 'systemct show runlevel3.target'

2014-12-10 Thread Francis Moreau
Hello, On 12/10/2014 07:23 AM, Ivan Shapovalov wrote: On Tuesday 09 December 2014 at 17:25:48, Francis Moreau wrote: Hello Lennart, Thanks for answering ! On 12/09/2014 02:10 PM, Lennart Poettering wrote: On Tue, 09.12.14 11:19, Francis Moreau (francis.m...@gmail.com) wrote:

[systemd-devel] [PATCH v2] test: fix some tests when running inside a container

2014-12-10 Thread Jan Synacek
--- v2: * don't remove the assert, run in if not in a container src/test/test-execute.c | 2 +- src/test/test-util.c| 4 +++- test/udev-test.pl | 8 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/test/test-execute.c b/src/test/test-execute.c index

[systemd-devel] [PATCH] test: fix some tests when running inside a container

2014-12-10 Thread Jan Synacek
--- src/test/test-execute.c | 2 +- src/test/test-util.c| 3 --- test/udev-test.pl | 8 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/test/test-execute.c b/src/test/test-execute.c index 85deb27..60466f0 100644 --- a/src/test/test-execute.c +++

[systemd-devel] when is a service ready to be used after startup?

2014-12-10 Thread Olaf Hering
I wonder how systemd handles the startup time of a daemon once it did the execve (or whatever systemd does internally). Every daemon needs some time until it can service requests. In the following example a socket is provided, a daemon handles the socket and another tool will use the socket.

Re: [systemd-devel] [PATCH v7] run: introduce timer support option

2014-12-10 Thread Lennart Poettering
On Wed, 10.12.14 16:01, WaLyong Cho (walyong@samsung.com) wrote: On 12/10/2014 02:25 AM, Lennart Poettering wrote: On Tue, 09.12.14 16:07, WaLyong Cho (walyong@samsung.com) wrote: Support timer options --on-active=, --on-boot=, --on-startup=, --on-unit-active=,

Re: [systemd-devel] serialization bug, swap bug, etc.

2014-12-10 Thread Lennart Poettering
On Wed, 10.12.14 09:10, Mantas Mikulėnas (graw...@gmail.com) wrote: On Thu, Nov 20, 2014 at 9:13 AM, Mantas Mikulėnas graw...@gmail.com wrote: ~ I'm also getting this on every reload: systemd[1]: [/usr/lib/systemd/system/systemd-journald.service:24] Failed to parse capability in

Re: [systemd-devel] [PATCH] virt: fix container detection when we're not PID 1

2014-12-10 Thread Lennart Poettering
On Wed, 10.12.14 09:21, Jan Synacek (jsyna...@redhat.com) wrote: systemd-detect-virt would print none when using nspawn to run a shell inside a container and then running systemd-detect-virt in it, because the shell would be PID 1, not the actuall systemd-detect-virt process. So, previously

Re: [systemd-devel] when is a service ready to be used after startup?

2014-12-10 Thread Mantas Mikulėnas
On Wed, Dec 10, 2014 at 11:32 AM, Olaf Hering o...@aepfle.de wrote: I wonder how systemd handles the startup time of a daemon once it did the execve (or whatever systemd does internally). Every daemon needs some time until it can service requests. It depends. * With regular services,

Re: [systemd-devel] /usr vs /etc for default distro units enablement

2014-12-10 Thread Didier Roche
Le 05/12/2014 16:42, Lennart Poettering a écrit : On Fri, 05.12.14 16:02, Didier Roche (didro...@ubuntu.com) wrote: This would also only fix the newly installed case, not the upgrade with new distro defaults or various purge vs remove ones. That's why I think some kind of previous state db

Re: [systemd-devel] [PATCH v2] test: fix some tests when running inside a container

2014-12-10 Thread Lennart Poettering
On Wed, 10.12.14 10:20, Jan Synacek (jsyna...@redhat.com) wrote: Applied! Thanks! --- v2: * don't remove the assert, run in if not in a container src/test/test-execute.c | 2 +- src/test/test-util.c| 4 +++- test/udev-test.pl | 8 3 files changed, 12 insertions(+),

Re: [systemd-devel] [PATCH] virt: fix container detection when we're not PID 1

2014-12-10 Thread Jan Synacek
Lennart Poettering lenn...@poettering.net writes: On Wed, 10.12.14 09:21, Jan Synacek (jsyna...@redhat.com) wrote: systemd-detect-virt would print none when using nspawn to run a shell inside a container and then running systemd-detect-virt in it, because the shell would be PID 1, not the

Re: [systemd-devel] [PATCH] virt: fix container detection when we're not PID 1

2014-12-10 Thread Zbigniew Jędrzejewski-Szmek
On Wed, Dec 10, 2014 at 01:52:08PM +0100, Jan Synacek wrote: Lennart Poettering lenn...@poettering.net writes: On Wed, 10.12.14 09:21, Jan Synacek (jsyna...@redhat.com) wrote: systemd-detect-virt would print none when using nspawn to run a shell inside a container and then running

[systemd-devel] [PATCH 2/6] sd-dhcp6-lease: Return only -EINVAL when a NULL lease is supplied

2014-12-10 Thread Patrik Flykt
Suppyling a NULL lease is not a condition that needs to be asserted, returning -EINVAL is informative enough to the caller. This simplifies calling code and doesn't falsely indicate that something erroneous was attempted. --- src/libsystemd-network/sd-dhcp6-lease.c | 4 +++- 1 file changed, 3

[systemd-devel] [PATCH 4/6] test-dhcp6-client: Add a simple Information Request test case

2014-12-10 Thread Patrik Flykt
Start the DHCPv6 test case by sending an Information Request, verifying the reply and continuing at once with the normal address acquisition procedure. Reuse the DHCPv6 Solicit Reply so that the client code is verified to ignore any erroneously added IPv6 address information. ---

[systemd-devel] [PATCH 1/6] sd-dhcp6-client: Make end of successfull option parsing explicit

2014-12-10 Thread Patrik Flykt
When all DHCPv6 options have been parsed, dhcp6_option_parse() returns -ENOMSG. Explicitely set the return value to indicate success so that later code does not need to take this special value into account. --- src/libsystemd-network/sd-dhcp6-client.c | 5 - 1 file changed, 4 insertions(+), 1

[systemd-devel] [PATCH 3/6] sd-dhcp6-client: Implement Information Request message

2014-12-10 Thread Patrik Flykt
Implement Information Request message according to RFC 3315, section 18.1.5. with the excepion that the first message is not delayed by a random amount. Instead systemd-networkd is supposed to take care of desynchronizing between other clients. Initialize the DHCPv6 client structure in

[systemd-devel] [PATCH 0/6] DHCPv6 Information request

2014-12-10 Thread Patrik Flykt
Hi, This patch set implements DHCPv6 Information request, i.e. the situation where Router Advertisments announce that only 'Other' information, not IPv6 addresses, is available via DHCPv6. This patch doesn't have anything to do with the prefix delegation discussed earlier; it was simply

[systemd-devel] [PATCH 6/6] networkd-dhcp6: Support ICMPv6 Other information

2014-12-10 Thread Patrik Flykt
When ICMPv6 Other information is received, enable Information request in DHCPv6. If the DHCPv6 client already exists, only update the client if there is a transition from Other to Managed state. --- src/network/networkd-dhcp6.c | 55 1 file changed, 50

[systemd-devel] [PATCH 5/6] networkd-dhcp6: Move ICMPv6 and DHCPv6 configuration to new file

2014-12-10 Thread Patrik Flykt
Handle all aspects of ICMPv6 and DHCPv6 in a file of its own as is done with DHCPv4 and IPv4LL. --- Makefile.am | 1 + src/network/networkd-dhcp6.c | 165 +++ src/network/networkd-link.c | 122 +---

Re: [systemd-devel] [PATCH] virt: fix container detection when we're not PID 1

2014-12-10 Thread Lennart Poettering
On Wed, 10.12.14 13:52, Jan Synacek (jsyna...@redhat.com) wrote: Lennart Poettering lenn...@poettering.net writes: On Wed, 10.12.14 09:21, Jan Synacek (jsyna...@redhat.com) wrote: systemd-detect-virt would print none when using nspawn to run a shell inside a container and then running

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

Re: [systemd-devel] [PATCH v7] run: introduce timer support option

2014-12-10 Thread Jóhann B. Guðmundsson
On 12/10/2014 12:05 PM, Lennart Poettering wrote: No. At least on Fedora we only have a limited number of system cron jobs, Right less then 45 ( out of 100 in total ) that might have been applicable for migration and I'd rather see those converted natively, rather than maintaining a

Re: [systemd-devel] Notification socket and chroot vs PrivateNetwork conflict (abstract vs file-system)

2014-12-10 Thread Krzysztof Kotlenga
On Tue, 2014-12-09 at 17:28 +0100, Lennart Poettering wrote: On Tue, 09.12.14 16:24, Krzysztof Kotlenga (k.kotle...@sims.pl) wrote: Currently notify socket is unavailable in chrooted services (again) unless you bind mount it there. Is there perhaps another, less cumbersome way? So far

[systemd-devel] [PATCH] hwdb: fix typo

2014-12-10 Thread Torstein Husebø
--- hwdb/70-mouse.hwdb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hwdb/70-mouse.hwdb b/hwdb/70-mouse.hwdb index 4d38c7b633..0a18ec194e 100644 --- a/hwdb/70-mouse.hwdb +++ b/hwdb/70-mouse.hwdb @@ -40,7 +40,7 @@ # or, if the frequency is known: # MOUSE_DPI=800@120 #

Re: [systemd-devel] [PATCH] hwdb: fix typo

2014-12-10 Thread David Herrmann
Hi On Wed, Dec 10, 2014 at 5:41 PM, Torstein Husebø torst...@huseboe.net wrote: --- hwdb/70-mouse.hwdb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied! Thanks David diff --git a/hwdb/70-mouse.hwdb b/hwdb/70-mouse.hwdb index 4d38c7b633..0a18ec194e 100644 ---

Re: [systemd-devel] Supporting U2F over HID on Linux?

2014-12-10 Thread Andy Lutomirski
On Tue, Dec 9, 2014 at 12:46 PM, Andy Lutomirski l...@amacapital.net wrote: On Mon, Nov 3, 2014 at 12:41 PM, Andy Lutomirski l...@amacapital.net wrote: On Mon, Nov 3, 2014 at 12:21 PM, Jiri Kosina jkos...@suse.cz wrote: On Mon, 3 Nov 2014, David Herrmann wrote: Agreed, mostly. My only real

Re: [systemd-devel] Notification socket and chroot vs PrivateNetwork conflict (abstract vs file-system)

2014-12-10 Thread Lennart Poettering
On Wed, 10.12.14 16:33, Krzysztof Kotlenga (k.kotle...@sims.pl) wrote: On Tue, 2014-12-09 at 17:28 +0100, Lennart Poettering wrote: On Tue, 09.12.14 16:24, Krzysztof Kotlenga (k.kotle...@sims.pl) wrote: Currently notify socket is unavailable in chrooted services (again) unless you bind

Re: [systemd-devel] [PATCH 0/6] DHCPv6 Information request

2014-12-10 Thread Tom Gundersen
Pushed. Thanks! -t On Wed, Dec 10, 2014 at 3:17 PM, Patrik Flykt patrik.fl...@linux.intel.com wrote: Hi, This patch set implements DHCPv6 Information request, i.e. the situation where Router Advertisments announce that only 'Other' information, not IPv6 addresses, is available via

Re: [systemd-devel] build issues enabled output in `systemctl status`

2014-12-10 Thread Lennart Poettering
On Wed, 10.12.14 09:55, Mantas Mikulėnas (graw...@gmail.com) wrote: Can't get recent systemd-git to build on Arch, likely due to the bus error changes: $ make -j1 V=1 make --no-print-directory all-recursive Making all in . Meanwhile, I'm using 217-595-g8b5e2af. It seems that, regardless

[systemd-devel] [PATCH 0/6] Correct spacing near eol in code comments

2014-12-10 Thread Torstein Husebø
Hi, this patch set inserts missing spaces and newlines in code comments. No code change. Torstein Husebø (6): networkd/resolved: correct spacing near eol in code comments sd-bus: correct spacing near eol in code comments journald: correct spacing near eol code comments shared: correct

[systemd-devel] [PATCH 3/6] journald: correct spacing near eol code comments

2014-12-10 Thread Torstein Husebø
--- src/journal/journal-file.c| 3 ++- src/journal/journal-verify.c | 3 ++- src/journal/journald-server.c | 6 +++--- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c index c5d2d19433..ca28bd53ef 100644 ---

[systemd-devel] [PATCH 4/6] shared: correct spacing near eol in code comments

2014-12-10 Thread Torstein Husebø
--- src/shared/clock-util.c | 4 ++-- src/shared/util.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/shared/clock-util.c b/src/shared/clock-util.c index fc49393c72..96684681a4 100644 --- a/src/shared/clock-util.c +++ b/src/shared/clock-util.c @@ -121,7

Re: [systemd-devel] build issues enabled output in `systemctl status`

2014-12-10 Thread Chris Atkinson
I had the same problem and can confirm that it now builds for me (including the Python stuff). Regards, ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] Problems with resource control delegation

2014-12-10 Thread Lennart Poettering
On Thu, 27.11.14 11:36, Michal Sekletar (msekl...@redhat.com) wrote: Hi list, This will be about recently added Delegate option. I think that it doesn't work as intended. I'll describe simple scenario which exhibits the problem. Should be fixed in git. Please test! Thanks, Lennart --

Re: [systemd-devel] [PATCH] bus-proxy: cloning smack label

2014-12-10 Thread Lennart Poettering
On Tue, 09.12.14 18:26, Lennart Poettering (lenn...@poettering.net) wrote: Przemyslaw, +++ b/units/u...@.service.m4.in @@ -0,0 +1,23 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser

[systemd-devel] [ANNOUNCE] systemd v218

2014-12-10 Thread Lennart Poettering
Heya! Here's the next version of systemd, v218: http://www.freedesktop.org/software/systemd/systemd-218.tar.xz Many many bug fixes, some new features, and a lot of code cleanups! CHANGES WITH 218: * When querying unit file enablement status (for example via systemctl