[systemd-devel] Partition discovery broken, invalid UUID in efi variable

2014-03-21 Thread Thomas Weißschuh
Hi, posting here, because gummiboot doesn't seem to have a mailing list. While trying to use the discovereable partitions stuff I ran into the following: Running systemd-efi-boot-generator on my machine results in: "Failed to read ESP partition UUID: Input/output error" The cause for this is tha

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 +--- >>> src/network/networkd-link.c

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

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

2014-03-21 Thread Patrik Flykt
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 it is the libs' responsibility > to then do the right thing. > > Currently the libs don't support this and will fail with

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

2014-03-21 Thread Tom Gundersen
On Fri, Mar 21, 2014 at 8:51 AM, Umut Tezduyar Lindskog wrote: > 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

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

2014-03-21 Thread Tom Gundersen
On Fri, Mar 21, 2014 at 8:46 AM, Umut Tezduyar Lindskog wrote: > 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.

Re: [systemd-devel] [PATCH 1/2] domain: move compose logic on its own kdbus_domain_compose_path() function

2014-03-21 Thread Djalal Harouni
On Thu, Mar 20, 2014 at 11:01:35AM +0100, Daniel Mack wrote: > Hi, > > On 03/19/2014 09:24 PM, Djalal Harouni wrote: > > Signed-off-by: Djalal Harouni > > --- > > domain.c | 68 > > +++- > > 1 file changed, 37 insertions(+), 31 deletio

Re: [systemd-devel] [PATCH 2/2] domain: grab the domain's parent lock only when needed

2014-03-21 Thread Djalal Harouni
On Thu, Mar 20, 2014 at 10:58:21AM +0100, Daniel Mack wrote: > On 03/19/2014 09:24 PM, Djalal Harouni wrote: > > Signed-off-by: Djalal Harouni > > --- > > domain.c | 13 + > > 1 file changed, 5 insertions(+), 8 deletions(-) > > > > diff --git a/domain.c b/domain.c > > index d27cad2..

[systemd-devel] writing a systemd unit for nbd devices

2014-03-21 Thread Wouter Verhelst
Hi, So, now that it looks like Debian is going to support systemd in the future, I've been looking into writing systemd units for NBD, of which I maintain the userspace both upstream and in Debian. The user space consists of two bits that matter as far as bootup is concerned: the client, and the

Re: [systemd-devel] writing a systemd unit for nbd devices

2014-03-21 Thread Lennart Poettering
On Fri, 21.03.14 13:05, Wouter Verhelst (wou...@debian.org) wrote: Heya, > The client side of the NBD protocol is implemented partially in > user space, and partially in kernel space. The user space part handles > connecting and the initial protocol negotiation; but once that has been > done, nbd

Re: [systemd-devel] writing a systemd unit for nbd devices

2014-03-21 Thread Andrey Borzenkov
On Fri, Mar 21, 2014 at 4:05 PM, Wouter Verhelst wrote: > > First, let me explain how NBD works. > > The client side of the NBD protocol is implemented partially in > user space, and partially in kernel space. The user space part handles > connecting and the initial protocol negotiation; but once

[systemd-devel] [PATCH] service: add support for reboot argument when triggered by StartLimitAction=

2014-03-21 Thread Michael Olbrich
When rebooting with systemctl, an optional argument can be passed to the reboot system call. This makes it possible the specify the argument in a service file and use it when the service triggers a restart. This is useful to distinguish between manual reboots and reboots caused by failing services.

Re: [systemd-devel] Partition discovery broken, invalid UUID in efi variable

2014-03-21 Thread Kay Sievers
On Fri, Mar 21, 2014 at 8:28 AM, Thomas Weißschuh wrote: > While trying to use the discovereable partitions stuff I ran into the > following: > > Running systemd-efi-boot-generator on my machine results in: > "Failed to read ESP partition UUID: Input/output error" > The cause for this is that, th

Re: [systemd-devel] Partition discovery broken, invalid UUID in efi variable

2014-03-21 Thread Thomas Weißschuh
Hi, On Fri, Mar 21, 2014 at 05:43:48PM +0100, Kay Sievers wrote: > On Fri, Mar 21, 2014 at 8:28 AM, Thomas Weißschuh wrote: > > While trying to use the discovereable partitions stuff I ran into the > > following: > > > > Running systemd-efi-boot-generator on my machine results in: > > "Failed t

Re: [systemd-devel] Partition discovery broken, invalid UUID in efi variable

2014-03-21 Thread Kay Sievers
On Fri, Mar 21, 2014 at 5:55 PM, Thomas Weißschuh wrote: > On Fri, Mar 21, 2014 at 05:43:48PM +0100, Kay Sievers wrote: >> On Fri, Mar 21, 2014 at 8:28 AM, Thomas Weißschuh wrote: >> > While trying to use the discovereable partitions stuff I ran into the >> > following: >> > >> > Running systemd

Re: [systemd-devel] Partition discovery broken, invalid UUID in efi variable

2014-03-21 Thread Thomas Weißschuh
On Fri, Mar 21, 2014 at 06:04:24PM +0100, Kay Sievers wrote: >On Fri, Mar 21, 2014 at 5:55 PM, Thomas Weißschuh wrote: >> On Fri, Mar 21, 2014 at 05:43:48PM +0100, Kay Sievers wrote: >>> On Fri, Mar 21, 2014 at 8:28 AM, Thomas Weißschuh wrote: >>> > While trying to use the discovereable partition

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

2014-03-21 Thread Tom Gundersen
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 it is the libs' responsibility >> to then do the right thing. >

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

2014-03-21 Thread Tom Gundersen
On Tue, Mar 18, 2014 at 10:38 AM, Henrik /KaarPoSoft wrote: > On 03/18/2014 10:10 AM, Tom Gundersen wrote: >> >> On Tue, Mar 18, 2014 at 10:00 AM, Henrik /KaarPoSoft >> wrote: >>> >>> On 03/18/2014 09:18 AM, Henrik /KaarPoSoft wrote: On 03/17/2014 10:32 PM, Tom Gundersen wrote: >>>

Re: [systemd-devel] Partition discovery broken, invalid UUID in efi variable

2014-03-21 Thread Lennart Poettering
On Fri, 21.03.14 17:24, Thomas Weißschuh (tho...@t-8ch.de) wrote: > On Fri, Mar 21, 2014 at 06:04:24PM +0100, Kay Sievers wrote: > >On Fri, Mar 21, 2014 at 5:55 PM, Thomas Weißschuh wrote: > >> On Fri, Mar 21, 2014 at 05:43:48PM +0100, Kay Sievers wrote: > >>> On Fri, Mar 21, 2014 at 8:28 AM, Tho

Re: [systemd-devel] Partition discovery broken, invalid UUID in efi variable

2014-03-21 Thread Kay Sievers
On Fri, Mar 21, 2014 at 6:24 PM, Thomas Weißschuh wrote: > On Fri, Mar 21, 2014 at 06:04:24PM +0100, Kay Sievers wrote: >>On Fri, Mar 21, 2014 at 5:55 PM, Thomas Weißschuh wrote: >>> On Fri, Mar 21, 2014 at 05:43:48PM +0100, Kay Sievers wrote: On Fri, Mar 21, 2014 at 8:28 AM, Thomas Weißschu

[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 Tom Gundersen
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 netmask of 255.255.255.255 so the gateway is not > routable. Other DHCP client implementations look through the existing routes > to >

Re: [systemd-devel] [PATCH] network: dhcp: create host route if dhcp subnet is 255.255.255.255

2014-03-21 Thread Tom Gundersen
On Thu, Mar 20, 2014 at 1:16 AM, Brandon Philips wrote: > Some DHCP servers gives you a netmask of 255.255.255.255 so gateway is > not routable. Make a host route instead. > > This fixes the issue but the implementation is very specific. It would > probably be better to check the route table first

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

Re: [systemd-devel] A potentially cross platform solution forprocess containment in init applications

2014-03-21 Thread Greg KH
On Fri, Mar 21, 2014 at 02:00:47PM +0800, Rong wrote: > > Also, all big Linux distributions have already switched or have > > announced that they'll switch to systemd. That's more than we ever could > > ask for, and there's nothing else for us to win. > > Indeed, systemd is taking over most major

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

2014-03-21 Thread Tom Gundersen
On Fri, Mar 21, 2014 at 7:34 PM, Umut Tezduyar Lindskog wrote: > Hi, > > Do we also need to drop the route within dhcp_lease_lost()? Indeed, good catch. Cheers, Tom ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freede

Re: [systemd-devel] Partition discovery broken, invalid UUID in efi variable

2014-03-21 Thread Thomas Weißschuh
On Fri, Mar 21, 2014 at 07:14:00PM +0100, Kay Sievers wrote: > On Fri, Mar 21, 2014 at 6:24 PM, Thomas Weißschuh wrote: >> On Fri, Mar 21, 2014 at 06:04:24PM +0100, Kay Sievers wrote: >>>On Fri, Mar 21, 2014 at 5:55 PM, Thomas Weißschuh wrote: On Fri, Mar 21, 2014 at 05:43:48PM +0100, Kay Si

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

2014-03-21 Thread Tom Gundersen
On Fri, Mar 21, 2014 at 7:23 PM, Umut Tezduyar Lindskog wrote: > --- > TODO |1 - > src/libsystemd-network/sd-ipv4ll.c | 93 > +++- > src/network/networkd-link.c| 12 + > src/network/networkd.h |1 +

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

2014-03-21 Thread Henrik /KaarPoSoft
On 03/21/2014 07:03 PM, Tom Gundersen wrote: On Tue, Mar 18, 2014 at 10:38 AM, Henrik /KaarPoSoft wrote: On 03/18/2014 10:10 AM, Tom Gundersen wrote: On Tue, Mar 18, 2014 at 10:00 AM, Henrik /KaarPoSoft wrote: On 03/18/2014 09:18 AM, Henrik /KaarPoSoft wrote: On 03/17/2014 10:32 PM, Tom

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

2014-03-21 Thread Tom Gundersen
On Fri, Mar 21, 2014 at 9:47 PM, Henrik /KaarPoSoft wrote: > THANK YOU VERY MUCH! > > Yes, it works now for me. > > Logs attached. Awesome, thank's for testing! > I was busy with something else, so only watched the list and git with half > an eye. > However, I find it disturbing that DHCP is att

[systemd-devel] [PATCH] README: Correct EFI requirements

2014-03-21 Thread Thomas Bächler
systemd does not need or use CONFIG_EFI_VARS anywhere, this should be CONFIG_EFIVAR_FS instead. --- README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README b/README index ace13cf..b0bf5e8 100644 --- a/README +++ b/README @@ -80,7 +80,7 @@ REQUIREMENTS: CONFIG_S

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

2014-03-21 Thread poma
systemd-networkd bridge dhcp OK https://bugzilla.redhat.com/attachment.cgi?id=877526 poma ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel