Re: [systemd-devel] Help with running a script at shutdown and make it run first before other services

2024-12-11 Thread Andrei Borzenkov
12.12.2024 02:37, David Elie-Dit-Cosaque wrote: ... > So I did a test listing every crio-*.scope present in the cluster in the> After= directive and it worked ! You started with the question "before any other service". This is rather different from what you are asking now. ...> Is there a w

Re: [systemd-devel] Help with running a script at shutdown and make it run first before other services

2024-12-11 Thread David Elie-Dit-Cosaque
I finally found a way to make it work *once* but unless there is a wildcard mechanism in systemd or similar I am not sure how to make it work across several reboots. So I am trying to run this script in a kubernetes node which manages containers using crio and systemd (see https://kubernetes.io/do

Re: [systemd-devel] [EXT] Re: systemd-networkd-wait-online doesn't wait for DNS

2024-12-11 Thread Windl, Ulrich
Could it be that you actually want to wait for nss-lookup.target? Kind regards, Ulrich Windl > -Original Message- > From: systemd-devel On > Behalf Of Nick Rosbrook > Sent: Tuesday, December 10, 2024 8:49 PM > To: Adam Nielsen > Cc: systemd-devel@lists.freedesktop.org > Subject: [EXT] R