Re: [systemd-devel] [PATCH] cgtop: useful error messages when bootup fails

2012-05-21 Thread shawn
Uggh, sorry for sending that super-buggy patch. Here is a better version. On Mon, 2012-05-21 at 22:59 -0700, Shawn Landden wrote: > cgtop quits on startup if all the cgroup mounts it expects are not ready. > Provide user with some indication of why cgtop failed. >From 33fa72fdbed3e82d9910e8ecf4b0

[systemd-devel] [PATCH] cgtop: useful error messages when bootup fails

2012-05-21 Thread Shawn Landden
cgtop quits on startup if all the cgroup mounts it expects are not ready. Provide user with some indication of why cgtop failed. --- src/cgtop/cgtop.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/src/cgtop/cgtop.c b/src/cgtop/cgtop.c index ddb5709..744ddc3 100644 --- a/src/cgtop/cg

[systemd-devel] [PATCH] cgtop: useful error messages when bootup fails

2012-05-21 Thread Shawn Landden
cgtop quits on startup if all the cgroup mounts it expects are not ready. Provide user with some indication of why cgtop failed. --- src/cgtop/cgtop.c |6 ++ 1 file changed, 6 insertions(+) diff --git a/src/cgtop/cgtop.c b/src/cgtop/cgtop.c index ddb5709..381f399 100644 --- a/src/cgtop/cg

[systemd-devel] [PATCH] journal: fix dereferenced pointer in journal_file_rotate()

2012-05-21 Thread Shawn Landden
If journal_file_open() failed, due to (e.g.) -ENOSPC on open() new_file might still be NULL. On error, leave pointer to the old JournalFile (now closed), and require caller to check for error approiately. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=43020 Reported-by: Sjo

Re: [systemd-devel] [PATCH] systemd-analyze: switch to python getopt for argument parsing

2012-05-21 Thread Lennart Poettering
On Sun, 20.05.12 17:01, shawn ([email protected]) wrote: Thanks! Applied > > On Mon, 2012-05-14 at 15:29 -0700, Patrick McCarty wrote: > > On Mon, May 14, 2012 at 03:03:34PM -0700, shawn wrote: > > > avoid excessive indentation > > > > > From aa8f24d4f00ceaa8f1624c64880a62718142660f Mon Se

Re: [systemd-devel] logind: session management

2012-05-21 Thread Lennart Poettering
On Sat, 19.05.12 14:55, David Herrmann ([email protected]) wrote: > > 1) Is there any documentation of the logind DBus API? When kmscon is > > started on a seat, the user can open multiple terminals (similar to > > tabbed windows in terminal emulators). Should I register a session > > wit

Re: [systemd-devel] logind: session management

2012-05-21 Thread Lennart Poettering
On Wed, 16.05.12 16:01, David Herrmann ([email protected]) wrote: > Hi Heya, > I am currently working on kmscon, a user-space VT replacement. In it's > current state, it simply runs a console emulator on a VT but in the > end we want it to fully replace CONFIG_VT. To make it multi-seat

Re: [systemd-devel] RFC : PATCH: initial implementation of system wide rlimit

2012-05-21 Thread Lennart Poettering
On Mon, 21.05.12 18:59, Frederic Crozat ([email protected]) wrote: > > Rebased version, including a fix to newdup macro which went to git some > > weeks ago. > > New version, addressing various comments from irc discussion and with > documentation :) Thanks! Applied with minor fixes! Lennart --

Re: [systemd-devel] RFC : PATCH: initial implementation of system wide rlimit

2012-05-21 Thread Frederic Crozat
Le lundi 21 mai 2012 à 18:04 +0200, Frederic Crozat a écrit : > Le mardi 03 avril 2012 à 15:44 +0200, Frederic Crozat a écrit : > > Le lundi 02 avril 2012 à 22:59 +0200, Lennart Poettering a écrit : > > > On Fri, 30.03.12 17:20, Frederic Crozat ([email protected]) wrote: > > > > > > > >From 5008080

Re: [systemd-devel] [PATCH] Corrected do_switch_root

2012-05-21 Thread Lennart Poettering
On Wed, 16.05.12 14:22, [email protected] ([email protected]) wrote: > From: Harald Hoyer > > do_switch_root now mount moves "/dev", "/proc", "/sys", "/run" and > removes the old root recursively. All applied. Thanks! Lennart -- Lennart Poettering - Red Hat, Inc.

Re: [systemd-devel] Have custom agetty behaviour even after upgadres

2012-05-21 Thread Lennart Poettering
On Wed, 16.05.12 12:07, Colin Guthrie ([email protected]) wrote: > I thought that the actual end point of the symlink was not all that > important... > > e.g. if I have: > > /usr/lib/systemd/system/[email protected] > /etc/lib/systemd/system/[email protected] > /etc/lib/systemd/system/multi-user.ta

Re: [systemd-devel] [PATCH] delta: Support filtering what type of deltas to show

2012-05-21 Thread Lennart Poettering
On Wed, 16.05.12 22:57, Nis Martensen ([email protected]) wrote: > Am 16.05.2012 18:38, schrieb Gergely Nagy: > > The available modifiers are masked, equivalent, redirected, overriden, > > and unchanged - they should be self explanatory, and the man page > > explains them in a little more detai

Re: [systemd-devel] [PATCH] delta: Support filtering what type of deltas to show

2012-05-21 Thread Lennart Poettering
On Wed, 16.05.12 18:38, Gergely Nagy ([email protected]) wrote: > Not everyone is interested in every kind of deltas (and some might > even be interested knowing which files do not have overrides), so this > here is an implementation of a --type=LIST... option for > systemd-delta, that makes it

Re: [systemd-devel] Patch: fix typo in newdup

2012-05-21 Thread Lennart Poettering
On Mon, 21.05.12 18:16, Frederic Crozat ([email protected]) wrote: Thanks, applied! > >From 5944312f891658446edea08e6907dff05daebdec Mon Sep 17 00:00:00 2001 > From: Frederic Crozat > Date: Mon, 21 May 2012 16:53:18 +0200 > Subject: [PATCH] util: fix typo in newdup > > --- > src/shared/util.h |

[systemd-devel] Patch: fix typo in newdup

2012-05-21 Thread Frederic Crozat
-- Frederic Crozat SUSE >From 5944312f891658446edea08e6907dff05daebdec Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Mon, 21 May 2012 16:53:18 +0200 Subject: [PATCH] util: fix typo in newdup --- src/shared/util.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a

Re: [systemd-devel] RFC : PATCH: initial implementation of system wide rlimit

2012-05-21 Thread Frederic Crozat
Le mardi 03 avril 2012 à 15:44 +0200, Frederic Crozat a écrit : > Le lundi 02 avril 2012 à 22:59 +0200, Lennart Poettering a écrit : > > On Fri, 30.03.12 17:20, Frederic Crozat ([email protected]) wrote: > > > > > >From 5008080dda662208278c159213adbd5211496043 Mon Sep 17 00:00:00 2001 > > > From: F

Re: [systemd-devel] [PATCH] sd-pam: Drop uid so parent signal arrives at child.

2012-05-21 Thread Lennart Poettering
On Thu, 17.05.12 12:17, Auke Kok ([email protected]) wrote: > The PAM helper thread needs to capture the death signal from the > parent, but is prohibited from doing so since when the child dies > as normal user, the kernel won't allow it to send a TERM to the > PAM helper thread which is r

Re: [systemd-devel] Breaking ordering cycles... a suggestion.

2012-05-21 Thread Lennart Poettering
On Thu, 17.05.12 16:00, Colin Guthrie ([email protected]) wrote: > >> Or do you think it's not even worth it (medium > >> term goal is probably to disable support for non-native units at compile > >> time anyway I guess...) > > > > I think we will keep that for a long time. We plan though, to

Re: [systemd-devel] Mount files in systemd

2012-05-21 Thread Lennart Poettering
On Thu, 17.05.12 19:54, g4hx ([email protected]) wrote: Heya, > I have been using systemd for a while now, and I have to say that I am > quite impressed by the noticeable speed up during boot. However, I have > some question about systemd that are yet unanswered. I did not find the > reuqired informati

Re: [systemd-devel] [PATCH] journalctl: fix built-in usage output

2012-05-21 Thread Lennart Poettering
On Fri, 18.05.12 21:58, Daniel Mack ([email protected]) wrote: > This brings journalctl's built-in usage output in sync with the man page. > There are no commands to pass, and the help screen should not confuse > users. Thanks! Applied! Lennart -- Lennart Poettering - Red Hat, Inc.

Re: [systemd-devel] [PATCH] cryptsetup: support discards (TRIM)

2012-05-21 Thread Lennart Poettering
On Sat, 19.05.12 09:05, Matthew Monaco ([email protected]) wrote: > From: Matthew Monaco Thanks! Applied! Lennart -- Lennart Poettering - Red Hat, Inc. ___ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mail