[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#630174: debian-policy: forbid installation into /lib64



On Sun, Nov 27, 2011 at 11:55:20AM +0900, Charles Plessy wrote:
> Le Sat, Jun 25, 2011 at 04:28:41PM -0500, Steve Langasek a écrit :
> > On Sat, Jun 11, 2011 at 10:58:02PM +0200, Julien Cristau wrote:
> > > On Sat, Jun 11, 2011 at 13:49:53 -0700, Russ Allbery wrote:

> Here is a patch.

> According to apt-file, prohibiting to install files into /lib64 and /usr/lib64
> on amd64 would make only one package RC-buggy, juffed, in its experimental
> version.

I'm not sure why your apt-file invocation wouldn't have turned it up, but
libc6 in unstable installs /lib64/ld-linux-x86-64.so.2.  So as written this
would make libc RC buggy, which is not what we want.  (At the time of the
previous discussion, libc was not installing this to /lib64; the change was
made as a result of a more thorough analysis of the consequences of
multiarch on i386 systems.)

Also, this shouldn't spell out "with architecture amd64".  Packages on *all*
architectures must avoid use of /lib64 and /usr/lib64, with a handful of
exceptions.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

> >From 8a708ce2125835e537566fc1f75094d91076f573 Mon Sep 17 00:00:00 2001
> From: Charles Plessy <plessy@debian.org>
> Date: Sun, 27 Nov 2011 11:40:21 +0900
> Subject: [PATCH] Forbid installation into /lib64 and /usr/lib64.
> 
> Closes: #630174
> ---
>  policy.sgml |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/policy.sgml b/policy.sgml
> index 3122632..47fbfb4 100644
> --- a/policy.sgml
> +++ b/policy.sgml
> @@ -6185,8 +6185,8 @@ install -m644 debian/shlibs.<var>package</var> debian/<var>package</var>/DEBIAN/
>                </item>
>                <item>
>                  <p>
> -                  The requirement for amd64 to use <file>/lib64</file>
> -                  for 64 bit binaries is removed.
> +                  Packages with architecture amd64 must not install files
> +                  in <file>/lib64</file> and <file>/usr/lib64</file>.
>                  </p>
>                </item>
>                <item>
> -- 
> 1.7.5.4
> 

Attachment: signature.asc
Description: Digital signature


Reply to: