Re: [systemd-devel] How to set complex environment for apache?

2012-05-24 Thread Sven Anders
' For some cases it would be nice if you could run an command to set complex environments. Something like: EnvironmentExec=/home/db2inst1/sqllib/db2profile But instead of just reading the file, it's executed and the environment variables are taken. Another idea I had was to have the p

Re: [systemd-devel] systemd-cgls - Memory overflow

2012-05-10 Thread Sven Anders
Am 10.05.2012 14:45, schrieb Sven Anders: > Hello! > > I'm experiencing a problem with systemd-cgls while testing systemd. > > I run systemd for tests on a small KVM VM with ~700MB RAM and no swap. > > If I execute the "systemd-cgls" command, I see the tre

Re: [systemd-devel] systemd-cgls - Memory overflow

2012-05-10 Thread Sven Anders
Am 10.05.2012 22:33, schrieb Michal Schmidt: > On 05/10/2012 02:45 PM, Sven Anders wrote: >> If I execute the "systemd-cgls" command, I see the tree but without >> the command lines of the executables. I only see "n/a". > >> open("/proc/300/cmdli

[systemd-devel] systemd-cgls - Memory overflow

2012-05-10 Thread Sven Anders
Cann ot allocate memory) close(7) [...] The command line is read successfully, but it's opened a second time and this time the tool tries to memory map 1.075.859.456 bytes. Why? I think it will work, if I add swap space or provide more RAM. But the tool should work with

Re: [systemd-devel] SegFaults?!

2012-05-07 Thread Sven Anders
Am 04.05.2012 12:28, schrieb Sven Anders: > Am 03.05.2012 21:12, schrieb Sven Anders: >> Am 03.05.2012 18:33, schrieb Lennart Poettering: >>> On Thu, 03.05.12 18:14, Sven Anders (and...@anduras.de) wrote: >>> >>>> I'm getting some SegFaults, which I ca

Re: [systemd-devel] SegFaults?!

2012-05-04 Thread Sven Anders
Am 03.05.2012 21:12, schrieb Sven Anders: > Am 03.05.2012 18:33, schrieb Lennart Poettering: >> On Thu, 03.05.12 18:14, Sven Anders (and...@anduras.de) wrote: >> >>> I'm getting some SegFaults, which I can not explain. I think the problem >>> lies somewher

Re: [systemd-devel] SegFaults?!

2012-05-03 Thread Sven Anders
Am 03.05.2012 18:33, schrieb Lennart Poettering: > On Thu, 03.05.12 18:14, Sven Anders (and...@anduras.de) wrote: > >> Hello! >> >> I'm getting some SegFaults, which I can not explain. I think the problem >> lies somewhere in my configuration or systemd make

[systemd-devel] SegFaults?!

2012-05-03 Thread Sven Anders
72 0.0 0.3 5764 2368 pts/0Ss 14:26 0:01 -bash root 673 0.0 0.0 0 0 ?S17:58 0:00 [flush-8:0] root 744 0.0 0.1 3436 888 pts/0R+ 18:10 0:00 ps axuw -- Sven Anders () UTF-8 Ribbon Campaign

Re: [systemd-devel] Act on exit code differently?

2012-04-23 Thread Sven Anders
Am 21.04.2012 13:47, schrieb Lennart Poettering: > On Wed, 18.04.12 13:54, Sven Anders (and...@anduras.de) wrote: > >> Hello! >> >> Is it possible to act differently on exit codes? > > No. This is currently not possible. > >> The service may termi

[systemd-devel] Typo

2012-04-19 Thread Sven Anders
Hello! I just want to report a small typo in file "src/install.c" (it's "src/shared/install.c" in the current tree): Line 1938: [UNIT_FILE_ENABLED_RUNTIME] = "enabled-runtie", Should be "enable-runtime", Regards Sven -- Sven And

[systemd-devel] Act on exit code differently?

2012-04-18 Thread Sven Anders
the fatal case (exit codes 5|2|3|4|7|9) it should not try to respawn the service. Regards Sven Anders -- Sven Anders () UTF-8 Ribbon Campaign /\ Support plain text e-mail ANDURAS intranet security AG Messestrasse 3 - 94036

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

2012-03-26 Thread Sven Anders
seful for embedded systems, where pam isn't installed? Regards Sven Anders -- Sven Anders () UTF-8 Ribbon Campaign /\ Support plain text e-mail ANDURAS intranet security AG Messestrasse 3 - 94036 Passau - Germany Web: www.andur

Re: [systemd-devel] systemd-logind.service failed

2012-03-26 Thread Sven Anders
Am 26.03.2012 00:06, schrieb Kay Sievers: > On Sun, Mar 25, 2012 at 22:02, Sven Anders wrote: >> I'm trying to switch to systemd, but I have some minor problem. >> >> "systemctl status systemd-logind.service" reports failure. >> The error message is t

[systemd-devel] systemd-logind.service failed

2012-03-25 Thread Sven Anders
sys/kernel/cap_last_cap" it returns 35 (ok, the same...) So, why is the program trying to set 0x24? (I'm tested this on the kernel version 3.2.2) Maybe anyone has an idea? Regards Sven Anders -- Sven Anders () UTF-8 Ribbon Campaign