Re: [systemd-devel] [PATCH v2] localed: validate set-x11-keymap input

2014-11-19 Thread Jan Synacek
David Herrmann dh.herrm...@gmail.com writes: Hi On Fri, Nov 14, 2014 at 12:42 PM, Jan Synacek jsyna...@redhat.com wrote: Try to validate the input similarly to how setxkbmap does it. Multiple layouts and variants can be specified, separated by a comma. Variants can also be left out, meaning

[systemd-devel] Hosts without /etc/machine-id on boot

2014-11-19 Thread Didier Roche
Hey, Some other topic related to empty /etc discussions: when preparing some generic distro images, we are have the desire to ensure that all new instances will get a different /etc/machine-id file. As part of the empty /etc at boot, we first thought that removing /etc/machine-id would be

[systemd-devel] [PATCH 0/4] coredump: add journal fields useful for bug reporting

2014-11-19 Thread Jakub Filak
Hello, these patches add several new fields to systemd-coredump journal messages. The added fields should enable ABRT to report core files from systemd-journald to various bug tracking systems. The added fields: - COREDUMP_PROC_STATUS : a copy of /proc/[pid]/status - COREDUMP_PROC_MAPS : a

[systemd-devel] [PATCH 3/4] util: add function getting proc environ

2014-11-19 Thread Jakub Filak
On the contrary of env, the added function returns all characters cescaped, because it improves reproducibility. --- src/shared/util.c| 160 +-- src/shared/util.h| 1 + src/test/test-util.c | 6 +- 3 files changed, 109 insertions(+), 58

[systemd-devel] [PATCH 4/4] coredump: collect all /proc data useful for bug reporting

2014-11-19 Thread Jakub Filak
/proc/[pid]: - status - maps - limits - cgroup - cwd - root - environ - fd/ fdinfo/ joined in open_fds --- src/journal/coredump.c | 137 - 1 file changed, 135 insertions(+), 2 deletions(-) diff --git a/src/journal/coredump.c

[systemd-devel] [PATCH 1/4] util: add functions getting proc cwd and root

2014-11-19 Thread Jakub Filak
/proc/[pid]/cwd and /proc/[pid]/root are symliks to corresponding directories The added functions returns values of that symlinks. --- src/shared/util.c| 39 +++ src/shared/util.h| 2 ++ src/test/test-util.c | 13 - 3 files changed, 49

[systemd-devel] [PATCH 2/4] util: add functions getting proc status, maps, limits, cgroup

2014-11-19 Thread Jakub Filak
--- src/shared/util.c| 13 + src/shared/util.h| 4 src/test/test-util.c | 17 + 3 files changed, 34 insertions(+) diff --git a/src/shared/util.c b/src/shared/util.c index 0166052..d62d90c 100644 --- a/src/shared/util.c +++ b/src/shared/util.c @@ -892,6

Re: [systemd-devel] [RFC 4/4] add remote-fs dependencies if needed after change

2014-11-19 Thread Karel Zak
On Thu, Nov 06, 2014 at 09:11:03PM -0800, Chris Leech wrote: It it not working for -o remount,_netdev. But that looks like a libmount issue in that the ROOT field is not being set in utab on a remount, so if the initial mount did not require a utab entry then remount options never get merge

[systemd-devel] [PATCH] systemd: Fix wrong timestamps in rtc-in-local time mode.

2014-11-19 Thread Chunhui He
systemd generates some timestamps before the very first call of settimeofday(). When we are in rtc-in-local time mode, these timestamps are wrong. Affected timestamps are: Kernel, InitRD, Userspace, SecurityStart, SecurityFinish In this patch, adjustments are applied after the very first call.

Re: [systemd-devel] [PATCH v2 1/2] utf8: intruduce utf8_escape_non_printable

2014-11-19 Thread David Herrmann
Hi On Wed, Nov 12, 2014 at 11:49 AM, WaLyong Cho walyong@samsung.com wrote: --- src/shared/utf8.c| 39 +++ src/shared/utf8.h| 1 + src/test/test-utf8.c | 25 + 3 files changed, 65 insertions(+) diff --git

Re: [systemd-devel] plans/roadmap for mdns support in resolved

2014-11-19 Thread Vasiliy Tolstov
2014-11-19 1:32 GMT+03:00 Lennart Poettering lenn...@poettering.net: Yeah, that should just work already. LLMNR uses single-label names, hence resolving the unqualified hostname of local link-local peers should just work if resolved and nss-resolve are used. Thats fine. Note that link-local

[systemd-devel] [PATCH 1/1] sd-dhcp-lease: fix copy-paste error asserting wrong function argument

2014-11-19 Thread Thomas Haller
--- src/libsystemd-network/sd-dhcp-lease.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsystemd-network/sd-dhcp-lease.c b/src/libsystemd-network/sd-dhcp-lease.c index f046ac5..3da71a2 100644 --- a/src/libsystemd-network/sd-dhcp-lease.c +++

[systemd-devel] Type=simple and BusName=

2014-11-19 Thread Umut Tezduyar Lindskog
Hi, Quote from man service: BusName= Takes a D-Bus bus name that this service is reachable as. This option is mandatory for services where Type= is set to dbus, but its use is otherwise recommended if the process takes a name on the D-Bus bus. Why it is recommended? If you have Type=simple and

Re: [systemd-devel] [PATCH 1/1] sd-dhcp-lease: fix copy-paste error asserting wrong function argument

2014-11-19 Thread Tom Gundersen
Applied. Thanks! On Wed, Nov 19, 2014 at 1:57 PM, Thomas Haller thal...@redhat.com wrote: --- src/libsystemd-network/sd-dhcp-lease.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsystemd-network/sd-dhcp-lease.c b/src/libsystemd-network/sd-dhcp-lease.c index

Re: [systemd-devel] [PATCH] This patch solves the bug 52630 described here: https://bugs.freedesktop.org/show_bug.cgi?id=52630 .

2014-11-19 Thread Quentin Lefebvre
Hi, Is there any chance that someone can validate this fix? I tested the patch against systemd-215 present in Debian testing, but can't test it with the current version. However, the patch is very simple and should work with the latest version. Also, the bug involved is pretty important for

Re: [systemd-devel] StartupCPUShares

2014-11-19 Thread Umut Tezduyar Lindskog
Hi XinX, On Wed, Nov 19, 2014 at 8:30 AM, Cao, XinX xinx@intel.com wrote: Hi, Umut, Days ago you told me “StartupCPUShares”, and I had a test of this option in my system. But it seems systemd on my system doesn’t know this item. And I got this message “Unknow lvalue

Re: [systemd-devel] [PATCH] sd-dhcp-client: fix REBOOT state handling

2014-11-19 Thread Patrik Flykt
On Tue, 2014-11-18 at 18:41 +0100, Tom Gundersen wrote: (but cc'ing Patrik just to make sure) RFC 2131: secs 2 Filled in by client, seconds elapsed since client began address acquisition or renewal process. @@ -422,7 +423,15 @@ static int

Re: [systemd-devel] Starting configurable set of services first

2014-11-19 Thread WaLyong Cho
On 10/28/2014 01:06 AM, Umut Tezduyar Lindskog wrote: On Wed, Oct 22, 2014 at 7:44 PM, Lennart Poettering lenn...@poettering.net wrote: On Tue, 02.09.14 10:06, Umut Tezduyar Lindskog (u...@tezduyar.com) wrote: Hi, I would like to start a configurable set of services first and the services

Re: [systemd-devel] make systemd service takes cpu exclusively

2014-11-19 Thread Andrei Borzenkov
В Tue, 18 Nov 2014 06:25:43 + Cao, XinX xinx@intel.com пишет: Hi, Umut David, My project needs the Graphical desktop to display on monitor as fast as possible, but I found lots of unrelated services( such as sound, network, ... ) are competing CPU even they are

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

2014-11-19 Thread Andrei Borzenkov
В Tue, 18 Nov 2014 16:22:18 + Colin Guthrie gm...@colin.guthr.ie пишет: Michael Biebl wrote on 18/11/14 15:55: 2014-11-18 16:30 GMT+01:00 Colin Guthrie gm...@colin.guthr.ie: Michael Biebl wrote on 18/11/14 15:09: 2014-11-18 15:59 GMT+01:00 Colin Guthrie gm...@colin.guthr.ie: Didier

[systemd-devel] [PATCH 0/2] Empty environment variables in unit files work

2014-11-19 Thread Iago López Galeiras
with this file: [Unit] Description=Test empty variables [Service] Environment=TEST= TEST2= ExecStart=/bin/bash -c env [Install] WantedBy=default.target I get this output: Nov 19 16:59:07 arch-tree systemd[1]: Starting Test empty variables... Nov 19 16:59:07 arch-tree systemd[1]: Started Test

[systemd-devel] [PATCH 2/2] update TODO

2014-11-19 Thread Iago López Galeiras
Empty environment variables in Environment= and EnvironmentFile= options work. --- TODO | 2 -- 1 file changed, 2 deletions(-) diff --git a/TODO b/TODO index d4138fe..3e8d04c 100644 --- a/TODO +++ b/TODO @@ -191,8 +191,6 @@ Features: * generator that automatically discovers btrfs subvolumes,

[systemd-devel] [PATCH 1/2] test: empty environment variables in unit files

2014-11-19 Thread Iago López Galeiras
--- src/test/test-unit-file.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/src/test/test-unit-file.c b/src/test/test-unit-file.c index 03b3e25..f31a1bb 100644 --- a/src/test/test-unit-file.c +++ b/src/test/test-unit-file.c @@ -222,6 +222,9 @@ static void

Re: [systemd-devel] [BUG] too many rfkill services

2014-11-19 Thread Andrei Borzenkov
В Tue, 18 Nov 2014 18:37:03 +0100 Łukasz Stelmach stl...@poczta.fm пишет: After several suspend/resumes systemctl shows more than three dozens of rfkill devices even though I've got only one BT and one WLAN. --8---cut here---start-8---

Re: [systemd-devel] VLAN's not coming up systemd-networkd.service loaded failed + systemd-networkd seg fault

2014-11-19 Thread Brendan Horan
No one has any clue? Or do I need to provide more information? (if so what?) Thanks once again, Brendan - Original Message - From: Brendan Horan brendanho...@basstech.net To: systemd-devel systemd-devel@lists.freedesktop.org Sent: Thursday, 13 November, 2014 11:59:49 AM Subject:

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

2014-11-19 Thread Mantas Mikulėnas
~ I'm getting this on every reload: systemd[1]: Unknown serialization item 'subscribed=:1.1' Doesn't seem to break anything though. ~ I'm also getting this on every reload: systemd[1]: [/usr/lib/systemd/system/systemd-journald.service:24] Failed to parse capability in bounding set, ignoring: