[systemd-devel] [PATCH] Use %m instead of strerror(errno) where appropiate

2014-05-23 Thread Cristian Rodríguez
--- src/journal/sd-journal.c| 6 ++ src/libsystemd-network/sd-dhcp-client.c | 4 ++-- src/nspawn/nspawn.c | 2 +- src/shared/label.c | 2 +- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/journal/sd-journal.c b/src/jo

Re: [systemd-devel] The best way to deal with a deamon with two binary options

2014-05-23 Thread Lennart Poettering
On Thu, 22.05.14 11:17, Luis R. Rodriguez (mcg...@do-not-panic.com) wrote: > Hey folks, > > Xen systemd support with active sockets and sd_notify() is under way, > we're in what seems to be the final rounds of patch review. One of the > last items we are reviewing is how to best deal with a deamo

Re: [systemd-devel] [RFC][PATCH] sd-dhcp-client: return NULL from _unref() like the other sd-* libraries

2014-05-23 Thread Lennart Poettering
On Thu, 22.05.14 15:29, Tom Gundersen (t...@jklm.no) wrote: > Let's keep this behavior consistent across our libraries. > > In order to keep the refcounting working, a DONT_DESTROY macro similar > to the one in sd-bus was introduced. The DON_DESTROY stuff you only really need when you dispatch s

Re: [systemd-devel] [PATCH] Fix a few compiler warnings

2014-05-23 Thread Tom Gundersen
On Fri, May 23, 2014 at 11:25 PM, Djalal Harouni wrote: > On Wed, May 21, 2014 at 10:46:21AM +0200, Lennart Poettering wrote: >> On Wed, 21.05.14 10:29, Thomas H.P. Andersen (pho...@gmail.com) wrote: >> >> > >> > On Tue, May 20, 2014 at 5:43 PM, Lennart Poettering >> > wrote: >> > > On Mon, 19.05

Re: [systemd-devel] [PATCH] Fix a few compiler warnings

2014-05-23 Thread Djalal Harouni
On Wed, May 21, 2014 at 10:46:21AM +0200, Lennart Poettering wrote: > On Wed, 21.05.14 10:29, Thomas H.P. Andersen (pho...@gmail.com) wrote: > > > > > On Tue, May 20, 2014 at 5:43 PM, Lennart Poettering > > wrote: > > > On Mon, 19.05.14 19:52, Tom Gundersen (t...@jklm.no) wrote: > > > > > >> >

[systemd-devel] [PATCH] Fix several small typos

2014-05-23 Thread Jonathan Boulle
Fix some small comment/log typos -- CODING_STYLE | 2 +- src/core/unit.c| 6 +++--- src/network/networkd-wait-online.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CODING_STYLE b/CODING_STYLE index 996897b..4ec5923 100644 --- a/C

Re: [systemd-devel] GDM session is not activated

2014-05-23 Thread Oleg Samarin
В Пт, 23/05/2014 в 16:20 +0200, David Herrmann пишет: > Hi > > On Thu, May 22, 2014 at 9:19 PM, Oleg Samarin wrote: > > > > I have two-seat configuration on my PC. The problem is that when I log > > in to GDM session on seat0, it rests being not active, and I can not > > activate it with 'loginct

Re: [systemd-devel] GDM session is not activated

2014-05-23 Thread David Herrmann
Hi On Thu, May 22, 2014 at 9:19 PM, Oleg Samarin wrote: > > I have two-seat configuration on my PC. The problem is that when I log > in to GDM session on seat0, it rests being not active, and I can not > activate it with 'loginctl activate' command. gdm is responsible of setting XDG_VTNR before

Re: [systemd-devel] journalctl --since today --follow weirdness

2014-05-23 Thread Colin Guthrie
'Twas brillig, and Colin Guthrie at 23/04/14 16:12 did gyre and gimble: > Hiya, > > A colleague pointed out an oddity in journalctl --since today --follow > output. > > It seems the two arguments somewhat contradict each other: one asks for > all the output for today and the other asks for all fu