summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-05-25 12:31:20 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-12-17 00:40:55 -0500
commit7079d34e7e79f02d63307b792108b90b89ca10e5 (patch)
treed4e7dcab526b086f70f89f02cb5f1b42ecc07640
parent271900c9a53eae6eefcbb7f059d979e3a126e4af (diff)
FSDG: systemd-resolved: Default to hostname "gnu-linux" instead of "linux"
-rw-r--r--src/resolve/resolved-manager.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resolve/resolved-manager.c b/src/resolve/resolved-manager.c
index 0954641c20..6630585d13 100644
--- a/src/resolve/resolved-manager.c
+++ b/src/resolve/resolved-manager.c
@@ -430,12 +430,12 @@ static int manager_watch_hostname(Manager *m) {
r = determine_hostname(&m->llmnr_hostname, &m->mdns_hostname);
if (r < 0) {
- log_info("Defaulting to hostname 'linux'.");
- m->llmnr_hostname = strdup("linux");
+ log_info("Defaulting to hostname 'gnu-linux'.");
+ m->llmnr_hostname = strdup("gnu-linux");
if (!m->llmnr_hostname)
return log_oom();
- m->mdns_hostname = strdup("linux.local");
+ m->mdns_hostname = strdup("gnu-linux.local");
if (!m->mdns_hostname)
return log_oom();
} else