[systemd-devel] systemd installation

2012-10-26 Thread joshi dhaval
Hi experts, I am new to systemd and have some questions, Is it work for rhel 5 and 6 ? From where I can download package for rhel 5 and 6 After installing will it provide basic functionality or I have to start configuring all services which are currently configured with initscripts Any

[systemd-devel] Journalctl and sshd disconnects

2012-10-26 Thread Jake Rooney
Hi, Couple of questions... At the moment (195) journalctl _SYSTEMD_UNIT=sshd.service prints out most sshd logs, but skips user disconnections/logouts. These seem to be logged under the UID of the user that logged out and are stored in a separate journal. Why is this? journalctl _COMM=sshd

[systemd-devel] [PATCH 1/5] journal: fix memleak, call set_free before return

2012-10-26 Thread Michal Sekletar
--- src/journal/coredumpctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/journal/coredumpctl.c b/src/journal/coredumpctl.c index 5c442ff..aa946ae 100644 --- a/src/journal/coredumpctl.c +++ b/src/journal/coredumpctl.c @@ -57,7 +57,7 @@ static Set *new_matches(void)

[systemd-devel] [PATCH 2/5] localectl: fix memleak, jump to finish before returning

2012-10-26 Thread Michal Sekletar
--- src/locale/localectl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/locale/localectl.c b/src/locale/localectl.c index c05eba0..84feb25 100644 --- a/src/locale/localectl.c +++ b/src/locale/localectl.c @@ -354,7 +354,8 @@ static int list_locales(DBusConnection *bus,

[systemd-devel] [PATCH 3/5] localectl: fix memleak, use _cleanup_strv_free_

2012-10-26 Thread Michal Sekletar
l might contain zero strings, however there is still memory allocated for NULL terminator, use _cleanup_strv_free_ instead to prevent tiny leak in such case. --- src/locale/localectl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/locale/localectl.c

[systemd-devel] [PATCH 5/5] coredumpctl: null check before dereferencing

2012-10-26 Thread Michal Sekletar
--- src/journal/coredumpctl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/journal/coredumpctl.c b/src/journal/coredumpctl.c index aa946ae..800e43f 100644 --- a/src/journal/coredumpctl.c +++ b/src/journal/coredumpctl.c @@ -220,9 +220,10 @@ static int

Re: [systemd-devel] [PATCH] Add zsh completion

2012-10-26 Thread Dave Reisner
On Fri, Oct 26, 2012 at 05:58:41AM -0400, Daniel Wallace wrote: From: Daniel Wallace daniel.wall...@gatech.edu I updated the zsh completion from zsh, and added completion for all the other *ctl commands --- Makefile.am| 4 +

Re: [systemd-devel] [Lxc-users] Unable to run systemd in an LXC / cgroup container.

2012-10-26 Thread Serge Hallyn
Quoting Michael H. Warfield (m...@wittsend.com): On Thu, 2012-10-25 at 20:30 -0500, Serge Hallyn wrote: Quoting Michael H. Warfield (m...@wittsend.com): On Thu, 2012-10-25 at 23:38 +0200, Lennart Poettering wrote: On Thu, 25.10.12 11:59, Michael H. Warfield (m...@wittsend.com) wrote:

Re: [systemd-devel] [Lxc-users] Unable to run systemd in an LXC / cgroup container.

2012-10-26 Thread Michael H. Warfield
Adding in the lxc-devel list. On Thu, 2012-10-25 at 22:59 -0400, Michael H. Warfield wrote: On Thu, 2012-10-25 at 15:42 -0400, Michael H. Warfield wrote: On Thu, 2012-10-25 at 14:02 -0500, Serge Hallyn wrote: Quoting Michael H. Warfield (m...@wittsend.com): On Thu, 2012-10-25 at 13:23

Re: [systemd-devel] [Lxc-users] Unable to run systemd in an LXC / cgroup container.

2012-10-26 Thread Serge Hallyn
Quoting Lennart Poettering (lenn...@poettering.net): On Thu, 25.10.12 14:02, Serge Hallyn (serge.hal...@canonical.com) wrote: Ok... I've done some cursory search and turned up nothing but some comments about pre mount hooks. Where is the documentation about this feature and how I

Re: [systemd-devel] [Lxc-users] Unable to run systemd in an LXC / cgroup container.

2012-10-26 Thread Serge Hallyn
Quoting Michael H. Warfield (m...@wittsend.com): Adding in the lxc-devel list. On Thu, 2012-10-25 at 22:59 -0400, Michael H. Warfield wrote: On Thu, 2012-10-25 at 15:42 -0400, Michael H. Warfield wrote: On Thu, 2012-10-25 at 14:02 -0500, Serge Hallyn wrote: Quoting Michael H. Warfield

Re: [systemd-devel] [Lxc-users] Unable to run systemd in an LXC / cgroup container.

2012-10-26 Thread Michael H. Warfield
On Fri, 2012-10-26 at 09:07 -0500, Serge Hallyn wrote: Quoting Michael H. Warfield (m...@wittsend.com): nm... I see it. It's in git and hasn't made it to a release. I'm working on a git build to test now. If this is something that solves some of this, we need to move things along

Re: [systemd-devel] [PATCH] Add zsh completion

2012-10-26 Thread Daniel Wallace
On Fri, Oct 26, 2012 at 08:41:50AM -0400, Dave Reisner wrote: On Fri, Oct 26, 2012 at 05:58:41AM -0400, Daniel Wallace wrote: From: Daniel Wallace daniel.wall...@gatech.edu I updated the zsh completion from zsh, and added completion for all the other *ctl commands --- Makefile.am

Re: [systemd-devel] Unable to run systemd in an LXC / cgroup container.

2012-10-26 Thread Michael H. Warfield
On Thu, 2012-10-25 at 23:38 +0200, Lennart Poettering wrote: On Thu, 25.10.12 11:59, Michael H. Warfield (m...@wittsend.com) wrote: http://wiki.1tux.org/wiki/Lxc/Installation#Additional_notes Unfortunately, in our case, merely getting a mount in there is a complication in that it

Re: [systemd-devel] Unable to run systemd in an LXC / cgroup container.

2012-10-26 Thread Michael H. Warfield
On Thu, 2012-10-25 at 23:38 +0200, Lennart Poettering wrote: On Thu, 25.10.12 11:59, Michael H. Warfield (m...@wittsend.com) wrote: I've got some more problems relating to shutting down containers, some of which may be related to mounting tmpfs on /run to which /var/run is symlinked to.

Re: [systemd-devel] Unable to run systemd in an LXC / cgroup container.

2012-10-26 Thread Michael H. Warfield
On Fri, 2012-10-26 at 11:58 -0400, Michael H. Warfield wrote: On Thu, 2012-10-25 at 23:38 +0200, Lennart Poettering wrote: On Thu, 25.10.12 11:59, Michael H. Warfield (m...@wittsend.com) wrote: http://wiki.1tux.org/wiki/Lxc/Installation#Additional_notes Unfortunately, in our case,

Re: [systemd-devel] Unable to run systemd in an LXC / cgroup container.

2012-10-26 Thread Michael H. Warfield
On Fri, 2012-10-26 at 12:11 -0400, Michael H. Warfield wrote: On Thu, 2012-10-25 at 23:38 +0200, Lennart Poettering wrote: On Thu, 25.10.12 11:59, Michael H. Warfield (m...@wittsend.com) wrote: I SUSPECT the hang condition is something to do with systemd trying to start and interactive

[systemd-devel] One of my fundamental problems with systemd...

2012-10-26 Thread Michael H. Warfield
My most fundamental problem with systemd is its insistence in hiding and obfuscating errors in ways that makes debugging almost impossible. Almost every upgrade problem I've had in Fedora has been related to systemd's failure to provide comprehendable error messages to things like errors in fstab

Re: [systemd-devel] One of my fundamental problems with systemd...

2012-10-26 Thread Kok, Auke-jan H
On Fri, Oct 26, 2012 at 3:39 PM, Michael H. Warfield m...@wittsend.com wrote: My most fundamental problem with systemd is its insistence in hiding and obfuscating errors in ways that makes debugging almost impossible. Almost every upgrade problem I've had in Fedora has been related to

Re: [systemd-devel] One of my fundamental problems with systemd...

2012-10-26 Thread Reindl Harald
Am 27.10.2012 01:51, schrieb Kok: Active: failed (Result: exit-code) since Wed, 24 Oct 2012 18:23:07 +0400; 1min 57s ago hmm, EXIT CODE failure. It exited with a non-zero status. Process: 91 ExecStart=/etc/rc.d/init.d/network start (code=exited, status=209/STDOUT)

Re: [systemd-devel] One of my fundamental problems with systemd...

2012-10-26 Thread Michael H. Warfield
On Fri, 2012-10-26 at 16:51 -0700, Kok, Auke-jan H wrote: On Fri, Oct 26, 2012 at 3:39 PM, Michael H. Warfield m...@wittsend.com wrote: My most fundamental problem with systemd is its insistence in hiding and obfuscating errors in ways that makes debugging almost impossible. Almost every

Re: [systemd-devel] One of my fundamental problems with systemd...

2012-10-26 Thread Michael H. Warfield
On Fri, 2012-10-26 at 20:06 -0400, Michael H. Warfield wrote: On Fri, 2012-10-26 at 16:51 -0700, Kok, Auke-jan H wrote: On Fri, Oct 26, 2012 at 3:39 PM, Michael H. Warfield m...@wittsend.com wrote: My most fundamental problem with systemd is its insistence in hiding and obfuscating

Re: [systemd-devel] One of my fundamental problems with systemd...

2012-10-26 Thread Kok, Auke-jan H
On Fri, Oct 26, 2012 at 5:48 PM, Michael H. Warfield m...@wittsend.com wrote: It's still failing and it's giving me conflicting errors about directory already exists and then file does not exist (on the directory). This POS is driving me nuts with lack of intelligent debugging information!

Re: [systemd-devel] One of my fundamental problems with systemd...

2012-10-26 Thread Kok, Auke-jan H
On Fri, Oct 26, 2012 at 6:06 PM, Michael H. Warfield m...@wittsend.com wrote: On Fri, 2012-10-26 at 16:51 -0700, Kok, Auke-jan H wrote: This should help. Obviously, journalctl should help you a lot as well. And journalctl gave me jack shit trying to figure this out and I really DON'T need

Re: [systemd-devel] One of my fundamental problems with systemd...

2012-10-26 Thread Michael H. Warfield
On Fri, 2012-10-26 at 18:32 -0700, Kok, Auke-jan H wrote: On Fri, Oct 26, 2012 at 6:06 PM, Michael H. Warfield m...@wittsend.com wrote: On Fri, 2012-10-26 at 16:51 -0700, Kok, Auke-jan H wrote: This should help. Obviously, journalctl should help you a lot as well. And journalctl gave

Re: [systemd-devel] One of my fundamental problems with systemd...

2012-10-26 Thread Michael H. Warfield
On Fri, 2012-10-26 at 21:50 -0400, Michael H. Warfield wrote: On Fri, 2012-10-26 at 18:32 -0700, Kok, Auke-jan H wrote: On Fri, Oct 26, 2012 at 6:06 PM, Michael H. Warfield m...@wittsend.com wrote: On Fri, 2012-10-26 at 16:51 -0700, Kok, Auke-jan H wrote: This should help.

Re: [systemd-devel] One of my fundamental problems with systemd...

2012-10-26 Thread Michael H. Warfield
On Fri, 2012-10-26 at 22:05 -0400, Michael H. Warfield wrote: On Fri, 2012-10-26 at 21:50 -0400, Michael H. Warfield wrote: On Fri, 2012-10-26 at 18:32 -0700, Kok, Auke-jan H wrote: On Fri, Oct 26, 2012 at 6:06 PM, Michael H. Warfield m...@wittsend.com wrote: On Fri, 2012-10-26 at

Re: [systemd-devel] One of my fundamental problems with systemd...

2012-10-26 Thread Olav Vitters
On Fri, Oct 26, 2012 at 10:16:47PM -0400, Michael H. Warfield wrote: BTW... Not to drop names (which I'm about to do) or anything and I know in a big organization not everybody knows everyone but... I prefer judging myself. And at the moment I see you using words like: - crap - POS --

[systemd-devel] [PATCH] systemd: mount the EFI variable filesystem

2012-10-26 Thread Lee, Chun-Yi
Add efivarfs to the mount_table in mount-setup.c, so the EFI variable filesystem will be mounted when systemd executed. The EFI variable filesystem will merge in v3.7 or v3.8 linux kernel. Cc: Kay Sievers k...@vrfy.org Cc: Lennart Poettering lenn...@poettering.net Cc: Mantas Mikulėnas

Re: [systemd-devel] One of my fundamental problems with systemd...

2012-10-26 Thread Olav Vitters
sent too quickly.. On Sat, Oct 27, 2012 at 05:22:30AM +0200, Olav Vitters wrote: On Fri, Oct 26, 2012 at 10:16:47PM -0400, Michael H. Warfield wrote: BTW... Not to drop names (which I'm about to do) or anything and I know in a big organization not everybody knows everyone but... I prefer

Re: [systemd-devel] One of my fundamental problems with systemd...

2012-10-26 Thread Michael H. Warfield
On Sat, 2012-10-27 at 05:24 +0200, Olav Vitters wrote: sent too quickly.. On Sat, Oct 27, 2012 at 05:22:30AM +0200, Olav Vitters wrote: On Fri, Oct 26, 2012 at 10:16:47PM -0400, Michael H. Warfield wrote: BTW... Not to drop names (which I'm about to do) or anything and I know in a big