Re: [systemd-devel] Handle device node timeout?

2024-02-20 Thread Mikko Rapeli
Hi, On Mon, Feb 19, 2024 at 11:18:13AM +0100, Lennart Poettering wrote: > On Di, 16.01.24 16:06, Mikko Rapeli (mikko.rap...@linaro.org) wrote: > > > Hi, > > > > I have services which depend on a specific device node. How can I run > > some recovery actions when the default 90s timeout for

Re: [systemd-devel] Handle device node timeout?

2024-02-19 Thread Lennart Poettering
On Di, 16.01.24 16:06, Mikko Rapeli (mikko.rap...@linaro.org) wrote: > Hi, > > I have services which depend on a specific device node. How can I run > some recovery actions when the default 90s timeout for finding this > device is hit? > > OnFailure= doesn't work as the service is not even

Re: [systemd-devel] Handle device node timeout?

2024-01-30 Thread Michal Koutný
On Tue, Jan 16, 2024 at 04:06:46PM +0200, Mikko Rapeli wrote: > I have services which depend on a specific device node. How can I run > some recovery actions when the default 90s timeout for finding this > device is hit? (Not sure if it is the best practice to do a plain-text fall back in case

[systemd-devel] Handle device node timeout?

2024-01-16 Thread Mikko Rapeli
Hi, I have services which depend on a specific device node. How can I run some recovery actions when the default 90s timeout for finding this device is hit? OnFailure= doesn't work as the service is not even started. Specifically the case is about supporting TPM2 encrypted rootfs but falling