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

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Tue Feb 9 11:37:46 UTC 2021


>>> Michael Chapman <mike at very.puzzling.org> schrieb am 09.02.2021 um 10:17 in
Nachricht <db63d89b-ac89-474-6453-c3a33ee9cf6 at very.puzzling.org>:
> On Tue, 9 Feb 2021, Ulrich Windl wrote:
> [...]
>> At what timne exactly? When pacemaker starts, or when the systemd using is
>> about to be started?
> 
> Pacemaker adds the drop‑in just before it starts the resource, and it 
> removes the drop‑in just after it stops the resource. It's entire purpose 
> is to handle the case when Pacemaker and the service are *simultaneously* 
> stopped (i.e. by something external to Pacemaker).
> 
> Without the drop‑in, what can happen is that the service is stopped before 
> Pacemaker thinks it should be stopped... which makes Pacemaker attempt to 
> recover the resource... which makes every go wrong quickly.

Yeah two resource managers is one too many (much?).





More information about the systemd-devel mailing list