On Wednesday 2017-04-26 17:57, Michael Matz wrote:
>> > From there it follows fairly easily that /usr/lib should be empty on a
>> > pure lib64 system. Also /usr/lib should be able to be mounted noexec, and
>> So where would you move /usr/lib/perl5 then? I has it's own architecture
>> specific subdirectories. And where to put plugins in general? They ought
>> to be in subdirectories of lib to not interfere with the dynamic linker.
>As I said, modules (i.e. DSOs that are used with dlopen, not loaded by
>ld.so) would be placed into (subdirs of) libexec (conceptually (to me)
>they are more similar to helper executables than shared libraries; they
>just happen to be implemented via shared library mechanisms)
>/usr/lib/perl5 is one of the big blobs with its own way of doing things.
>Many (but not all) of the files therein are not arch dependend or binary,
>and hence would actually have a better place under /usr/share. The binary
>files that are there are not shared libraries for the dynamic loader but
>dlopen modules, so that would speak for libexec.
It's not that easy. perl also exists as a dynamic loader library (libperl.so)
that could exist in multiple bitnesses, which means all the Perl modules
(well,mthe XS things) cannot be libexec aka single bitness.
Same for Python..
To unsubscribe, e-mail: opensuse-factory+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-factory+owner(a)opensuse.org