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

2024-12-09 Thread David Elie-Dit-Cosaque
Hi Dan and Andrei, thanks a lot for the explanation and code snippets, I try it out. Thanks, David. On Sun, Dec 8, 2024 at 10:13 AM Dan Nicholson wrote: > On Fri, Dec 6, 2024 at 3:16 PM David Elie-Dit-Cosaque > wrote: > > > > Hi All, > > > > I am trying to create a systemd service that would

Re: [systemd-devel] detaching existing extensions with new systemd extension attach

2024-12-09 Thread Lennart Poettering
On So, 08.12.24 07:59, Umut Tezduyar Lindskog (umut.tezdu...@axis.com) wrote: > Thank for this. > We tested the move_mount syscall with the MOVE_MOUNT_BENEATH flag > and found that it only works if the parent mount is set to private, Did you see the comments in mount_exchange_graceful()? > whic