[systemd-devel] Antw: [EXT] Re: Waiting for (transient) hostname configuration

Ulrich Windl Ulrich.Windl at rz.uni-regensburg.de
Thu Apr 21 06:18:18 UTC 2022


>>> Alessio Igor Bogani <alessio.bogani at elettra.eu> schrieb am 20.04.2022 um 22:09
in Nachricht
<CAPk1OjGa6YrXmar0Nc2eYDvrdJ1x3NWacj8sBHogGoFZNjd03A at mail.gmail.com>:

...
> The %H specifier in the commented ExecStart always returns
> "localhost". The following ExecStart is my workaround to have the

I wonder whether a future version could interpret "\%H" as "substitute %H when it's used, not when it was parsed the first time" ("%%" is in use already).

> hostname provided by DHCP (in the first version it was a while loop
> but a sleep works anyway and make things less convoluted).
> 
> Ciao,
> Alessio






More information about the systemd-devel mailing list