[systemd-devel] [RFC] Split keymap conversion functions to separate library

2014-06-03 Thread Michal Sekletar
Hello, Currently systemd-localed does conversions from X11 keymap to VConsole keymap and vice-versa. There was a request coming from Anaconda installer team at Red Hat which was about splitting this functionality to separate library. I am curious if other people would be interested in such

Re: [systemd-devel] [RFC] Split keymap conversion functions to separate library

2014-06-03 Thread Kay Sievers
On Tue, Jun 3, 2014 at 10:58 AM, Michal Sekletar msekl...@redhat.com wrote: Currently systemd-localed does conversions from X11 keymap to VConsole keymap and vice-versa. There was a request coming from Anaconda installer team at Red Hat which was about splitting this functionality to separate

Re: [systemd-devel] [PATCH] journald: collect process data from socket data

2014-06-03 Thread Łukasz Stelmach
It was 2014-06-01 nie 07:52, when Lennart Poettering wrote: On Fri, 30.05.14 12:45, Piotr Wilczek (p.wilc...@samsung.com) wrote: This patch adds posibility for journal to get process data from socket data (if available) instead of from procfs. Additionally a new procinfo structure is added

Re: [systemd-devel] [PATCH] journald: collect process data from socket data

2014-06-03 Thread Łukasz Stelmach
It was 2014-05-30 pią 14:13, when Michal Sekletar wrote: On Fri, May 30, 2014 at 12:45:21PM +0200, Piotr Wilczek wrote: This patch adds posibility for journal to get process data from socket data (if available) instead of from procfs. Additionally a new procinfo structure is added to store

Re: [systemd-devel] [PATCH] sd-dhcp-client: Sets broadcast flag to 1

2014-06-03 Thread Tom Gundersen
On Mon, Jun 2, 2014 at 2:09 PM, Patrik Flykt patrik.fl...@linux.intel.com wrote: On Fri, 2014-05-30 at 17:21 +0100, Tom Gundersen wrote: I'm wondering if the criterion should be to request broadcast if and only if we have not configured an IP address (I.e. only in discovering, requesting and

Re: [systemd-devel] [PATCH] sd-dhcp-client: Sets broadcast flag to 1

2014-06-03 Thread Tom Gundersen
On Tue, Jun 3, 2014 at 11:37 AM, Tom Gundersen t...@jklm.no wrote: On Mon, Jun 2, 2014 at 2:09 PM, Patrik Flykt patrik.fl...@linux.intel.com wrote: On Fri, 2014-05-30 at 17:21 +0100, Tom Gundersen wrote: I'm wondering if the criterion should be to request broadcast if and only if we have not

Re: [systemd-devel] Systemd-networkd, default route and multiple interfaces

2014-06-03 Thread Tom Gundersen
On Mon, Jun 2, 2014 at 8:47 PM, Reventlov contact+systemd...@volcanis.me wrote: Hello. Since network files are applied to links whenever the links appear, how do systemd manage the disappearance of a default route ? For example, let's say i have one wireless interface and one ethernet

Re: [systemd-devel] [PATCH] domain: fix a BUG_ON() when kdbus_domain_new() fails

2014-06-03 Thread Kay Sievers
On Mon, Jun 2, 2014 at 5:57 PM, Djalal Harouni tix...@opendz.org wrote: Currently just running: test/test-kdbus will trigger the BUG_ON() appended at the bottom. This is due to the test in check_domain_make() where we try to register the same domain twice line: 297, hence kdbus_domain_new()

Re: [systemd-devel] [PATCH] connection: pin the subjective cred for KDBUS_POLICY_OWN

2014-06-03 Thread Kay Sievers
On Sat, May 31, 2014 at 10:23 PM, Djalal Harouni tix...@opendz.org wrote: Make sure that the credentials of the connection at creation time will last so the kdbus_policy_check_own_access() will work as expected. Applied. Thanks, Kay ___ systemd-devel

[systemd-devel] Setup autologin tty

2014-06-03 Thread Mateusz Malicki
Hello, I am working on system running in lxc container that use systemd. On host user session (uid=5000) starts automatically but in container I have following error message: May 12 00:18:15 localhost user-session-launch[110]: pam_systemd(login:session): Asking logind to create session:

Re: [systemd-devel] [RFC] Split keymap conversion functions to separate library

2014-06-03 Thread Michal Sekletar
On Tue, Jun 03, 2014 at 11:05:53AM +0200, Kay Sievers wrote: On Tue, Jun 3, 2014 at 10:58 AM, Michal Sekletar msekl...@redhat.com wrote: Currently systemd-localed does conversions from X11 keymap to VConsole keymap and vice-versa. There was a request coming from Anaconda installer team

Re: [systemd-devel] networkd: create tun/tap device?

2014-06-03 Thread Christian Hesse
Tom Gundersen t...@jklm.no on Fri, 2014/05/16 14:54: On Fri, May 16, 2014 at 12:24 AM, Lennart Poettering lenn...@poettering.net wrote: On Wed, 07.05.14 08:22, Christian Hesse (l...@eworm.de) wrote: Hello everybody, currently it is not possible to create tun/tap device with networkd.

Re: [systemd-devel] unlocking encrypted hard disk two factor authentication (password and Yubikey)

2014-06-03 Thread Christian Hesse
Lennart Poettering lenn...@poettering.net on Fri, 2014/05/16 18:56: On Wed, 30.04.14 23:20, Christian Hesse (m...@eworm.de) wrote: 4. udev launches my executable 'ykfde' 5. ykfde asks for a second password (second factor) 6. user types second password on keyboard 7. ykfde reveives

Re: [systemd-devel] [PATCH] domain: fix a BUG_ON() when kdbus_domain_new() fails

2014-06-03 Thread Djalal Harouni
On Tue, Jun 03, 2014 at 12:55:54PM +0200, Kay Sievers wrote: On Mon, Jun 2, 2014 at 5:57 PM, Djalal Harouni tix...@opendz.org wrote: Currently just running: test/test-kdbus will trigger the BUG_ON() appended at the bottom. This is due to the test in check_domain_make() where we try to

[systemd-devel] [PATCH v2] domain: rework kdbus_domain_new() error path to fix a BUG_ON()

2014-06-03 Thread Djalal Harouni
Currently just running: test/test-kdbus will trigger the BUG_ON() appended at the bottom. This is due to the test in check_domain_make() where we try to register the same domain twice line: 297, hence kdbus_domain_new() fails with -EEXIST at line domain.c:289 Later on error path we clear the

[systemd-devel] [PATCH] log: honour the kernel's quiet cmdline argument

2014-06-03 Thread Ronny Chevalier
It was forgotten in b1e90ec515408aec2702522f6f68c4920b56375b See https://bugs.freedesktop.org/show_bug.cgi?id=79582 --- src/shared/log.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/shared/log.c b/src/shared/log.c index 9039db3..6f17705 100644 --- a/src/shared/log.c +++

Re: [systemd-devel] [PATCH] journald: collect process data from socket data

2014-06-03 Thread Lennart Poettering
On Tue, 03.06.14 11:21, Łukasz Stelmach (l.stelm...@samsung.com) wrote: It was 2014-06-01 nie 07:52, when Lennart Poettering wrote: On Fri, 30.05.14 12:45, Piotr Wilczek (p.wilc...@samsung.com) wrote: This patch adds posibility for journal to get process data from socket data (if

Re: [systemd-devel] [PATCH] hostnamectl: correct IDs for remote hosts

2014-06-03 Thread Lennart Poettering
On Sun, 01.06.14 22:03, Mantas Mikulėnas (graw...@gmail.com) wrote: On Sun, Jun 1, 2014 at 9:01 AM, Lennart Poettering lenn...@poettering.net wrote: On Sat, 31.05.14 18:21, Rico Sagner (sag...@b1-systems.de) wrote: Heya! I think that the two ids would probably be better exposed by

Re: [systemd-devel] [PATCH] hostnamectl: correct IDs for remote hosts

2014-06-03 Thread Lennart Poettering
On Mon, 02.06.14 13:31, Simon McVittie (simon.mcvit...@collabora.co.uk) wrote: On 01/06/14 20:03, Mantas Mikulėnas wrote: Out of curiosity, wouldn't the existing org.freedesktop.DBus.Peer.GetMachineId() work here? In principle Peer.GetMachineId() returns the D-Bus machine ID

Re: [systemd-devel] [PATCH v2 ] hostnamectl: correct IDs for remote hosts

2014-06-03 Thread Lennart Poettering
On Sun, 01.06.14 20:53, Rico Sagner (sag...@b1-systems.de) wrote: +static int property_get_machineid( +sd_bus *bus, +const char *path, +const char *interface, +const char *property, +sd_bus_message *reply, +

Re: [systemd-devel] Systemd-networkd, default route and multiple interfaces

2014-06-03 Thread Lennart Poettering
On Mon, 02.06.14 21:02, Tom Gundersen (t...@jklm.no) wrote: On Mon, Jun 2, 2014 at 8:47 PM, Reventlov contact+systemd...@volcanis.me wrote: Since network files are applied to links whenever the links appear, how do systemd manage the disappearance of a default route ? You can have

Re: [systemd-devel] Systemd-networkd, default route and multiple interfaces

2014-06-03 Thread Tom Gundersen
On Tue, Jun 3, 2014 at 8:58 PM, Lennart Poettering lenn...@poettering.net wrote: On Mon, 02.06.14 21:02, Tom Gundersen (t...@jklm.no) wrote: On Mon, Jun 2, 2014 at 8:47 PM, Reventlov contact+systemd...@volcanis.me wrote: Since network files are applied to links whenever the links appear,

Re: [systemd-devel] Systemd-networkd, default route and multiple interfaces

2014-06-03 Thread Mantas Mikulėnas
On Tue, Jun 3, 2014 at 9:58 PM, Lennart Poettering lenn...@poettering.net wrote: On Mon, 02.06.14 21:02, Tom Gundersen (t...@jklm.no) wrote: On Mon, Jun 2, 2014 at 8:47 PM, Reventlov contact+systemd...@volcanis.me wrote: Since network files are applied to links whenever the links

Re: [systemd-devel] [PATCH v2] domain: rework kdbus_domain_new() error path to fix a BUG_ON()

2014-06-03 Thread Kay Sievers
On Tue, Jun 3, 2014 at 5:31 PM, Djalal Harouni tix...@opendz.org wrote: Currently just running: test/test-kdbus will trigger the BUG_ON() appended at the bottom. This is due to the test in check_domain_make() where we try to register the same domain twice line: 297, hence kdbus_domain_new()

[systemd-devel] [networkd] v213 log messages

2014-06-03 Thread Mark Oteiza
Hi, It seems networkd has acquired some right-justification in its logging. Why? This is very strange. $ journalctl -b -u systemd-networkd -- Logs begin at Sun 2014-03-09 03:04:51 EDT, end at Wed 2014-06-04 00:40:26 EDT. -- Jun 04 00:34:13 logos systemd-networkd[582]:bond0: