[systemd-devel] Antw: Re: Antw: [EXT] Re: Q: Change a kernel setting

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Fri Jul 29 10:34:54 UTC 2022


>>> Thomas HUMMEL <thomas.hummel at pasteur.fr> schrieb am 29.07.2022 um 12:13 in
Nachricht <1a6092bd-e540-1642-87a4-811ca9413425 at pasteur.fr>:

> 
> On 29/07/2022 11:41, Ulrich Windl wrote:
> 
>>>    You can use tmpfiles. In the manpage
> 
> Hello, well it seems to depend on the subsystem. I tried the tmpfiles 
> way but still encountered some unexplained race condition as explained here
> 
> https://lists.freedesktop.org/archives/systemd-devel/2022-July/048100.html 
> 
> So I rolled back to a service unit and even so I did have to order it 
> After= a late (custom) target

Did you try ConditionPathExists= in the Unit?

> 
> None of this was satisfactory but I did not manage to find out what 
> happened.
> 
> Thanks
> 
> --
> Thomas HUMMEL






More information about the systemd-devel mailing list