From 0dd60e7bb37385fad3eeccab1fa51d335517343e Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Wed, 25 May 2016 12:31:20 -0400 Subject: FSDG: systemd-resolved: Fallback hostname to "gnu-linux" instead of "linux" --- src/resolve/resolved-manager.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/resolve/resolved-manager.c b/src/resolve/resolved-manager.c index 2ee027791a..daa8292e8b 100644 --- a/src/resolve/resolved-manager.c +++ b/src/resolve/resolved-manager.c @@ -408,10 +408,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; } -- cgit v1.2.2