Package: live-boot Version: 1:20180603 Severity: important Tags: patch Hi,
libnss_dns.so and libnss_files.so are needed to resolve DNS names. They are not included any more in the initramfs since the files were moved from /lib to /usr/lib. A patch to fix it is attached. -- Benjamin Drung System Developer Debian & Ubuntu Developer 1&1 IONOS Cloud GmbH | Greifswalder Str. 207 | 10405 Berlin | Germany E-mail: benjamin.dr...@cloud.ionos.com | Web: www.ionos.de Head Office: Berlin, Germany District Court Berlin Charlottenburg, Registration number: HRB 125506 B Executive Management: Christoph Steffens, Matthias Steinberg, Achim Weiss Member of United Internet
>From 85521ffd0062f8dcc3d727ccde1dac94d53dcb68 Mon Sep 17 00:00:00 2001 From: Benjamin Drung <benjamin.dr...@profitbricks.com> Date: Wed, 12 Jun 2019 13:03:09 +0200 Subject: [PATCH] Also search for libnss_*.so files in /usr/lib The libnss_*.so were moved from /lib to /usr/lib and were not found any more (breaking resolving the FQDN with "hostname -f"). Therefore also search for libnss_*.so files in /usr/lib. Signed-off-by: Benjamin Drung <benjamin.dr...@profitbricks.com> --- backend/initramfs-tools/live.hook | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/initramfs-tools/live.hook b/backend/initramfs-tools/live.hook index 1817814..b37f54f 100755 --- a/backend/initramfs-tools/live.hook +++ b/backend/initramfs-tools/live.hook @@ -236,11 +236,11 @@ fi [ "${QUIET}" ] || echo -n " dns" -# /lib/libnss_dns.so.*:a DNS -# /lib/libnss_files.so.*: /etc/hosts and /etc/passwd -# /lib/libnss_compat.so.*: /etc/passwd +# libnss_dns.so.*: DNS +# libnss_files.so.*: /etc/hosts and /etc/passwd +# libnss_compat.so.*: /etc/passwd -for _SHLIB in $(find /lib -name 'libnss_dns.so.*' -o -name 'libnss_files.so.*') +for _SHLIB in $(find /lib /usr/lib -name 'libnss_dns.so.*' -o -name 'libnss_files.so.*') do copy_exec "${_SHLIB}" done -- 2.20.1