Re: [systemd-devel] Suppressing automounting

2014-08-29 Thread Andrei Borzenkov
В Fri, 29 Aug 2014 14:59:05 -0400 wor...@alum.mit.edu (Dale R. Worley) пишет: > > From: wor...@alum.mit.edu (Dale R. Worley) > > >When reading /etc/fstab a few special mount options are > >understood by systemd which influence how dependencies are > >created for mount poin

Re: [systemd-devel] [LightDM] New multi-seat behaviour

2014-08-29 Thread poma
On 27.08.2014 07:15, Robert Ancell wrote: > With LightDM 1.11.7 we have new behaviour for multi-seat configuration. > Thanks to the great work of Laércio de Sousa LightDM now starts seats as > defined by logind. I have taken the decision to deprecate the old manual > method of specifying seats as

Re: [systemd-devel] [PATCH v2] libudev: fix symbol version for udev_queue_flush() and udev_queue_get_fd()

2014-08-29 Thread Michael Biebl
Updated patch which the correct version information. -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? From 67c99a5a1acb4b61fdad687485e8f6c4fd25cc82 Mon Sep 17 00:00:00 2001 From: Michael Biebl Date: Sat, 30 Aug 2014 02:01:51 +0200 Su

[systemd-devel] [PATCH] libudev: fix symbol version for udev_queue_flush() and udev_queue_get_fd()

2014-08-29 Thread Michael Biebl
Those symbols were introduced in commit 14cb733684d3c3f50d088a3a370ddf8e8894dfa4 and released in v215 (Please mark this commit as Backport: bugfix) -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth? From 7f6739c14e019d1b0575fc77d23f4b3

Re: [systemd-devel] [PATCH] Update Russian translation

2014-08-29 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Aug 29, 2014 at 07:48:47PM +0400, Sergey Ptashnick wrote: > By analogy with commit 19773. > From 21d0fcba6de31c7710e4dc9e41e80c98d5d15c36 Mon Sep 17 00:00:00 2001 > From: Sergey Ptashnick <0comff...@inbox.ru> > Date: Fri, 29 Aug 2014 19:29:30 +0400 > Subject: [PATCH] po: update Russian tra

[systemd-devel] Bridge not picking up DHCP address

2014-08-29 Thread Mauricio Tavares
So I have a system 2 interfaces, each of them using dhcp in different networks (both served by the same nameserver but in different vlans). Let's begin by showing my config files: core@coreos ~ $ more /etc/systemd/network/{10,16}-* :: /etc/systemd/network/10- bridge.netdev ::

Re: [systemd-devel] Systemd-networkd doesn't add static routes anymore

2014-08-29 Thread Moviuro
On Friday 29 August 2014 15:00:06 you wrote: > On Thu, Aug 28, 2014 at 5:27 PM, Moviuro wrote: > > I'm using systemd 216 on Archlinux (uptodate). > > Everything worked fine at last boot (systemd 215, kernel 3.14.1) > > > > Here is my tap0.network: > > [Match] > > Name=tap0 > > > > [Network] > >

Re: [systemd-devel] Suppressing automounting

2014-08-29 Thread Dale R. Worley
> From: wor...@alum.mit.edu (Dale R. Worley) >When reading /etc/fstab a few special mount options are >understood by systemd which influence how dependencies are >created for mount points from /etc/fstab. [...] If >x-systemd.device-timeout= is specified it may be u

Re: [systemd-devel] [PATCH 8/8] timesyncd: wait before reconnecting to first server

2014-08-29 Thread Kay Sievers
On Wed, Aug 27, 2014 at 4:47 PM, Miroslav Lichvar wrote: > When all servers are exhausted, wait for one poll interval before trying > to connect again to the first server in the list. Also, keep increasing > the polling interval to make sure a client not getting any valid replies > will not send r

Re: [systemd-devel] [PATCH 7/8] timesyncd: don't reset polling interval when reselecting server

2014-08-29 Thread Kay Sievers
On Wed, Aug 27, 2014 at 4:47 PM, Miroslav Lichvar wrote: > --- > src/timesync/timesyncd-manager.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) It did not apply without the earlier patch and in systemd we try to avoid using ! to test integers for 0. Added the fix. Thanks, Kay __

Re: [systemd-devel] [PATCH 6/8] timesyncd: allow two missed replies before reselecting server

2014-08-29 Thread Kay Sievers
On Wed, Aug 27, 2014 at 4:47 PM, Miroslav Lichvar wrote: > After receiving a reply from the server, allow two missed replies before > switching to another server to avoid unnecessary clock hopping when > packets are getting lost in the network. Hmm, what's the reason to do this? The servers in th

Re: [systemd-devel] [PATCH 5/8] timesyncd: use longer PLL time constant

2014-08-29 Thread Kay Sievers
On Wed, Aug 27, 2014 at 4:47 PM, Miroslav Lichvar wrote: > The shortest time constant that is stable with the kernel PLL (compiled > with SHIFT_PLL=2) is about log2 of update interval - 3. Set the constant > to poll - 2 to make room for one missed update. Experimentation did show, that the adjust

Re: [systemd-devel] [PATCH 4/8] timesyncd: check root distance

2014-08-29 Thread Kay Sievers
On Wed, Aug 27, 2014 at 4:47 PM, Miroslav Lichvar wrote: > NTPv4 servers don't reply with unsynchronized status when they lost > synchronization, they only keep increasing the root dispersion and it's > up to the client to decide at which point they no longer consider it > synchronized. > > Ignore

Re: [systemd-devel] [PATCH 1/8] timesyncd: check if stratum is valid

2014-08-29 Thread Kay Sievers
On Wed, Aug 27, 2014 at 4:47 PM, Miroslav Lichvar wrote: > --- > src/timesync/timesyncd-manager.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Applied. Thanks, Kay ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://

Re: [systemd-devel] [PATCH 2/8] timesyncd: fix calculation of transmit time

2014-08-29 Thread Kay Sievers
On Wed, Aug 27, 2014 at 4:47 PM, Miroslav Lichvar wrote: > The kernel timestamp (recv_time) is made earlier than current time > (now_ts), use the timestamp captured before sending packet directly. Applied. Thanks, Kay ___ systemd-devel mailing list sys

Re: [systemd-devel] [PATCH 3/8] timesyncd: get kernel timestamp in nanoseconds

2014-08-29 Thread Kay Sievers
On Wed, Aug 27, 2014 at 4:47 PM, Miroslav Lichvar wrote: > --- > src/timesync/timesyncd-manager.c | 14 +- > 1 file changed, 5 insertions(+), 9 deletions(-) Applied. Thanks, Kay ___ systemd-devel mailing list systemd-devel@lists.freedeskto

[systemd-devel] [PATCH] journalctl: Fix --list-boots and --boot

2014-08-29 Thread Jan Janssen
For some reason, sd_journal_query_unique() and sd_journal_add_match() don't work as they used to. There's a chance boots will be skipped; in my case only 60 of 393 boots show up. Therefore, do sd_journal_query_unique() first and then iterate over those to query their timespec. https://bugs.freedes

[systemd-devel] [PATCH] Update Russian translation

2014-08-29 Thread Sergey Ptashnick
By analogy with commit 19773. >From 21d0fcba6de31c7710e4dc9e41e80c98d5d15c36 Mon Sep 17 00:00:00 2001 From: Sergey Ptashnick <0comff...@inbox.ru> Date: Fri, 29 Aug 2014 19:29:30 +0400 Subject: [PATCH] po: update Russian translation --- po/ru.po | 28 ++-- 1 files changed

[systemd-devel] [PATCH] shutdown: pass own argv to /run/initramfs/shutdown

2014-08-29 Thread Marius Tessmann
Since commit b1e90ec515408aec2702522f6f68c4920b56375b systemd passes its log settings to systemd-shutdown via command line parameters. However, systemd-shutdown doesn't pass these parameters to /run/initramfs/shutdown, causing it to fall back to the default log settings. This fixes the following b

Re: [systemd-devel] Suppressing automounting

2014-08-29 Thread Dale R. Worley
> From: Andrei Borzenkov > > > Here's an interesting fact: What systemd does (in this situation) > > > isn't true automounting; rather it waits for the *first* time the > > > device/volume becomes available, and then mounts it. Any later > > > attachments of the volume do not cause mounting (un

Re: [systemd-devel] Suppressing automounting

2014-08-29 Thread Dale R. Worley
> From: Mantas Mikulėnas > For fstab, the units are created by a 'generator' > (systemd-fstab-generator), which writes them under /run/systemd/generator > every time the configuration is reloaded. > > I'm not at my PC right now so I cannot check, but I /do/ remember someone > mentioning that if

[systemd-devel] [PATCH] cryptsetup-generator: Allow specifiying a name on the kernel command line

2014-08-29 Thread Jan Janssen
--- man/systemd-cryptsetup-generator.xml | 8 ++-- src/cryptsetup/cryptsetup-generator.c | 32 +--- 2 files changed, 23 insertions(+), 17 deletions(-) diff --git a/man/systemd-cryptsetup-generator.xml b/man/systemd-cryptsetup-generator.xml index 3abb39d..44c8658

Re: [systemd-devel] [PATCH] Fix a few typos in log messages

2014-08-29 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Aug 29, 2014 at 01:28:04PM +0200, Ruben Kerkhof wrote: > From 6a320e9e83fd32a60fadc735646edf96d36a0cd1 Mon Sep 17 00:00:00 2001 > From: Ruben Kerkhof > Date: Fri, 29 Aug 2014 12:58:16 +0200 > Subject: [PATCH] Fix a few typos in log messages Applied. Zbyszek ___

Re: [systemd-devel] [PATCHv6 0/3] hibernate-resume: implement support for resuming from hibernation

2014-08-29 Thread Jan Janssen
On 2014-08-29 04:28, Andrei Borzenkov wrote: В Thu, 28 Aug 2014 19:36:53 +0200 Jan Janssen пишет: On Thursday 28 August 2014 11:33:44 Ivan Shapovalov wrote: On Thursday 28 August 2014 at 06:25:51, Jan Janssen wrote: Ivan Shapovalov gmail.com> writes: On Wednesday 27 August 2014 at 03:16:

Re: [systemd-devel] [PATCH] journal: grant systemd-journal group permission

2014-08-29 Thread WaLyong Cho
On 08/27/2014 02:55 AM, Lennart Poettering wrote: > On Tue, 26.08.14 15:43, WaLyong Cho (walyong@samsung.com) wrote: > >> There is no Bofore= or After= dependencies between >> systemd-journald.service and systemd-tmpfiles-setup.service. So if both >> "/run/log/journal" and "/var/log/journal" d

Re: [systemd-devel] Systemd-networkd doesn't add static routes anymore

2014-08-29 Thread Tom Gundersen
On Thu, Aug 28, 2014 at 5:27 PM, Moviuro wrote: > I'm using systemd 216 on Archlinux (uptodate). > Everything worked fine at last boot (systemd 215, kernel 3.14.1) > > Here is my tap0.network: > [Match] > Name=tap0 > > [Network] > DHCP=yes > > [Route] > Gateway=10.3.16.1 > Destination=10.3.14.0/24

Re: [systemd-devel] [PATCH] test-dhcp6-client: Fix option length

2014-08-29 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Aug 29, 2014 at 09:20:46AM +0300, Patrik Flykt wrote: > The whole DHCPv6 test message length was incorrectly used as the length > of DHCPv6 options causing the following bad memory access: > > $ build/test-dhcp6-client > Assertion 'interface_index >= -1' failed at > ../src/libsystemd-netw

Re: [systemd-devel] [PATCH 3/3] systemd-journal-upload: fix invalid After=

2014-08-29 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Aug 29, 2014 at 09:53:00AM +0200, Umut Tezduyar Lindskog wrote: > Hi, this is already in the backlog: > http://lists.freedesktop.org/archives/systemd-devel/2014-August/022368.html > Thanks anyways. Ah, sorry, I missed it. Zbyszek ___ systemd-deve

[systemd-devel] [PATCH] Fix a few typos in log messages

2014-08-29 Thread Ruben Kerkhof
>From 6a320e9e83fd32a60fadc735646edf96d36a0cd1 Mon Sep 17 00:00:00 2001 From: Ruben Kerkhof Date: Fri, 29 Aug 2014 12:58:16 +0200 Subject: [PATCH] Fix a few typos in log messages --- src/libsystemd-network/sd-dhcp-client.c | 12 ++-- src/libsystemd/sd-rtnl/sd-rtnl.c| 2 +- 2 fil

Re: [systemd-devel] systemd --user environment

2014-08-29 Thread David Herrmann
Hi On Fri, Aug 29, 2014 at 12:45 PM, arnaud gaboury wrote: > systemd 216-1 > > > I start to play with systemd/user. I understand that the user instance > does not inherit from all my environment variables listed by the > printenv command. When a variable is needed for a service, I add a > /etc/sy

[systemd-devel] systemd --user environment

2014-08-29 Thread arnaud gaboury
systemd 216-1 I start to play with systemd/user. I understand that the user instance does not inherit from all my environment variables listed by the printenv command. When a variable is needed for a service, I add a /etc/systemd/system/user@.service.d/myService.conf drop-In file with the Environ

Re: [systemd-devel] Systemd-networkd doesn't add static routes anymore

2014-08-29 Thread Tom Gundersen
On Thu, Aug 28, 2014 at 11:39 PM, Moviuro wrote: > After git bisect-ing (following dreisner's instructions on #systemd), I get > the following info: > > 38de08a does not add static routes > ccf1c02 systemd-networkd is broken (does not run) (crash) > 54cba0b systemd-networkd is broken (does not run

Re: [systemd-devel] [PATCH 3/3] systemd-journal-upload: fix invalid After=

2014-08-29 Thread David Herrmann
Hi On Fri, Aug 29, 2014 at 9:53 AM, Umut Tezduyar Lindskog wrote: > Hi, this is already in the backlog: > http://lists.freedesktop.org/archives/systemd-devel/2014-August/022368.html > Thanks anyways. Yepp, and Zbigniew applied and pushed it. Thanks! David ___

Re: [systemd-devel] Systemd-networkd doesn't add static routes anymore

2014-08-29 Thread David Herrmann
Hi On Thu, Aug 28, 2014 at 11:39 PM, Moviuro wrote: > After git bisect-ing (following dreisner's instructions on #systemd), I get > the following info: > > 38de08a does not add static routes > ccf1c02 systemd-networkd is broken (does not run) (crash) > 54cba0b systemd-networkd is broken (does not

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