On 4/20/20 5:10 PM, Thomas HUMMEL wrote:

At this point, the transient hostname is unchanged (which is what I'd expect) as seen with hostnamectl above or directly asking dbus:

[root@maestro-1000 ~]# dbus-send --print-reply --system --dest=org.freedesktop.hostname1 /org/freedesktop/hostname1 org.freedesktop.DBus.Properties.Get string:'org.freedesktop.hostname1' string:'Hostname' method return time=1587394568.997699 sender=:1.80 -> destination=:1.85 serial=9 reply_serial=2
    variant       string "maestro-1000"

but a moment later, it get sets to 'toto':

Actually, I noticed this is true when NetworkManager's hostname-mode setting is set to 'none'. If set to 'dhcp', the transient hostname aligns instantly to the new static one.

Thanks

--
TH


_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to