Re: [systemd-devel] Antw: [EXT] Re: Still confused with socket activation

2021-02-09 Thread Andrei Borzenkov
On Tue, Feb 9, 2021 at 11:54 AM Ulrich Windl wrote: > > Thanks and "back to the mess": If I use libvirtd.service instead of > libvirtd-tls.socket, it does *not* open the TLS socket, even though the > configuration file contains "listen_tls=1"... libvirtd --listen Did you read the link I gave you

Re: [systemd-devel] Antw: [EXT] Re: Still confused with socket activation

2021-02-09 Thread Michael Chapman
On Tue, 9 Feb 2021, Ulrich Windl wrote: [...] > As for the drop-ins: I neither know what those are expected to do, not who > adds them at run time. See "documentation"... The 50-pacemaker.conf drop-ins are, as their name suggests, created by Pacemaker. Specifically, Pacemaker's systemd resource

Re: [systemd-devel] Antw: [EXT] Re: Still confused with socket activation

2021-02-09 Thread Michael Chapman
On Tue, 9 Feb 2021, Michael Chapman wrote: [...] > Note that when you're using Pacemaker to manage a systemd service, you > should not enable the service in the normal way -- that is, the service > should not be started simply by virtue of it being in the Wants= list of > multi-user.target. The

Re: [systemd-devel] Antw: [EXT] Re: Still confused with socket activation

2021-02-08 Thread Ulrich Windl
>>> Andrei Borzenkov schrieb am 08.02.2021 um 19:43 in Nachricht <63608ba2-0510-0e03-eb20-c92d86521...@gmail.com>: > 08.02.2021 12:10, Ulrich Windl пишет: >> It seems systemd messes with that in a bad way. >> > > Streetlight effect ... > > For the last time - systemd does exactly what unit defi

Re: [systemd-devel] Antw: [EXT] Re: Still confused with socket activation

2021-02-08 Thread Ian Pilcher
On 2/8/21 7:52 AM, Uoti Urpala wrote: This is wrong. Socket units are useful completely independently of whether the unit is started on demand, and it's a good idea to use them even for services that are always started on boot. They allow configuring listening ports in a consistent manner, and ma

Re: [systemd-devel] Antw: [EXT] Re: Still confused with socket activation

2021-02-08 Thread Andrei Borzenkov
08.02.2021 12:10, Ulrich Windl пишет: > It seems systemd messes with that in a bad way. > Streetlight effect ... For the last time - systemd does exactly what unit definitions tell it to do. Unit definitions belong to your application. If unit definitions that come with application are not suita

Re: [systemd-devel] Antw: [EXT] Re: Still confused with socket activation

2021-02-08 Thread Reindl Harald
Am 08.02.21 um 14:52 schrieb Uoti Urpala: On Mon, 2021-02-08 at 11:27 +0100, Reindl Harald wrote: this is *not* what systemd-sockets are for they are for service is started at the first connect This is wrong. Socket units are useful completely independently of whether the unit is started on

Re: [systemd-devel] Antw: [EXT] Re: Still confused with socket activation

2021-02-08 Thread Uoti Urpala
On Mon, 2021-02-08 at 11:27 +0100, Reindl Harald wrote: > this is *not* what systemd-sockets are for > they are for service is started at the first connect This is wrong. Socket units are useful completely independently of whether the unit is started on demand, and it's a good idea to use them eve

Re: [systemd-devel] Antw: [EXT] Re: Still confused with socket activation

2021-02-08 Thread Reindl Harald
Am 08.02.21 um 10:10 schrieb Ulrich Windl: Andrei Borzenkov schrieb am 06.02.2021 um 09:14 in Nachricht <09aa6a69-ee37-ffea-c4fd-e4c5d3327...@gmail.com>: 04.02.2021 10:47, Ulrich Windl пишет: ... I had provided the full units yesterday. Basically I don't know what to do: I just want to

Re: [systemd-devel] Antw: [EXT] Re: Still confused with socket activation

2021-02-08 Thread Ulrich Windl
>>> Andrei Borzenkov schrieb am 06.02.2021 um 09:14 in Nachricht <09aa6a69-ee37-ffea-c4fd-e4c5d3327...@gmail.com>: > 04.02.2021 10:47, Ulrich Windl пишет: ... >> I had provided the full units yesterday. Basically I don't know what to do: > I >> just want to start the service and its sockets at a

Re: [systemd-devel] Antw: [EXT] Re: Still confused with socket activation

2021-02-06 Thread Andrei Borzenkov
04.02.2021 10:47, Ulrich Windl пишет: Andrei Borzenkov schrieb am 03.02.2021 um 19:13 in > Nachricht : >> 02.02.2021 12:43, Ulrich Windl пишет: >>> Hi! >>> >>> Having: >>> --- >>> # /usr/lib/systemd/system/virtlockd.service >>> [Unit] >>> Description=Virtual machine lock manager >>> Requires=

[systemd-devel] Antw: [EXT] Re: Still confused with socket activation

2021-02-04 Thread Ulrich Windl
>>> Ulrich Windl schrieb am 03.02.2021 um 10:34 in Nachricht <601A6E3D.E40 : 161 : 60728>: Lennart Poettering schrieb am 02.02.2021 um 15:59 in > Nachricht <20210202145954.GB36677@gardel-login>: > > On Di, 02.02.21 10:43, Ulrich Windl (ulrich.wi...@rz.uni‑regensburg.de) > wrote: > > > >> Hi

[systemd-devel] Antw: [EXT] Re: Still confused with socket activation

2021-02-03 Thread Ulrich Windl
>>> Andrei Borzenkov schrieb am 03.02.2021 um 19:13 in Nachricht : > 02.02.2021 12:43, Ulrich Windl пишет: >> Hi! >> >> Having: >> --- >> # /usr/lib/systemd/system/virtlockd.service >> [Unit] >> Description=Virtual machine lock manager >> Requires=virtlockd.socket >> Requires=virtlockd-admin.sock

[systemd-devel] Antw: [EXT] Re: Still confused with socket activation

2021-02-03 Thread Ulrich Windl
>>> Lennart Poettering schrieb am 02.02.2021 um 15:59 in Nachricht <20210202145954.GB36677@gardel-login>: > On Di, 02.02.21 10:43, Ulrich Windl (ulrich.wi...@rz.uni‑regensburg.de) wrote: > >> Hi! >> >> Having: >> ‑‑‑ >> # /usr/lib/systemd/system/virtlockd.service >> [Unit] >> Description=Virtual