[systemd-devel] Waiting for (transient) hostname configuration
Lennart Poettering
lennart at poettering.net
Wed Apr 20 14:47:17 UTC 2022
On Mi, 20.04.22 12:54, Alessio Igor Bogani (alessio.bogani at elettra.eu) wrote:
> > the unit files are *loaded*, i.e. typically at earliest boot, long
> > before they are actually *started*. Thus, if you change the hostname
>
> I understand now. It was the evaluation time of the specifier that I
> have missed. I have just realized that my question was dumb, sorry for
> that.
Not at all.
> > use. If you use systemd-networkd, then the
> > sytemd-network-wait-online.service is what you want to use. If you
> > enable that then network-online.target should be the point where DHCP
> > is acquired and thus also the hostname in effect.
>
> I use systemd-networkd and systemd-networkd-wait-online is enabled but
> unfortunately it doesn't work anyway.
What doesn't work precisely?
Lennart
--
Lennart Poettering, Berlin
More information about the systemd-devel
mailing list