Re: hostname-mode=default and hostname set outside NM
- From: Thomas HUMMEL <thomas hummel pasteur fr>
- To: Beniamino Galvani <bgalvani redhat com>
- Cc: networkmanager-list gnome org
- Subject: Re: hostname-mode=default and hostname set outside NM
- Date: Mon, 27 Apr 2020 17:34:40 +0200
On 4/27/20 5:20 PM, Beniamino Galvani wrote:
It uses systemd-hostnamed, and falls back to gethostname() in case of
failure [1].
I should then try to remove hostnamed just to figure out why in
1) hostname from initrd : fqdn
2) NM starts : hostname-originial == fqdn
3) dhcp : short name
4) an external tool issues hostname <short name> and creates another
higher priority NM profile
NM (hostname-mode=default) restores the fqdn (as seen in traces) instead
of the short one in 3) which, according to what you just explained is
the LAST externally set.
I'll try to figure out this myself...Thanks for your help.
--
TH
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]