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

Bug#201740: marked as done (rootskel: Files in /lib/debian-installer.d/ break mklibs)



Your message dated Mon, 21 Jul 2003 02:47:22 -0400
with message-id <E19eUSA-0003V3-00@auric.debian.org>
and subject line Bug#201740: fixed in rootskel 0.34
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 17 Jul 2003 14:25:44 +0000
>From mlang@lexx.delysid.org Thu Jul 17 09:25:41 2003
Return-path: <mlang@lexx.delysid.org>
Received: from chello080109223066.lancity.graz.surfer.at (lexx.delysid.org) [80.109.223.66] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19d9hV-0005dW-00; Thu, 17 Jul 2003 09:25:41 -0500
Received: from mlang by lexx.delysid.org with local (Exim 3.36 #1 (Debian))
	id 19d9hR-0004qJ-00
	for <submit@bugs.debian.org>; Thu, 17 Jul 2003 16:25:37 +0200
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: rootskel: Files in /lib/debian-installer.d/ break mklibs
From: Mario Lang <mlang@delysid.org>
Date: Thu, 17 Jul 2003 16:25:36 +0200
Message-ID: <[🔎] 873ch5telb.fsf@lexx.delysid.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: Mario Lang <mlang@lexx.delysid.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0
	tests=BAYES_10,HAS_PACKAGE
	version=2.53-bugs.debian.org_2003_06_27
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_06_27 (1.174.2.15-2003-03-30-exp)

Package: rootskel
Version: +N/A; reported 2003-07-17
Severity: critical

The recently created files in /lib/debian-installer.d/ break mklibs:

# Library reduction.
mkdir -p ./tmp/floppy/tree/lib
mklibs -v -d ./tmp/floppy/tree/lib --root=./tmp/floppy/tree `find ./tmp/floppy -type f -perm +0111 -o -name '*.so'`
Command failed with status 1 : readelf --program-headers ./tmp/floppy/tree/lib/debian-installer.d/S30term-linux
With output: readelf: Error: Unable to read in 25964 bytes of section headers
readelf: Error: Not an ELF file - it has the wrong magic bytes at the start
make: *** [floppy-tree-stamp] Error 1

This is due to recently introduced rpath checks.  mklibs
has code to prevent such bugs:

objects = {}  # map from inode to filename
for prog in proglist:
    inode = os.stat(prog)[ST_INO]
    if objects.has_key(inode):
        debug(DEBUG_SPAM, prog, "is a hardlink to", objects[inode])
    elif so_pattern.match(prog):
        debug(DEBUG_SPAM, prog, "is a library")
    elif script_pattern.match(open(prog).read(256)):
        debug(DEBUG_SPAM, prog, "is a script")
    else:
        objects[inode] = prog

So, if those scripts would start with #! mklibs would happily
ignore them.

We have two solutions:

1. Either add #!/bin/sh to those scripts, even if they are
only sourced in /sbin/debian-installer.

2. Put them into some other place outside /lib.


Any preferences?

-- 
CYa,
  Mario | Debian Developer <URL:http://debian.org/>
        | Get my public key via finger mlang@db.debian.org
        | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44

---------------------------------------
Received: (at 201740-close) by bugs.debian.org; 21 Jul 2003 06:53:08 +0000
>From katie@auric.debian.org Mon Jul 21 01:53:04 2003
Return-path: <katie@auric.debian.org>
Received: from auric.debian.org [206.246.226.45] 
	by master.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 19eUXe-0006eL-00; Mon, 21 Jul 2003 01:53:02 -0500
Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian))
	id 19eUSA-0003V3-00; Mon, 21 Jul 2003 02:47:22 -0400
From: Petter Reinholdtsen <pere@debian.org>
To: 201740-close@bugs.debian.org
X-Katie: $Revision: 1.34 $
Subject: Bug#201740: fixed in rootskel 0.34
Message-Id: <E19eUSA-0003V3-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Mon, 21 Jul 2003 02:47:22 -0400
Delivered-To: 201740-close@bugs.debian.org

We believe that the bug you reported is fixed in the latest version of
rootskel, which is due to be installed in the Debian FTP archive:

rootskel-locale_0.34_i386.udeb
  to pool/main/r/rootskel/rootskel-locale_0.34_i386.udeb
rootskel_0.34.dsc
  to pool/main/r/rootskel/rootskel_0.34.dsc
rootskel_0.34.tar.gz
  to pool/main/r/rootskel/rootskel_0.34.tar.gz
rootskel_0.34_i386.udeb
  to pool/main/r/rootskel/rootskel_0.34_i386.udeb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 201740@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Petter Reinholdtsen <pere@debian.org> (supplier of updated rootskel package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 21 Jul 2003 08:38:40 +0200
Source: rootskel
Binary: rootskel-locale rootskel
Architecture: source i386
Version: 0.34
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Petter Reinholdtsen <pere@debian.org>
Description: 
 rootskel   - Skeleton root filesystem used by debian-installer. (udeb)
 rootskel-locale - UTF-8 locale used by debian-installer. (udeb)
Closes: 201740
Changes: 
 rootskel (0.34) unstable; urgency=low
 .
   * Joey Hess
     - Ensure files in lib/debian-installer.d are shell scripts. :-P (Closes: #201740)
     - Remove myself to uploader.
   * Alastair McKinstry
     - true != yes in bash! fix /lib/debian-installer.d scripts to
       understand this.
Files: 
 2f3eb1ec697442970e2c51675d7d8de3 683 debian-installer standard rootskel_0.34.dsc
 830ab50a0ab53e92a41fde71c7cb35c1 19786 debian-installer standard rootskel_0.34.tar.gz
 bfe08872b8eef8e2301bb404e5337421 4922 debian-installer standard rootskel_0.34_i386.udeb
 b59c3af5f0957e3840e4210e4331aac2 34882 debian-installer standard rootskel-locale_0.34_i386.udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/G4ra20zMSyow1ykRAhqoAKDCguf6kdYjXPMsJEVWZ7bOv4b55QCePxk3
CXsirKr6VLrRpDbT7ABJ/pI=
=9JYq
-----END PGP SIGNATURE-----



Reply to: