Re: [systemd-devel] Help required for configuring a blocking service during shutdown

2022-08-31 Thread Etienne Champetier
Hi, Le lun. 29 août 2022 à 06:31, Henning Moll a écrit : > > Hi, > > back in the rcX days I configured a backup system which blocks a system > shutdown in a certain state (network and mounts still active) if a backup is > still running. The init script looks like this: > > ... > case "$1" in >

Re: [systemd-devel] Antw: Re: Antw: [EXT] [systemd‑devel] systemd‑tmpfiles: behavior of ‑‑clean

2022-08-31 Thread SCOTT FIELDS
By this logic, the '--clean' option shouldn't exist in systemd-tmpfiles. The point here is that apps aren't perfect, and you still need to periodically cleanup items that apps haven't. That can be due to app bugs or behavior issues in certain situations (and in some cases, ones that aren't

Re: [systemd-devel] Getting rid of the /run/credentials mount

2022-08-31 Thread Marc Haber
On Fri, Aug 26, 2022 at 07:28:37AM +0200, Marc Haber wrote: > On Thu, Aug 25, 2022 at 11:37:12PM +0300, Topi Miettinen wrote: > > On 25.8.2022 22.42, Marc Haber wrote: > > > on the system and sends an alert if things change on the system. In the > > > Debian package, this is done from cron. I

[systemd-devel] Antw: Re: Antw: [EXT] [systemd‑devel] systemd‑tmpfiles: behavior of ‑‑clean

2022-08-31 Thread Ulrich Windl
>>> Wols Lists schrieb am 31.08.2022 um 09:25 in Nachricht <6c25970f-c7cb-2728-a827-1452e1937...@youngman.org.uk>: > On 31/08/2022 07:16, Ulrich Windl wrote: >>> 'tomcat.<>' with other associated files (or directories below this). > >> I think with the guideline "clean up your own dirt"

Re: [systemd-devel] Antw: [EXT] [systemd‑devel] systemd‑tmpfiles: behavior of ‑‑clean

2022-08-31 Thread Wols Lists
On 31/08/2022 07:16, Ulrich Windl wrote: 'tomcat.<>' with other associated files (or directories below this). I think with the guideline "clean up your own dirt" there wouldn't be so much need for external cleanup if the applications would do a better job. The application always knows

Re: [systemd-devel] Antw: [EXT] Re: Help required for configuring a blocking service during shutdown

2022-08-31 Thread Ulrich Windl
>>> Henning Moll schrieb am 31.08.2022 um 08:13 in Nachricht : > Just tried "shutdown -r now" and unfortunately it also doesn't care about > systemd-inhibit. Is the systemd shutdown target triggered anyway? I guess it is. If so, the problem must be deeper "under the hood". > Gesendet:

Re: [systemd-devel] Antw: [EXT] Re: Help required for configuring a blocking service during shutdown

2022-08-31 Thread Henning Moll
Just tried "shutdown -r now" and unfortunately it also doesn't care about systemd-inhibit.     Gesendet: Mittwoch, 31. August 2022 um 08:07 Uhr Von: "Ulrich Windl" An: "Michael Biebl" , newssc...@gmx.de Cc: "systemd-devel@lists.freedesktop.org" Betreff: Antw: [EXT] Re: [systemd-devel] Help

[systemd-devel] Antw: [EXT] [systemd‑devel] systemd‑tmpfiles: behavior of ‑‑clean

2022-08-31 Thread Ulrich Windl
>>> SCOTT FIELDS schrieb am 30.08.2022 um 21:15 in Nachricht > I'm currently running systemd 219‑78. > > I realize there's significant behavior differences in the current release, > but per the documentation, I take it the behavior of '‑clean' hasn't changed > in regards to directly

[systemd-devel] Antw: [EXT] Re: Help required for configuring a blocking service during shutdown

2022-08-31 Thread Ulrich Windl
>>> Henning Moll schrieb am 30.08.2022 um 16:24 in Nachricht : > Hi, > > This is an interesting mechanism, but unfortunately it is to weak for my use > case: It does only delay reboots which are initiated via "systemctl ...". A > "sudo reboot" is not delayed At least in the past there was a