Bug#630174: debian-policy: forbid installation into /lib64
- To: Charles Plessy <plessy@debian.org>, 630174@bugs.debian.org
- Subject: Bug#630174: debian-policy: forbid installation into /lib64
- From: Bill Allombert <ballombe@debian.org>
- Date: Tue, 9 Jun 2015 23:00:51 +0200
- Message-id: <[🔎] 20150609210051.GA29092@yellowpig>
- Reply-to: Bill Allombert <ballombe@debian.org>, 630174@bugs.debian.org
- In-reply-to: <20150512002113.GJ22778@falafel.plessy.net>
- References: <20110611204953.17332.65894.reportbug@windlord.stanford.edu> <20110611205802.GW2753@radis.liafa.jussieu.fr> <20110625212841.GA6638@virgil.dodds.net> <20111127025520.GA30772@plessy.org> <20111127035257.GA18425@virgil.dodds.net> <20111127042830.GC9627@merveille.plessy.net> <20111128234525.GD5148@yellowpig> <20150511090113.GA5095@belkar.wrar.name> <20150511093054.GD7260@yellowpig> <20150512002113.GJ22778@falafel.plessy.net>
On Tue, May 12, 2015 at 09:21:13AM +0900, Charles Plessy wrote:
> Le Mon, May 11, 2015 at 11:30:54AM +0200, Bill Allombert a écrit :
> >
> > We should document that to prevent /lib64 to be used for wrong purpose.
> >
> > > In any case I'm not quite sure whether shipping files in lib64 in amd64
> > > packages (juffed/juffed-dev and zynaddsubfx-dssi do this now) is OK.
> >
> > I only found
> > zynaddsubfx-dssi: /usr/lib64/dssi/libzynaddsubfx_dssi.so
> > which I think is a RC bug.
> >
> > But note that this bug is about /lib64, not /usr/lib64
>
> Hi Bill,
>
> while the title is only about /lib64, the main text of the original message
> in for this bug is about /lib64 and /usr/lib64.
OK, here a new patch.
Seconds welcome!
Cheers,
--
Bill. <ballombe@debian.org>
Imagine a large red swirl here.
diff --git a/policy.sgml b/policy.sgml
index 404dc73..f9fdbf7 100644
--- a/policy.sgml
+++ b/policy.sgml
@@ -6955,12 +6955,13 @@ Built-Using: grub2 (= 1.99-9), loadlin (= 1.6e-1)
character.
</p>
</item>
<item>
<p>
- The requirement for amd64 to use <file>/lib64</file>
- for 64 bit binaries is removed.
+ The requirement for amd64 to use <file>/lib64</file> for
+ 64 bit binaries is removed. Only the dynamic linker is
+ allowed to use this directory.
</p>
</item>
<item>
<p>
The requirement for object files, internal binaries, and
@@ -6983,10 +6984,14 @@ Built-Using: grub2 (= 1.99-9), loadlin (= 1.6e-1)
use in cross-installation of library packages from other
architectures, as part of <tt>multiarch</tt>.
</footnote>
</p>
<p>
+ No package for a 64 bit architecture may install files
+ in <file>/usr/lib64/</file> or in a subdirectory of it.
+ </p>
+ <p>
The requirement for C and C++ headers files to be
accessible through the search path
<file>/usr/include/</file> is amended, permitting files to
be accessible through the search path
<file>/usr/include/<var>triplet</var></file> where
Reply to: