Re: booststrapping /usr-merged systems (was: Re: DEP 17: Improve support for directory aliasing in dpkg)
- To: debian-devel@lists.debian.org
- Subject: Re: booststrapping /usr-merged systems (was: Re: DEP 17: Improve support for directory aliasing in dpkg)
- From: Simon Richter <sjr@debian.org>
- Date: Sat, 10 Jun 2023 11:25:08 +0900
- Message-id: <[🔎] 56dbbdc4-bea6-8153-8102-8cb2b0cf421b@debian.org>
- In-reply-to: <[🔎] E1q7eEa-00CVvv-IM@mail.einval.com>
- References: <e5c52175-adaa-cd87-3a5f-8b49263b3894@debian.org> <20230504112638.GA3013157@subdivi.de> <aaaccce6-1ecf-624e-cac3-8fdc791648e1@debian.org> <ZFUs94snrqK4X3Pc@argenau.bebt.de> <CAMw=ZnRNJ4L5Qwjn15Cf0yEFZ5XSYad4F070wq+wfcFTYwL0vw@mail.gmail.com> <20230506175434.GA720192@subdivi.de> <CAMw=ZnSAkS=GkNaRvSEFYwX8p3xv64FsdjgcERqR33uLy5=tYw@mail.gmail.com> <20230507055020.GA756628@subdivi.de> <CAMw=ZnRyzknWB+8xPmDmdMsijj079GC9D21026ymi-yKV4eC0A@mail.gmail.com> <20230517093036.GA4104525@subdivi.de> <20230517093036.GA4104525@subdivi.de> <[🔎] E1q7eEa-00CVvv-IM@mail.einval.com>
Hi,
On 10.06.23 00:41, Steve McIntyre wrote:
What exactly do you mean here? You know that even a statically linked
executable needs an interpreter defined in the ELF header?
/sbin/ldconfig has no PT_INTERP segment.
If you use libdl, you need to be loaded through ld.so, and since PAM
uses libdl to load plugins, accessing databases doesn't work when
statically linked without an interpreter, so a lot of people use an
interpreter even in a static link, but it's not required (and would be
counterproductive, the interpreter chain needs to terminate somewhere).
Simon
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature
Reply to: