[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

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 h...@suse.de 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

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

[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

[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

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

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, whatever.

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 michael.marin...@coreos.com 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

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

[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

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

[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

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.

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, if not

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 zbys...@in.waw.pl 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,