Re: [systemd-devel] SSL for gatewayd

2013-01-17 Thread Zbigniew Jędrzejewski-Szmek
On Fri, Jan 11, 2013 at 10:08:54AM +1000, David Strauss wrote: > On Thu, Jan 10, 2013 at 10:54 PM, Zbigniew Jędrzejewski-Szmek > wrote: > > Can you say how things would work in your scheme? > > The scheme we use at Pantheon is that plus mapping the CN to "user" > and OU to "group." Then, we typic

[systemd-devel] [PATCH 7/5] core/cgroup-util: simplify functions and add tests

2013-01-17 Thread Zbigniew Jędrzejewski-Szmek
--- Makefile.am | 10 +++- src/shared/cgroup-util.c| 62 ++--- src/shared/cgroup-util.h| 2 ++ src/test/test-cgroup-util.c | 27 4 files changed, 63 insertions(+), 38 deletions(-) create mode 100644 src/test

[systemd-devel] [PATCH 6/5] core/group-util: merge two functions

2013-01-17 Thread Zbigniew Jędrzejewski-Szmek
--- src/shared/cgroup-util.c | 44 1 file changed, 8 insertions(+), 36 deletions(-) diff --git a/src/shared/cgroup-util.c b/src/shared/cgroup-util.c index 3d12233..af52278 100644 --- a/src/shared/cgroup-util.c +++ b/src/shared/cgroup-util.c @@ -1277,9

Re: [systemd-devel] [Patch 0/5] support for logging the unit of user session units

2013-01-17 Thread Zbigniew Jędrzejewski-Szmek
On Thu, Jan 17, 2013 at 06:55:04PM +0100, Mirco Tischler wrote: > Hi > > The following series of patches implements support for logging user > session units to the journal. Messages by the unit itself are marked with > _SYSTEMD_USER_UNIT and messages regarding the unit from the systemd > instance

Re: [systemd-devel] systemd-analyze-197 broken

2013-01-17 Thread Kok, Auke-jan H
On Tue, Jan 15, 2013 at 9:46 AM, Peeters Simon wrote: > done! > > the code is ugly, but it works :) > > url is still https://gist.github.com/4539003 > i added an example plot from my system: > https://gist.github.com/raw/4539003/6115831235f9a0fa8db8eaf88147d527437045a2/plot.svg > > If somebody fee

[systemd-devel] [PATCH] systemctl: add command list-dependencies

2013-01-17 Thread Lukas Nykryn
systemctl list-dependencies lists all unit's dependecies and recursively expands all subsidiary target units into a tree. Primary purpose for this command is to show all units which are enabled in specified target. --- man/systemctl.xml | 11 +++ src/shared/util.c | 2 + src/sh

[systemd-devel] [Patch 0/5] support for logging the unit of user session units

2013-01-17 Thread Mirco Tischler
Hi The following series of patches implements support for logging user session units to the journal. Messages by the unit itself are marked with _SYSTEMD_USER_UNIT and messages regarding the unit from the systemd instance are marked with USER_UNIT. Patch 1: log _SYSTEMD_USER_UNIT into the journal

[systemd-devel] [PATCH 3/5] logs-show: add show_journal_by_user_unit

2013-01-17 Thread Mirco Tischler
Print the journal for a user session unit. For now this filters by _SYSTEMD_USER_UNIT and USER_UNIT and additionally _UID. --- src/shared/logs-show.c | 205 +++-- src/shared/logs-show.h | 12 +++ 2 files changed, 159 insertions(+), 58 deletions(-) diff

[systemd-devel] [PATCH 1/5] journal: log _SYSTEMD_USER_UNIT for user session units

2013-01-17 Thread Mirco Tischler
--- src/journal/journald-server.c | 11 +++- src/shared/cgroup-util.c | 122 -- src/shared/cgroup-util.h | 1 + 3 files changed, 105 insertions(+), 29 deletions(-) diff --git a/src/journal/journald-server.c b/src/journal/journald-server.c index

[systemd-devel] [PATCH 5/5] man: document the _SYSTEMD_USER_UNIT journal field

2013-01-17 Thread Mirco Tischler
--- man/systemd.journal-fields.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/man/systemd.journal-fields.xml b/man/systemd.journal-fields.xml index 13af4fd..2e9bc5b 100644 --- a/man/systemd.journal-fields.xml +++ b/man/systemd.journal-fields.xml @@ -212,13 +212,15 @@

[systemd-devel] [PATCH 4/5] systemctl: print the user session journal for user session units.

2013-01-17 Thread Mirco Tischler
--- src/systemctl/systemctl.c | 24 +--- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index a2ad0de..d196f15 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -2466,13 +2466,23 @@ st

[systemd-devel] [PATCH 2/5] core: log USER_UNIT instead of UNIT if in user session

2013-01-17 Thread Mirco Tischler
--- src/core/execute.c | 12 ++-- src/core/job.c | 16 src/core/mount.c | 4 ++-- src/core/service.c | 4 ++-- src/core/unit.c| 8 src/core/unit.h| 5 - 6 files changed, 26 insertions(+), 23 deletions(-) diff --git a/src/core/execute.c b/src

Re: [systemd-devel] Support for UEFI's OsIndications to reboot into firmware menus

2013-01-17 Thread Andrey Borzenkov
В Wed, 16 Jan 2013 15:46:32 -0500 Peter Jones пишет: > This is part of work I'm doing to let us run reasonably with "Windows 8 > Fast Boot" features turned on, which aim at making normal boots not > initialize the keyboard, or indeed the entire USB stack (unless it's > used in a already-defined b

Re: [systemd-devel] [PATCH] core: corrects check of strduped controller string

2013-01-17 Thread Zbigniew Jędrzejewski-Szmek
Applied. Zbyszek ___ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Re: [systemd-devel] PATCH: handle SYSTEMCTL_OPTIONS in systemctl

2013-01-17 Thread Frederic Crozat
Le jeudi 17 janvier 2013 à 13:59 +, Colin Guthrie a écrit : > 'Twas brillig, and Frederic Crozat at 16/01/13 17:15 did gyre and gimble: > > Yes, we have a similar patch in /etc/rc.status on openSUSE, which is > > using SYSTEMCTL_OPTIONS as variable name. So far, I haven't found a case > > where

[systemd-devel] Tip: Test-Booting systemd in a VM/container

2013-01-17 Thread Lennart Poettering
Heya! Those not following plus, here's a useful tip when hacking on systemd: http://www.freedesktop.org/wiki/Software/systemd/VirtualizedTesting Lennart -- Lennart Poettering - Red Hat, Inc. ___ systemd-devel mailing list systemd-devel@lists.freedesk

[systemd-devel] [PATCH] core: corrects check of strduped controller string

2013-01-17 Thread novroy
In commit 246aa6d (core: add bus API and systemctl commands for altering cgroup parameters during runtime), when rewriting unit_add_one_default_cgroup to prefered style, the check of strduped b->controller was incorrectly changed to check the containing structure. Correct it. Nestor Ovroy>From b35

Re: [systemd-devel] PATCH: handle SYSTEMCTL_OPTIONS in systemctl

2013-01-17 Thread Colin Guthrie
'Twas brillig, and Frederic Crozat at 16/01/13 17:15 did gyre and gimble: > Yes, we have a similar patch in /etc/rc.status on openSUSE, which is > using SYSTEMCTL_OPTIONS as variable name. So far, I haven't found a case > where --no-block was needed, only "--ignore-dependencies" was needed > (which