[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

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 gre...@linuxfoundation.org: On Sun, Jun 14, 2015 at 12:49:55PM -0300, Cristian Rodríguez wrote: El jun. 14, 2015 10:21, cee1 fykc...@gmail.com escribió: Hi all, Why we need to read/save random seed? Can it be read from /dev/random each time? Because

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

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

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

[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-

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 francis.m...@gmail.com пишет: 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

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: https://github.com/systemd/systemd/compare/master...systemd-mailing-devs:1435512180-3659-1-git-send-email-ebiggers3%40gmail.com -- Generated by https://github.com/haraldh/mail2git

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

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 ExecStartPost= exits