[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#41189] [PATCH 0/3] Add Fakechroot engine for 'guix pack -RR'
From: |
Carlos O'Donell |
Subject: |
[bug#41189] [PATCH 0/3] Add Fakechroot engine for 'guix pack -RR' |
Date: |
Tue, 12 May 2020 08:09:53 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
On 5/12/20 6:03 AM, Ludovic Courtès wrote:
> One thing that won’t work is dlopen because our ‘--library-path’
> argument is computed statically based on the RUNPATH of the wrapped
> program. So for instance if you try to load guile-readline.so from
> Guile, it eventually fails because libreadline.so isn’t found
> (libreadline.so is in the RUNPATH of guile-readline.so, but the loader
> uses non-interposable calls here as well.) Probably no simple solution
> to that one.
There is a simple solution. You need to write a dynamic loader audit module
that handles la_objsearch() and inject your lookup path. See man 7 rtld-audit.
The dynamic loader audit modules allow you to alter the loader's core behaviour
with a plugin.
--
Cheers,
Carlos.
- [bug#41189] [PATCH 0/3] Add Fakechroot engine for 'guix pack -RR', Ludovic Courtès, 2020/05/11
- [bug#41189] [PATCH 1/3] pack: Wrapper honors 'GUIX_EXECUTION_ENGINE' environment variable., Ludovic Courtès, 2020/05/11
- [bug#41189] [PATCH 0/3] Add Fakechroot engine for 'guix pack -RR', Carlos O'Donell, 2020/05/12
- [bug#41189] [PATCH 0/3] Add Fakechroot engine for 'guix pack -RR', Ludovic Courtès, 2020/05/12
- [bug#41189] [PATCH 0/3] Add Fakechroot engine for 'guix pack -RR',
Carlos O'Donell <=
- [bug#41189] [PATCH 0/3] Add Fakechroot engine for 'guix pack -RR', Ludovic Courtès, 2020/05/12
- [bug#41189] [PATCH v2 0/4] Add Fakechroot engine for 'guix pack -RR', Ludovic Courtès, 2020/05/13
- [bug#41189] [PATCH v2 1/4] pack: Wrapper honors 'GUIX_EXECUTION_ENGINE' environment variable., Ludovic Courtès, 2020/05/13
- [bug#41189] [PATCH v2 3/4] gnu: Add fakechroot., Ludovic Courtès, 2020/05/13
- [bug#41189] [PATCH v2 4/4] pack: Add relocation via ld.so and fakechroot., Ludovic Courtès, 2020/05/13
- [bug#41189] [PATCH v2 2/4] pack: Factorize store references in wrapper., Ludovic Courtès, 2020/05/13
- bug#41189: [PATCH v2 0/4] Add Fakechroot engine for 'guix pack -RR', Ludovic Courtès, 2020/05/14