Re: [systemd-devel] test mode

2011-12-08 Thread Kay Sievers
On Thu, Dec 8, 2011 at 03:40, Ken Bass wrote: > The documentation told me that 'systemd --test' was a great debugging tool. > However, running it simply yields > ''Don't run test mode as root.". Ok So I try to run it as non-root and > get > > Failed to create root cgroup hierarchy: Permission

[systemd-devel] Patch: fix generator for cryptoloop

2011-12-08 Thread Frederic Crozat
Hi, when cryptoloop files are present in /etc/crypttab, systemd is not correctly creating dependencies for mounting them. Attached patch fixes this issue. -- Frederic Crozat SUSE >From 96e7b52ed48e423a62a50677a678d59129a65453 Mon Sep 17 00:00:00 2001 From: Frederic Crozat Date: Thu, 8 Dec 2011

Re: [systemd-devel] Raid device issue

2011-12-08 Thread Ken Bass
I just want to add one additional potential race issue that I saw in my log files. I used the cryptsetup.target which I understood to be a synchronization barrier. In my case I used 'Before=cryptsetup.target' in my mnt-usbkey.mount, but this issue is more general. Looking at the log files,

Re: [systemd-devel] Raid device issue

2011-12-08 Thread Zbigniew Jędrzejewski-Szmek
On 12/08/2011 06:35 PM, Ken Bass wrote: I just want to add one additional potential race issue that I saw in my log files. I used the cryptsetup.target which I understood to be a synchronization barrier. In my case I used 'Before=cryptsetup.target' in my mnt-usbkey.mount, but this issue is more

Re: [systemd-devel] Raid device issue

2011-12-08 Thread Ken Bass
On 12/8/2011 3:45 PM, Zbigniew Jędrzejewski-Szmek wrote: maybe I'm misunderstanding you, but I think that you are looking at the meaning of cryptsetup.target in a wrong way: cryptsetup.target comes after all encrypted devices configured in /etc/crypttab are ready. So it makes sense to do someth

Re: [systemd-devel] FC16 - how to get ExecStop= to be executed at shutdown?

2011-12-08 Thread Zbigniew Jędrzejewski-Szmek
On 12/04/2011 06:50 PM, Josh Geisser wrote: Hi Zbigniew I added the "| logger" b/c i wanted additional proove that the scripts are actually executed, and it seems to work, the start-output is logged into syslog. Hi, as I said before, the output goes _by default_ to syslog (or more precisely

Re: [systemd-devel] Raid device issue

2011-12-08 Thread Zbigniew Jędrzejewski-Szmek
On 12/08/2011 10:00 PM, Ken Bass wrote: On 12/8/2011 3:45 PM, Zbigniew Jędrzejewski-Szmek wrote: maybe I'm misunderstanding you, but I think that you are looking at the meaning of cryptsetup.target in a wrong way: cryptsetup.target comes after all encrypted devices configured in /etc/crypttab ar

[systemd-devel] [PATCH] unit: add specifiers for user name and home directory

2011-12-08 Thread Ran Benita
Currently there is no way to refer to the user's name or home directory from within a unit file. This is mainly a problem for unit files intended for a --user systemd instance, where you might want to set the user's home directory in WorkingDirectory, or otherwise refer to the user's name. This pa