Bug 209706 - imgact_binmisc.ko: add support for kern_alternate_path(9)
Summary: imgact_binmisc.ko: add support for kern_alternate_path(9)
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords: feature, needs-patch
Depends on:
Blocks:
 
Reported: 2016-05-23 05:52 UTC by Jan Beich
Modified: 2016-05-24 15:14 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer 2016-05-23 05:52:41 UTC
To facilitate mixing foreign executables with native in scripts image activators need to support path translation similar to linuxulator. This would make dynamic ELF executables able to find rtld(1) for their ABI without chroot. Once implemented the path can configured via an optional argument to binmiscctl(8).

  $ /compat/linux/bin/date
  Mon May 22 22:17:47 UTC 2016

  $ /poudriere/jails/head-aarch64/bin/date
  Unable to load interpreter

vs.

  $ sudo chroot /poudriere/jails/head-aarch64 /bin/date
  Mon May 22 22:17:47 UTC 2016