Re: [systemd-devel] [PATCH] resolved: re-add support for getting local domain from DHCP

2014-07-29 Thread Michael Marineau
On Tue, Jul 29, 2014 at 3:37 PM, Zbigniew Jędrzejewski-Szmek wrote: > On Tue, Jul 29, 2014 at 02:48:18PM -0700, Michael Marineau wrote: >> When the code for generating resolv.conf was moved from networkd to >> resolved the DHCP domain name code was dropped. >> --- >> >> This is a resend, rebased s

Re: [systemd-devel] [215] bridge with static network does not work

2014-07-29 Thread Gerardo Exequiel Pozzi
On 07/29/2014 06:24 PM, Gerardo Exequiel Pozzi wrote: > Hello, > > Setting up a bridge with systemd-networkd does not works for me. Doing > things manually works. (no network, can not ping other hosts). Output of > "ip addr" looks same in both cases. > > I am sure that I am doing things correctly

Re: [systemd-devel] [PATCH] resolved: re-add support for getting local domain from DHCP

2014-07-29 Thread Zbigniew Jędrzejewski-Szmek
On Tue, Jul 29, 2014 at 02:48:18PM -0700, Michael Marineau wrote: > When the code for generating resolv.conf was moved from networkd to > resolved the DHCP domain name code was dropped. > --- > > This is a resend, rebased since some recent changes changed how this > patch needed to be implemented.

[systemd-devel] [PATCH] nspawn: fix truncation of machine names in interface names

2014-07-29 Thread Michael Marineau
When deriving the network interface name from machine name strncpy was not properly null terminating the string and the maximum string size as returned by strlen() is actually IFNAMSIZ-1, not IFNAMSIZ. --- src/nspawn/nspawn.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sr

[systemd-devel] [PATCH] resolved: re-add support for getting local domain from DHCP

2014-07-29 Thread Michael Marineau
When the code for generating resolv.conf was moved from networkd to resolved the DHCP domain name code was dropped. --- This is a resend, rebased since some recent changes changed how this patch needed to be implemented. src/network/networkd-link.c| 13 + src/network/sd-network.c

[systemd-devel] [215] bridge with static network does not work

2014-07-29 Thread Gerardo Exequiel Pozzi
Hello, Setting up a bridge with systemd-networkd does not works for me. Doing things manually works. (no network, can not ping other hosts). Output of "ip addr" looks same in both cases. I am sure that I am doing things correctly, if not please let me know. Thanks. systemd-networkd config looks

Re: [systemd-devel] lastlog and friends

2014-07-29 Thread Jóhann B. Guðmundsson
On 07/29/2014 07:28 PM, Lennart Poettering wrote: Not sure where precisely that tool should actually live though. I am tempted to say it should just be a one or two additional verbs for loginctl (which should gain some journal integration anyway, for example to show log messages of a specific se

Re: [systemd-devel] [PATCH] networkd: fix reporting errors from hostnamed

2014-07-29 Thread Tom Gundersen
On Tue, Jul 22, 2014 at 1:23 AM, Michael Marineau wrote: > The return value may be -EINVAL or a positive errno from the dbus > message. Check both ranges, otherwise most errors are silently ignored. Applied. Thanks! -t > --- > src/network/networkd-link.c | 4 +++- > 1 file changed, 3 insertion

Re: [systemd-devel] lastlog and friends

2014-07-29 Thread Lennart Poettering
On Tue, 29.07.14 14:51, Reindl Harald (h.rei...@thelounge.net) wrote: > please keep in mind that on servers "Storage=volatile" and forward > to classic rsyslog is common and that won't change - so whatever > you read from journal are only recent entries which won't survive > a reboot Well, whatev

[systemd-devel] [PATCH] switch-root: umount the old root correctly

2014-07-29 Thread Dan Dedrick
The unmount occurs after the pivot_root, so the path used to unmount should take into account the new root directory. This will allow the umount to actually succeed. --- src/core/switch-root.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/switch-root.c b/src/core

Re: [systemd-devel] lastlog and friends

2014-07-29 Thread Lennart Poettering
On Tue, 29.07.14 14:43, Karel Zak (k...@redhat.com) wrote: > > > systemd TODO: > > - Replace utmp, wtmp, btmp, and lastlog completely with journal > > > Can someone elaborate and provide more details, ideas, .. ? Basically, we just want to have a nice tool that can dump data similar to

[systemd-devel] [PATCH 1/3] socket: Add Support for TCP keep alive variables

2014-07-29 Thread Susant Sahani
The tcp keep alive variables now can be configured via conf parameter. Follwing variables are now supported by this patch. tcp_keepalive_intvl: The number of seconds between TCP keep-alive probes tcp_keepalive_probes: The maximum number of TCP keep-alive probes to send before giving up and killin

[systemd-devel] [PATCH 2/3] socket: Add support for TCP Fast Open

2014-07-29 Thread Susant Sahani
TCP Fast Open (TFO) speeds up the opening of successive TCP)connections between two endpoints.It works by using a TFO cookie in the initial SYN packet to authenticate a previously connected client. It starts sending data to the client before the receipt of the final ACK packet of the three way hand

[systemd-devel] [PATCH 3/3] socket: Add support for TCP defer accept

2014-07-29 Thread Susant Sahani
TCP_DEFER_ACCEPT Allow a listener to be awakened only when data arrives on the socket. If TCP_DEFER_ACCEPT set on a server-side listening socket, the TCP/IP stack will not to wait for the final ACK packet and not to initiate the process until the first packet of real data has arrived. After sending

Re: [systemd-devel] lastlog and friends

2014-07-29 Thread Karel Zak
On Tue, Jul 29, 2014 at 02:51:37PM +0200, Reindl Harald wrote: > > Maybe all we need for things like lastlog and wtmp is journald and then > > a few #ifdef in applications like login(1), who(1) or PAM. Maybe it > > would be better than add an extra abstraction layer (by any library). > > Not s

Re: [systemd-devel] [PATCH] udevd: add --event-timeout commandline option

2014-07-29 Thread Kay Sievers
On Tue, Jul 29, 2014 at 9:06 AM, Hannes Reinecke wrote: > On large configurations some events take longer than the > default 30 seconds. Killing those events will leave the > machine halfway configured. > > So add a commandline option '--event-timeout' to handle these cases. Applied. But with a f

Re: [systemd-devel] lastlog and friends

2014-07-29 Thread Reindl Harald
Am 29.07.2014 14:43, schrieb Karel Zak: > systemd TODO: > > - Replace utmp, wtmp, btmp, and lastlog completely with journal > > Can someone elaborate and provide more details, ideas, .. ? > > The current lastlog is sparse file and it's difficult to use for backup > programs or integri

Re: [systemd-devel] [PATCH 0/7] kdbus: improve user domain accounting

2014-07-29 Thread Djalal Harouni
On Wed, Jul 23, 2014 at 10:19:04PM +0100, Djalal Harouni wrote: > Hi, > > This series improves user domain accounting and fixes some bugs. > > On top of the "kdbus: allow multiple policies" series: > http://lists.freedesktop.org/archives/systemd-devel/2014-July/021514.html > > > Patches 1, 2, 3

[systemd-devel] lastlog and friends

2014-07-29 Thread Karel Zak
systemd TODO: - Replace utmp, wtmp, btmp, and lastlog completely with journal Can someone elaborate and provide more details, ideas, .. ? The current lastlog is sparse file and it's difficult to use for backup programs or integrity checkers, etc. So requests from users/customers ar

[systemd-devel] systemd-networkd bridge not renewing DHCP lease

2014-07-29 Thread Shapeshifter
Hello, I run an Archlinux home server connected to a netgear home router. I use a bridge because among other things, the server does KVM virtualization. My problem is that once the DHCP lease on br0 expires, it is not renewed. Here's `ip a` before and after br0 loses the ip. You can see the

[systemd-devel] [PATCH] udevd: add --event-timeout commandline option

2014-07-29 Thread Hannes Reinecke
On large configurations some events take longer than the default 30 seconds. Killing those events will leave the machine halfway configured. So add a commandline option '--event-timeout' to handle these cases. Signed-off-by: Hannes Reinecke --- man/systemd-udevd.service.xml | 19