[Bug 1873591] Re: initramfs-tools-core multiarch dns problem
Benjamin Drung
1873591 at bugs.launchpad.net
Fri Sep 20 12:02:53 UTC 2024
This has been fixed in Ubuntu 24.04 (noble). add_dns looks only in the
multiarch directory:
```
multiarch_dir=$(ldd /bin/sh | sed -En 's;^.*/lib(/lib[^/]*prof)?/([^/]+)/libc\.so\..*$;\2;p')
[...]
for f in "/lib/$multiarch_dir/$lib.so".?; do
```
** Changed in: initramfs-tools (Ubuntu)
Status: Confirmed => Fix Released
** Changed in: initramfs-tools (Ubuntu)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1873591
Title:
initramfs-tools-core multiarch dns problem
Status in initramfs-tools package in Ubuntu:
Fix Released
Bug description:
Hi,
in x86_64 multiarch environment the hook-functions -> add_dns()
copy i386 libdns instead of 64bit one.
in add_dns() i replace
for f in "$d"/libc.so.?; do [ -f "$f" ] && break; done
with
for f in "$d"/libc.so; do [ -f "$f" ] && break; done
to fix the problem
regards
ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: initramfs-tools-core 0.136ubuntu6 [modified: usr/share/initramfs-tools/hook-functions]
ProcVersionSignature: Ubuntu 5.4.0-24.28-generic 5.4.30
Uname: Linux 5.4.0-24-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: KDE
Date: Sat Apr 18 21:10:51 2020
InstallationDate: Installed on 2020-04-18 (0 days ago)
InstallationMedia: Kubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200401)
PackageArchitecture: all
SourcePackage: initramfs-tools
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1873591/+subscriptions
More information about the foundations-bugs
mailing list