[systemd-devel] [PATCH v3] tests: added tests for unit_file_get_{state, list}

2014-10-14 Thread Ken Sedgwick
This test constructs different unit file states and checks the output of unit_file_get_state and unit_file_get_list for each. This test characterizes the current output of the master branch in preparation for a patch which improves the performance of unit state detection in the face of thousands o

Re: [systemd-devel] [PATCH] systemctl: add edit verb

2014-10-14 Thread Daniel Buch
My general understanding is equal to dale. But with some consideration it led me to agree with the warning approach. Its no big deal setting EDITOR. Den 14/10/2014 01.06 skrev "Ronny Chevalier" : > 2014-10-13 16:13 GMT+02:00 Simon McVittie >: > > On 13/10/14 14:38, Dale R. Worley wrote: > >> My g

Re: [systemd-devel] [PATCH] bus-proxyd: improve compatibility with dbus-1

2014-10-14 Thread Daniel Mack
On 10/13/2014 03:29 PM, Lukasz Skalski wrote: > 'GetConnectionUnixProcessID', 'GetConnectionUnixUser' and > 'GetConnectionSELinuxSecurityContext' methods should return > 'NameHasNoOwner' error (if chosen name is not available on bus) > with more detailed description - like dbus-1: > > Could not ge

[systemd-devel] [PATCH] shared: fix cppcheck warnings

2014-10-14 Thread Boris Egorov
Minor patch. Fixes defects found by cppcheck: do not check if unsigned value is const, reduce scope of a few variables. Signed-off-by: Boris Egorov --- src/shared/macro.h | 2 +- src/shared/ring.c | 7 --- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/shared/macro.h b/s

[systemd-devel] How to use cgroups for Tracker?

2014-10-14 Thread Martyn Russell
Hello all, Recently I've started looking into support for cgroups due to this bug: http://bugzilla.gnome.org/show_bug.cgi?id=737663 It was suggested I ask you guys to see what the best way forward would be here. It seems there are different opinions about how to do this including: a) allow t

[systemd-devel] [PATCH] tmpfiles: only change device permissions if mknod succeeded

2014-10-14 Thread Jan Synacek
https://bugzilla.redhat.com/show_bug.cgi?id=1147248 --- src/tmpfiles/tmpfiles.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/tmpfiles/tmpfiles.c b/src/tmpfiles/tmpfiles.c index 8108b43..ae0289d 100644 --- a/src/tmpfiles/tmpfiles.c +++ b/src/tmpfiles/tmpfiles.

[systemd-devel] [PATCH] bus-proxyd: add missing flag translation for RequestName

2014-10-14 Thread Lukasz Skalski
--- src/bus-proxyd/bus-proxyd.c | 12 ++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/bus-proxyd/bus-proxyd.c b/src/bus-proxyd/bus-proxyd.c index 52498f3..6ff0e8c 100644 --- a/src/bus-proxyd/bus-proxyd.c +++ b/src/bus-proxyd/bus-proxyd.c @@ -845,7 +845,7 @@ static i

Re: [systemd-devel] odd seek_tail behaviour

2014-10-14 Thread Christian Hesse
Christian Hesse on Mon, 2014/10/13 23:56: > Christian Hesse on Mon, 2014/10/13 20:22: > > Daurnimator on Mon, 2014/10/13 01:27: > > > Hi All, > > > > > > I was trying to write a program that tailed the journal, but found that > > > sd_journal_seek_tail() didn't work as expected. > > > That is:

[systemd-devel] systemd-resolved D-Bus API documentation

2014-10-14 Thread Florian Weimer
Is there some documentation of the D-Bus API and its expected behavior? And is there a way to dump the contents of the internal cache? -- Florian Weimer / Red Hat Product Security ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http

Re: [systemd-devel] Should user mode linux register with machined?

2014-10-14 Thread Daniel P. Berrange
On Fri, Oct 10, 2014 at 06:44:03PM +0200, Lennart Poettering wrote: > On Wed, 17.09.14 10:24, Richard Weinberger (richard.weinber...@gmail.com) > wrote: > > > On Wed, Sep 17, 2014 at 1:09 AM, Zbigniew Jędrzejewski-Szmek > > wrote: > > > On Tue, Sep 16, 2014 at 05:31:05PM +0200, Thomas Meyer wrot

[systemd-devel] stunnel now supports socket activation

2014-10-14 Thread David Timothy Strauss
Mark Theunissen, part of the team here at Pantheon, got our changes upstream in version 5.05: https://www.stunnel.org/sdf_ChangeLog.html Progress! ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/li