From 0a51c274d6b8e1b36208bb682e1f5db9b50ade2f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Tue, 8 Dec 2020 20:09:31 +0100 Subject: [PATCH] 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. --- systemd.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/systemd.spec b/systemd.spec index f16e7f0..6f9b6b9 100644 --- a/systemd.spec +++ b/systemd.spec @@ -21,7 +21,7 @@ Name: systemd Url: https://www.freedesktop.org/wiki/Software/systemd Version: 247.1 -Release: 2%{?dist} +Release: 3%{?dist} # For a breakdown of the licensing, see README License: LGPLv2+ and MIT and GPLv2+ Summary: System and Service Manager @@ -444,6 +444,7 @@ CONFIGURE_OPTS=( -Db_ndebug=false -Dman=true -Dversion-tag=v%{version}-%{release} + -Dfallback-hostname=fedora -Ddefault-dnssec=no # https://bugzilla.redhat.com/show_bug.cgi?id=1867830 -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 %changelog +* Tue Dec 8 2020 Zbigniew Jędrzejewski-Szmek - 247.1-3 +- Rebuild with fallback hostname change reverted. + * Fri Dec 04 2020 Bastien Nocera - 247.1-2 -+ systemd-247.1-2 - Unset fallback-hostname as plenty of applications expected localhost to mean "default hostname" without ever standardising it (#1892235)