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

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



user debian-policy@lists.debian.org
tag 630174 + patch
usertags 630174 + normative
thanks

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:
> 
> > > Currently, section 9.1.1 relaxes the FHS requirement that /lib64 and
> > > /usr/lib64 be used, but it doesn't prohibit installing files in that
> > > location.  However, due to the way Debian handles this (with symlinks),
> > > bad things happen in terms of tracking files and conflicts if packages
> > > install files into /lib64 and /usr/lib64 and rely on these symlinks.
> 
> > > I think we should instead prohibit (must not) installing files into
> > > /lib64 and /usr/lib64 in packages with architecture amd64.
> 
> > Sounds sensible to me.
> 
> I agree.

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.

Have a nice day,

-- 
Charles Plessy
Tsurumi, Kanagawa, Japan
>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


Reply to: