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

Bug#268024: marked as done (bash: test -e gives wrong exit code)



Your message dated Mon, 30 Aug 2004 16:01:42 +0200
with message-id <87ekloencp.fsf@alhambra.bioz.unibas.ch>
and subject line Bug#268024: bash: test -e gives wrong exit code
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; 25 Aug 2004 15:23:05 +0000
>From frank@kuesterei.ch Wed Aug 25 08:23:05 2004
Return-path: <frank@kuesterei.ch>
Received: from balu1.urz.unibas.ch [131.152.1.51] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1Bzzc9-0004Nt-00; Wed, 25 Aug 2004 08:23:05 -0700
Received: from alhambra.bioz.unibas.ch (bioz6-allgem17.bioz.unibas.ch [131.152.17.45])
	by balu1.urz.unibas.ch (8.12.10/8.12.10) with ESMTP id i7PFN3u2003757;
	Wed, 25 Aug 2004 17:23:03 +0200
Received: from frank by alhambra.bioz.unibas.ch with local (Exim 3.35 #1 (Debian))
	id 1BzzTE-0006nN-00; Wed, 25 Aug 2004 17:13:52 +0200
From: "Frank Küster" <frank@kuesterei.ch>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: bash: test -e gives wrong exit code
X-Mailer: reportbug 1.50
Date: Wed, 25 Aug 2004 17:13:52 +0200
Message-Id: <E1BzzTE-0006nN-00@alhambra.bioz.unibas.ch>
Sender: =?iso-8859-1?Q?Frank_K=FCster?= <frank@kuesterei.ch>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

Package: bash
Version: 2.05b-15
Severity: important

Severity might be even release-critical, because it breaks maintainer
scripts, but it is probably in an other package. I just have no idea
how to find out which.

In a pbuilder chroot just upgraded from woody to testing I get:

bin/bash-2.05a# ls -li /usr/share/texmf/tex/generic/config/language.dat 
914717 lrwxrwxrwx  1 root root 23 Aug 25 14:50
/usr/share/texmf/tex/generic/config/language.dat ->
/etc/texmf/language.dat
bin/bash-2.05a# test -e /usr/share/texmf/tex/generic/config/language.dat || echo "not found"
not found
bin/bash-2.05a# dpkg -l bash
Desired=Unknown/Install/Remove/Purge/Hold
|
Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err:
uppercase=bad)
||/ Name                  Version               Description
+++-=====================-=====================-==========================================================
ii  bash                  2.05b-15              The GNU Bourne Again
SHell

/usr/bin/test, and "test -f" gives the same behavior, but it might be
the same bug in both implemenations, or the bug might be in the
filesystem. The problem does not occur for every symlink:

bin/bash-2.05a# test -e /etc/alternatives/pager || echo "not found"
bin/bash-2.05a# s -li /etc/alternatives/pager 
426822 lrwxrwxrwx  1 root root 9 Aug 25 14:44 /etc/alternatives/pager
-> /bin/more
bin/bash-2.05a# 

Puzzled, Frank

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.25
Locale: LANG=C, LC_CTYPE=C (ignored: LC_ALL set to C)

Versions of packages bash depends on:
ii  base-files                  3.1          Debian base system
miscellaneous f
ii  libc6                       2.3.2.ds1-13 GNU C Library: Shared
libraries an
ii  libncurses5                 5.4-4        Shared libraries for
terminal hand

-- no debconf information


---------------------------------------
Received: (at 268024-done) by bugs.debian.org; 30 Aug 2004 14:08:13 +0000
>From frank@kuesterei.ch Mon Aug 30 07:08:13 2004
Return-path: <frank@kuesterei.ch>
Received: from balu2.urz.unibas.ch [131.152.1.52] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1C1mpQ-000509-00; Mon, 30 Aug 2004 07:08:12 -0700
Received: from alhambra.bioz.unibas.ch (bioz6-allgem17.bioz.unibas.ch [131.152.17.45])
	by balu2.urz.unibas.ch (8.12.10/8.12.10) with ESMTP id i7UE83XY032687;
	Mon, 30 Aug 2004 16:08:03 +0200
Received: from localhost ([127.0.0.1] helo=alhambra.bioz.unibas.ch)
	by alhambra.bioz.unibas.ch with esmtp (Exim 3.35 #1 (Debian))
	id 1C1mj9-0006fv-00; Mon, 30 Aug 2004 16:01:43 +0200
To: =?iso-8859-1?q?Adeodato_Sim=F3?= <asp16@alu.ua.es>
Cc: 268024-done@bugs.debian.org
Subject: Re: Bug#268024: bash: test -e gives wrong exit code
Sender: frank.kuester@unibas.ch
X-Attribution: fant
X-Ehrenamt: http://www.langau.de
From: frank@kuesterei.ch (=?iso-8859-1?q?Frank_K=FCster?=)
In-Reply-To: <20040828180719.GA11139@chistera.yi.org> (
 =?iso-8859-1?q?Adeodato_Sim=F3's_message_of?= "Sat, 28 Aug 2004 20:07:19
 +0200")
References: <E1BzzTE-0006nN-00@alhambra.bioz.unibas.ch>
	<16688.41947.317852.107799@gargle.gargle.HOWL>
	<20040828180719.GA11139@chistera.yi.org>
Date: Mon, 30 Aug 2004 16:01:42 +0200
Message-ID: <87ekloencp.fsf@alhambra.bioz.unibas.ch>
User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: quoted-printable
Delivered-To: 268024-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(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_2004_03_25
X-Spam-Level: 

Adeodato Sim=F3 <asp16@alu.ua.es> wrote:

> * Matthias Klose [Sat, 28 Aug 2004 17:25:15 +0200]:
>
>> not reproducible on two unstable and one testing system. any hints?
>
>> Frank K=FCster writes:
>
>> > In a pbuilder chroot just upgraded from woody to testing I get:
>
>> > bin/bash-2.05a# ls -li /usr/share/texmf/tex/generic/config/language.da=
t=20
>> > 914717 lrwxrwxrwx  1 root root 23 Aug 25 14:50
>> > /usr/share/texmf/tex/generic/config/language.dat ->
>> > /etc/texmf/language.dat
>> > bin/bash-2.05a# test -e /usr/share/texmf/tex/generic/config/language.d=
at || echo "not found"
>> > not found
>
>   <i-don't-mind-looking-stupid>
>     nothing in that output proves that /etc/texmf/language.dat does
>     actually exist. any chances of it not being present for some reason?
>   </>

Arrgh. Thank you - of course /etc/texmf/language.dat does not exist, and
I knew that. Big thinko on my side.

Bye, Frank
--=20
Frank K=FCster, Biozentrum der Univ. Basel
Abt. Biophysikalische Chemie



Reply to: