summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2016-05-25 12:31:20 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2018-07-19 12:35:31 -0400
commit50b001e3d034825142c03e612af9d4a5a307472f (patch)
tree0a9f3850a31401b3a6893038509c77956cef9fe2
parent8dab19e27e7d8c81cf3fec4413172a7597c9da44 (diff)
FSDG: systemd-resolved: Fallback hostname to "gnu-linux" instead of "linux"
-rw-r--r--src/resolve/resolved-manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resolve/resolved-manager.c b/src/resolve/resolved-manager.c
index 01372fc66b..9155ce5c2e 100644
--- a/src/resolve/resolved-manager.c
+++ b/src/resolve/resolved-manager.c
@@ -387,10 +387,10 @@ static int determine_hostname(char **full_hostname, char **llmnr_hostname, char
static const char *fallback_hostname(void) {
/* Determine the fall back hostname. For exposing this system to the outside world, we cannot have it to be
- * "localhost" even if that's the compiled in hostname. In this case, let's revert to "linux" instead. */
+ * "localhost" even if that's the compiled in hostname. In this case, let's revert to "gnu-linux" instead. */
if (is_localhost(FALLBACK_HOSTNAME))
- return "linux";
+ return "gnu-linux";
return FALLBACK_HOSTNAME;
}