Re: [systemd-devel] [PATCH] util: fix incorrect escape sequence in string_is_safe()

2015-06-28 Thread Daniel Mack
On 06/28/2015 07:23 PM, Eric Biggers wrote: > --- > src/basic/util.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/basic/util.c b/src/basic/util.c > index 727be56..906e4ab 100644 > --- a/src/basic/util.c > +++ b/src/basic/util.c > @@ -3627,7 +3627,7 @@ bool string_i

Re: [systemd-devel] Question about ExecStartPost= and startup process

2015-06-28 Thread Reindl Harald
Am 28.06.2015 um 19:02 schrieb Francis Moreau: On 06/28/2015 01:01 PM, Reindl Harald wrote: Am 28.06.2015 um 12:00 schrieb Francis Moreau: Hello, For services with Type=Forking, I'm wondering if systemd proceeds starting follow-up units when the command described by ExecStart= exits or whe

Re: [systemd-devel] [PATCH] util: fix incorrect escape sequence in string_is_safe()

2015-06-28 Thread systemd github import bot
Patchset imported to github. To create a pull request, one of the main developers has to initiate one via: -- Generated by https://github.com/haraldh/mail2git _

Re: [systemd-devel] Question about ExecStartPost= and startup process

2015-06-28 Thread Andrei Borzenkov
В Sun, 28 Jun 2015 19:02:57 +0200 Francis Moreau пишет: > On 06/28/2015 01:01 PM, Reindl Harald wrote: > > > > > > Am 28.06.2015 um 12:00 schrieb Francis Moreau: > >> Hello, > >> > >> For services with Type=Forking, I'm wondering if systemd proceeds > >> starting follow-up units when the comma

[systemd-devel] [PATCH] util: fix incorrect escape sequence in string_is_safe()

2015-06-28 Thread Eric Biggers
--- src/basic/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/basic/util.c b/src/basic/util.c index 727be56..906e4ab 100644 --- a/src/basic/util.c +++ b/src/basic/util.c @@ -3627,7 +3627,7 @@ bool string_is_safe(const char *p) { if (*t > 0 && *t < '

Re: [systemd-devel] Question about ExecStartPost= and startup process

2015-06-28 Thread Francis Moreau
On 06/28/2015 01:01 PM, Reindl Harald wrote: > > > Am 28.06.2015 um 12:00 schrieb Francis Moreau: >> Hello, >> >> For services with Type=Forking, I'm wondering if systemd proceeds >> starting follow-up units when the command described by ExecStart= exits >> or when the one described by ExecStart

[systemd-devel] scope vs service units

2015-06-28 Thread Michał Zegan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey. I would like to ask about service vs scope units, both can be created programmatically, so what is a difference/usage scenario for programmatically created service vs scope units if service would have type simple? -BEGIN PGP SIGNATURE- Ver

Re: [systemd-devel] xinetd REMOTE_IP (feature request)

2015-06-28 Thread Jonathan de Boyne Pollard
Fisher, Charles J.: The xinetd server from previous versions of RedHat defined a REMOTE_IP environment variable. Lennart Poettering: I wonder though whether it wouldn't be nicer to follow the variable naming used by CGI here, and introduce $REMOTE_ADDR and $REMOTE_PORT instead of $REMOTE_IP

Re: [systemd-devel] SysVInit service migration to systemd

2015-06-28 Thread Jonathan de Boyne Pollard
Lesley Kimmel: I've been working with RHEL5/6 for the past several years and have developed many init scripts/services which generally use lock files and PID files to allow for tracking of the service status. We are moving to RHEL7 (systemd) in the near future and I am looking for instruction

Re: [systemd-devel] Why we need to read/save random seed?

2015-06-28 Thread cee1
2015-06-15 0:43 GMT+08:00 Greg KH : > On Sun, Jun 14, 2015 at 12:49:55PM -0300, Cristian Rodríguez wrote: >> >> El jun. 14, 2015 10:21, "cee1" escribió: >> > >> > Hi all, >> > >> > Why we need to read/save random seed? Can it be read from /dev/random each >> time? >> >> Because the kernel is borke

Re: [systemd-devel] Question about ExecStartPost= and startup process

2015-06-28 Thread Reindl Harald
Am 28.06.2015 um 12:00 schrieb Francis Moreau: Hello, For services with Type=Forking, I'm wondering if systemd proceeds starting follow-up units when the command described by ExecStart= exits or when the one described by ExecStartPost= exits ? I tried to read the source code to figure this o

[systemd-devel] Question about ExecStartPost= and startup process

2015-06-28 Thread Francis Moreau
Hello, For services with Type=Forking, I'm wondering if systemd proceeds starting follow-up units when the command described by ExecStart= exits or when the one described by ExecStartPost= exits ? I tried to read the source code to figure this out and it *seems* that the latter is true but I'm r