[systemd-devel] Q: Using AssertPathExists in timer units

2024-08-01 Thread Windl, Ulrich
Hi! I wonder: Say service A.service is started via A.timer, and A.service cannot run unless file B exists, so A.service uses AssertPathExists=B. Will it make sense to repeat that requirement in A.timer? The idea was to prevent the timer from starting if the service would not start (due to missin

Re: [systemd-devel] [EXT] Some base questions around systemd-resolved

2024-08-01 Thread Windl, Ulrich
Hi! It does not answer your question, but I wonder who at the Microsoft world started to suggest using “.local” as domain. See https://en.wikipedia.org/wiki/.local for further details. Ulrich From: systemd-devel On Behalf Of struth Sent: Friday, August 2, 2024 1:04 AM To: systemd-devel@lists

Re: [systemd-devel] [EXT] Re: Re: Re: "OnUnitInactiveSec Timer not firing" issue

2024-08-01 Thread Windl, Ulrich
> -Original Message- > From: Michael Chapman > Sent: Wednesday, July 31, 2024 9:14 AM > To: Windl, Ulrich > Cc: Andrei Borzenkov ; Mantas Mikulėnas > ; systemd-devel@lists.freedesktop.org > Subject: [EXT] Re: [systemd-devel] Re: Re: "OnUnitInactiveSec Timer not > firing" issue > > On

Re: [systemd-devel] Some base questions around systemd-resolved

2024-08-01 Thread Mantas Mikulėnas
On Fri, Aug 2, 2024, 02:04 struth wrote: > Hello systemd-devel group. > I have just started using systemd-resolved to try and achieve a goal that > I will try to explain. > I know very little about it (web searches so far) so please excuse any > silly questions or trains of thought. > I have a De

[systemd-devel] Some base questions around systemd-resolved

2024-08-01 Thread struth
Hello systemd-devel group. I have just started using systemd-resolved to try and achieve a goal that I will try to explain. I know very little about it (web searches so far) so please excuse any silly questions or trains of thought. I have a Debian Bullseye client in a Microsoft network that uses a

[systemd-devel] Starting the sshd service on a 'non-bash' system

2024-08-01 Thread Mark Corbin
Hello I was wondering whether anybody has any experience of running the sshd service successfully on a system with a 'non-bash' shell? We're using systemd 250.5 and openssh 8.9p1. Both ssh and scp work as expected with '/bin/sh -> bash.bash' on the target, but with '/bin/sh -> busybox.nosuid' (as

Re: [systemd-devel] [EXT] Re: Re: "OnUnitInactiveSec Timer not firing" issue

2024-08-01 Thread Windl, Ulrich
> -Original Message- > From: Andrei Borzenkov > Sent: Thursday, August 1, 2024 12:49 PM > To: Windl, Ulrich > Cc: systemd-devel@lists.freedesktop.org > Subject: [EXT] Re: Re: [systemd-devel] "OnUnitInactiveSec Timer not firing" > issue > > On Thu, Aug 1, 2024 at 1:42 PM Windl, Ulrich

Re: [systemd-devel] [EXT] Re: "OnUnitInactiveSec Timer not firing" issue

2024-08-01 Thread Andrei Borzenkov
On Thu, Aug 1, 2024 at 1:42 PM Windl, Ulrich wrote: > > Hi! > > On " Try adding Persistent=yes, it should make it behave as you expect (you > still need to start the unit manually at least once to initially trigger the > timer).": > > You talk about the service unit, and not about the timer unit,

Re: [systemd-devel] [EXT] Re: "OnUnitInactiveSec Timer not firing" issue

2024-08-01 Thread Windl, Ulrich
Hi! On " Try adding Persistent=yes, it should make it behave as you expect (you still need to start the unit manually at least once to initially trigger the timer).": You talk about the service unit, and not about the timer unit, right? Systemd.timer says (about Persistent): " Note that this se