From f5157f6a05a6a480d6d5104a4a7990e1e7e845d7 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Aug 19 2022 19:41:09 +0000 Subject: Set compile-time fallback hostname to "localhost" This ensures that we have a universal unbranded fallback hostname. The branded fallback hostname will be set in os-release(5) instead. Reference: https://fedoraproject.org/wiki/Changes/FallbackHostname --- diff --git a/systemd.spec b/systemd.spec index 2228f61..7052dab 100644 --- a/systemd.spec +++ b/systemd.spec @@ -523,7 +523,7 @@ CONFIGURE_OPTS=( -Dversion-tag=%{version}-%{release} # https://bugzilla.redhat.com/show_bug.cgi?id=1906010 -Dshared-lib-tag=%{version_no_tilde}-%{release} - -Dfallback-hostname=%[0%{?fedora}?"fedora":"localhost"] + -Dfallback-hostname="localhost" -Ddefault-dnssec=no -Ddefault-dns-over-tls=no # https://bugzilla.redhat.com/show_bug.cgi?id=1867830