Revert the fallback hostname revert

Sadly, this does not work.

It seems NM queries resolved for the local IP address and gets "linux"
and sets that as the transient hostname. Resolved has a "fallback hostname"
(that will now again be "fedora"), but it also has a fallback fallback hostname
that is "linux" that it used in reverse dns queries and such. NM gets
the "linux" name and tells hostnamed to use that as the transient hostname.
I don't think this is an improvement, since "linux" is a problematic
as "fedora". So let's revert this for now to avoid pointless churn,
until we figure out a real solution.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2020-12-08 20:09:31 +01:00
parent a91e823771
commit 0a51c274d6

View File

@ -21,7 +21,7 @@
Name: systemd Name: systemd
Url: https://www.freedesktop.org/wiki/Software/systemd Url: https://www.freedesktop.org/wiki/Software/systemd
Version: 247.1 Version: 247.1
Release: 2%{?dist} Release: 3%{?dist}
# For a breakdown of the licensing, see README # For a breakdown of the licensing, see README
License: LGPLv2+ and MIT and GPLv2+ License: LGPLv2+ and MIT and GPLv2+
Summary: System and Service Manager Summary: System and Service Manager
@ -444,6 +444,7 @@ CONFIGURE_OPTS=(
-Db_ndebug=false -Db_ndebug=false
-Dman=true -Dman=true
-Dversion-tag=v%{version}-%{release} -Dversion-tag=v%{version}-%{release}
-Dfallback-hostname=fedora
-Ddefault-dnssec=no -Ddefault-dnssec=no
# https://bugzilla.redhat.com/show_bug.cgi?id=1867830 # https://bugzilla.redhat.com/show_bug.cgi?id=1867830
-Ddefault-mdns=no -Ddefault-mdns=no
@ -891,8 +892,10 @@ getent passwd systemd-network &>/dev/null || useradd -r -u 192 -l -g systemd-net
%files standalone-sysusers -f .file-list-standalone-sysusers %files standalone-sysusers -f .file-list-standalone-sysusers
%changelog %changelog
* Tue Dec 8 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 247.1-3
- Rebuild with fallback hostname change reverted.
* Fri Dec 04 2020 Bastien Nocera <bnocera@redhat.com> - 247.1-2 * Fri Dec 04 2020 Bastien Nocera <bnocera@redhat.com> - 247.1-2
+ systemd-247.1-2
- Unset fallback-hostname as plenty of applications expected localhost - Unset fallback-hostname as plenty of applications expected localhost
to mean "default hostname" without ever standardising it (#1892235) to mean "default hostname" without ever standardising it (#1892235)