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

Bug#218647: marked as done (binstats: prints error "readlink: too many arguments")

Your message dated Sun, 27 Feb 2005 09:02:03 -0500
with message-id <E1D5Ozj-0006Kb-00@newraff.debian.org>
and subject line Bug#218647: fixed in binstats 1.08-7
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; 1 Nov 2003 22:50:06 +0000
>From jeff@bsrd.net Sat Nov 01 16:50:04 2003
Return-path: <jeff@bsrd.net>
Received: from (l1.bsrd.net) [] 
	by master.debian.org with smtp (Exim 3.35 1 (Debian))
	id 1AG4ZH-00038N-00; Sat, 01 Nov 2003 16:50:04 -0600
Received: (qmail 8676 invoked by uid 1001); 1 Nov 2003 22:50:00 -0000
Message-ID: <20031101225000.8675.qmail@l1.bsrd.net>
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Jeff Sheinberg <jeff@bsrd.net>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: binstats: prints error "readlink: too many arguments"
X-Mailer: reportbug 2.34
Date: Sat, 01 Nov 2003 17:50:00 -0500
X-Debbugs-Cc: Jeff Sheinberg <jeff@bsrd.net>
Delivered-To: submit@bugs.debian.org
X-Spam-Status: No, hits=-9.1 required=4.0
	autolearn=ham version=2.53-bugs.debian.org_2003_11_1
X-Spam-Checker-Version: SpamAssassin 2.53-bugs.debian.org_2003_11_1 (

Package: binstats
Version: 1.08-5
Severity: normal


When I run binstats like this,

    binstats  >/dev/null  2>"${etmp}"  -file="${btmp}"

I get this error message printed onto stderr (${etmp}),

    readlink: too many argument

I suspect this is a quoting problem,

    $ grep readlink /usr/bin/binstats
    # A wrapper around readlink(1).
        readlink -f $f || echo $f
        readlink -f $f || echo $f
       readlink -f "$1" || echo "$1"

since these patches seem to cause the error message disappear,

    --- /usr/bin/binstats   2002-01-08 11:09:32.000000000 -0500
    +++ /tmp/binstats       2003-11-01 17:37:14.000000000 -0500
    @@ -240,11 +240,11 @@ derefsymlink()
       if [ "$1" = -f ]; then
        while read f; do
    -    readlink -f $f || echo $f
    +    readlink -f "$f" || echo "$f"
        done < "$1"
       elif [ "$1" = -s ]; then
        while read f; do
    -    readlink -f $f || echo $f
    +    readlink -f "$f" || echo "$f"
        readlink -f "$1" || echo "$1"

Jeff Sheinberg

-- System Information:
Debian Release: testing/sarge
Architecture: i386
Kernel: Linux l1.bsrd.net 2.4.22-2 #1 Sat Oct 11 17:49:32 EDT 2003 i586

Versions of packages binstats depends on:
ii  bsdmainutils                  6.0.4      collection of more utilities from 
ii  debianutils                   2.6        Miscellaneous utilities specific t
ii  file                          4.06-1     Determines file type using "magic"

-- no debconf information

Received: (at 218647-close) by bugs.debian.org; 27 Feb 2005 14:08:02 +0000
>From katie@ftp-master.debian.org Sun Feb 27 06:08:02 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1D5P5W-0007fL-00; Sun, 27 Feb 2005 06:08:02 -0800
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1D5Ozj-0006Kb-00; Sun, 27 Feb 2005 09:02:03 -0500
From: Javier Fernandez-Sanguino Pen~a <jfs@computer.org>
To: 218647-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#218647: fixed in binstats 1.08-7
Message-Id: <E1D5Ozj-0006Kb-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Sun, 27 Feb 2005 09:02:03 -0500
Delivered-To: 218647-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-CrossAssassin-Score: 2

Source: binstats
Source-Version: 1.08-7

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

  to pool/main/b/binstats/binstats_1.08-7.diff.gz
  to pool/main/b/binstats/binstats_1.08-7.dsc
  to pool/main/b/binstats/binstats_1.08-7_all.deb

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

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

Debian distribution maintenance software
Javier Fernandez-Sanguino Pen~a <jfs@computer.org> (supplier of updated binstats 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)

Hash: SHA1

Format: 1.7
Date: Sat, 26 Feb 2005 23:25:48 +0100
Source: binstats
Binary: binstats
Architecture: source all
Version: 1.08-7
Distribution: unstable
Urgency: low
Maintainer: Javier Fernandez-Sanguino Pen~a <jfs@computer.org>
Changed-By: Javier Fernandez-Sanguino Pen~a <jfs@computer.org>
 binstats   - Statistics tool for installed programs
Closes: 146465 218647 292019
 binstats (1.08-7) unstable; urgency=low
   * Adopting this package, as makejail Depends: on it (Closes: #292019)
   * Updated Standard-Versions:
     * Adjusted CFLAGS and LDFLAGS in debian/rules just in case
       the binaries are built again
     * Fixed binary-arch for the same reason, althoug the package remains
       Arch: all
   * Quote readlink calls (Closes: #218647)
   * Add the package to the unused library list (Closes: #146465)
   * Add a check to review which of the packages holding unused libraries
     are not used at all.
   * Redirect error output of the find call to /dev/null (in case it
     finds dangling symlinks)
   * Use mktemp instead of mkdir to prevent a race condition
   * Change the script so BSLOG and BSLOGTMP are created before they are
     used, this does not prevent some race conditions so don't run
     this script in untrusted directories.
   * Remove debugging output in Makefile, if present
 843bff34c9ec8f3cbe6278beb53eb0d4 692 utils optional binstats_1.08-7.dsc
 f53cb2e5b15866712bb493ff96d3ae49 6421 utils optional binstats_1.08-7.diff.gz
 f0ee570988dabb32a62ab5d7941e75f5 15440 utils optional binstats_1.08-7_all.deb

Version: GnuPG v1.4.0 (GNU/Linux)


Reply to: