Re: [systemd-devel] [ANNOUNCE] systemd v238

2018-03-08 Thread Umut Tezduyar Lindskog
Hello Zbigniew, On Mon, Mar 5, 2018 at 11:37 PM, Zbigniew Jędrzejewski-Szmek wrote: > Hi, > > systemd-238 has been tagged. > > https://github.com/systemd/systemd/archive/v238/systemd-238.tar.gz > > CHANGES WITH 238: > > * The MemoryAccounting= unit property now defaults to on. After >

Re: [systemd-devel] RFC: enable suspend to idle

2018-03-08 Thread Lennart Poettering
On Mo, 05.03.18 16:19, Oliver Neukum ([email protected]) wrote: > On Fri, 2018-03-02 at 10:18 +0100, Lennart Poettering wrote: > > > But why wouldn't that be a kernel option? I mean, so far the goal was > > to encode "reasonable defaults" in the kernel itself, so that > > userspace is only used wh

[systemd-devel] inetd/chroot

2018-03-08 Thread Fisher, Charles J. (Top Echelon)
I am running some inetd firewall components that came from the legacy FWTK (http://fwtk.org) under systemd socket activation on Oracle Linux 7.4. The author of this code has found bugs in later life. http://www.ranum.com/security/computer_security/editorials/codetools/index.html When I was usin

Re: [systemd-devel] Create a target unit to start & stop a group of services

2018-03-08 Thread 林自均
Hi Zbyszek, Thank you for your explanation. However, I found that Conflicts= will be a good choice for me: # /etc/systemd/system/my-apps-start.target [Unit] Wants=docker.service sshd.service mongodb.service # /etc/systemd/system/my-apps-stop.target [Unit] Conflicts=docke

Re: [systemd-devel] OnFailure=

2018-03-08 Thread Jakob Schürz
Am 2018-03-08 um 07:03 schrieb Andrei Borzenkov: > 08.03.2018 02:37, Jakob Schürz пишет: [...] > > This is apparently wrong, because service briefly goes via "failed" > state every time it fails. It is true that if Restart= is set it > immediately follows by "activating" state again, but OnFailu

[systemd-devel] About supporting relative values (e.g. 50%) in configuration

2018-03-08 Thread ChenQi
Hi All, I'd like to know if systemd community thinks that adding support for relative values in configuration is a good idea. I found a related patch and discussion in https://lists.freedesktop.org/archives/systemd-devel/2015-May/032191.html. Quoting from the comments: """ I'd always keep

[systemd-devel] About supporting relative values (e.g. 50%) in configuration

2018-03-08 Thread ChenQi
Hi All, I'd like to know if systemd community thinks that adding support for relative values in configuration is a good idea. I found a related patch and discussion in https://lists.freedesktop.org/archives/systemd-devel/2015-May/032191.html. Quoting from the comments: """ I'd always keep