Date: Sun, 21 Sep 2025 15:02:21 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 289739] linuxemu path translation fails for ELF interpreter being a absolute symlink Message-ID: <bug-289739-227@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289739 Bug ID: 289739 Summary: linuxemu path translation fails for ELF interpreter being a absolute symlink Product: Base System Version: 14.3-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: nimaje+fbz@bureaucracy.de When creating a linux userland via debootstrap the default ELF interpreter is an absolute symlink to the real ELF interpreter. And when pointing compat.linux.emul_path to that userland and trying to run any ELF executable from it, it results in: ELF interpreter /lib64/ld-linux-x86-64.so.2 not found, error 2 After changing that absolute symlink to a relative one, the executable works fine. This suggests path translation didn't get triggered again for the absolute symlink and only the root file system gets searched for it, but not under compat.linux.emul_path. Fixing this would allow userlands created via debootstrap to be used directly on the host without chroot, for usecases where you don't want that seperation. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-289739-227>
