diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-07-07 00:29:21 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-07-07 00:29:29 -0400 |
commit | beb0e21d1829fa4e7cace72f57237cd3af6bb38f (patch) | |
tree | 5623f9bce6cfdff55cf47251d42419be12fa17fb /libre/systemd/0005-FSDG-systemd-resolved-Fallback-hostname-to-gnu-linux.patch | |
parent | 3f10cca999669200eeb5fc49d8411082fb5278a5 (diff) | |
download | abslibre-beb0e21d1829fa4e7cace72f57237cd3af6bb38f.tar.gz abslibre-beb0e21d1829fa4e7cace72f57237cd3af6bb38f.tar.bz2 abslibre-beb0e21d1829fa4e7cace72f57237cd3af6bb38f.zip |
libre/systemd: update to 233
Diffstat (limited to 'libre/systemd/0005-FSDG-systemd-resolved-Fallback-hostname-to-gnu-linux.patch')
-rw-r--r-- | libre/systemd/0005-FSDG-systemd-resolved-Fallback-hostname-to-gnu-linux.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/libre/systemd/0005-FSDG-systemd-resolved-Fallback-hostname-to-gnu-linux.patch b/libre/systemd/0005-FSDG-systemd-resolved-Fallback-hostname-to-gnu-linux.patch new file mode 100644 index 000000000..475a368be --- /dev/null +++ b/libre/systemd/0005-FSDG-systemd-resolved-Fallback-hostname-to-gnu-linux.patch @@ -0,0 +1,30 @@ +From b98fdc685b819dca6f6b3fd9ef49ff4b0ec645af Mon Sep 17 00:00:00 2001 +From: Luke Shumaker <lukeshu@parabola.nu> +Date: Wed, 25 May 2016 12:31:20 -0400 +Subject: [PATCH 5/7] 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 9db8b8f61..bcfe3d381 100644 +--- a/src/resolve/resolved-manager.c ++++ b/src/resolve/resolved-manager.c +@@ -383,10 +383,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; + } +-- +2.13.2 + |