[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 OvroyFrom

[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

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] 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 pjo...@redhat.com пишет: 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

[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 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

[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(-)

[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

[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 +

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 peeters.si...@gmail.com 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

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 are

[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

[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

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 zbys...@in.waw.pl 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,