Debian Bug report logs - #10111
methods/disk/setup should not work around bash bug

version graph

Package: dpkg; Maintainer for dpkg is Dpkg Developers <debian-dpkg@lists.debian.org>; Source for dpkg is src:dpkg (PTS, buildd, popcon).

Reported by: Santiago Vila Doncel <sanvila@unex.es>

Date: Sun, 25 May 1997 17:18:03 UTC

Severity: wishlist

Merged with 10131

Found in version 1.4.0.8

Done: Wichert Akkerman <wichert@cistron.nl>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Klee Dienes and Ian Jackson <dpkg-maint@chiark.greenend.org.uk>:
Bug#10111; Package dpkg. (full text, mbox, link).


Acknowledgement sent to Santiago Vila Doncel <sanvila@unex.es>:
New bug report received and forwarded. Copy sent to Klee Dienes and Ian Jackson <dpkg-maint@chiark.greenend.org.uk>. (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Santiago Vila Doncel <sanvila@unex.es>
To: submit@bugs.debian.org
Subject: broken pipe in .../methods/disk/setup
Date: Sun, 25 May 1997 19:20:38 +0200 (MEST)
Package: dpkg
Version: 1.4.0.8

When I run deselect and go to `[A]ccess' and then `mounted', I tell
which the Distribution top level is and then it shows a message like this:

/usr/lib/dpkg/methods/disk/setup:

line 8:  8531 Broken pipe             
 find "$mountpoint$2" -follow -name '*.deb' -print 2>/dev/null
      8532 Done                    | head -1
      8533 Done                    | grep . >/dev/null

Maybe this is a bash-2.00 problem?



Bug reassigned from package `dpkg' to `dpkg-mountable'. Request was from Klee Dienes <klee@mit.edu> to control@bugs.debian.org. (full text, mbox, link).


Reply sent to Andy Mortimer <andy.mortimer@poboxes.com>:
You have taken responsibility. (full text, mbox, link).


Notification sent to Santiago Vila Doncel <sanvila@unex.es>:
Bug acknowledged by developer. (full text, mbox, link).


Message #12 received at 10111-done@bugs.debian.org (full text, mbox, reply):

From: Andy Mortimer <andy.mortimer@poboxes.com>
To: 10111-done@bugs.debian.org
Subject: CLosing this bug
Date: Thu, 4 Dec 1997 19:07:05 +0000
Not only were there many other bug reports about this, and not only has
it almost certainly been fixed anyway, this one appears to have been
spuriously reassigned to dpkg-mountable. So I decided to close it, rather
than reassigning it for somebody else to close ...

Andy

-- 
Andy Mortimer, andy.mortimer@poboxes.com
http://www.poboxes.com/andy.mortimer
PGP public key available on key servers
--
``I don't care.'' If only I could say that and not feel so sick and scared.
``I don't care.'' If only I could say that.
If only my eyes would close.


Information forwarded to debian-bugs-dist@lists.debian.org, Andy Mortimer <andy.mortimer@poboxes.com>:
Bug#10111; Package dpkg-mountable. (full text, mbox, link).


Acknowledgement sent to Santiago Vila Doncel <sanvila@unex.es>:
Extra info received and forwarded to list. Copy sent to Andy Mortimer <andy.mortimer@poboxes.com>. (full text, mbox, link).


Message #17 received at 10111@bugs.debian.org (full text, mbox, reply):

From: Santiago Vila Doncel <sanvila@unex.es>
To: control@bugs.debian.org
Cc: 10111@bugs.debian.org
Subject: Bug#10111 (broken pipe in .../methods/disk/setup)
Date: Fri, 5 Dec 1997 12:40:32 +0100 (CET)
reopen 10111
reassign 10111 dpkg
merge 10111 10131
stop

Andy Mortimer <andy.mortimer@poboxes.com> writes:

To: 10111-done@bugs.debian.org
Subject: CLosing this bug

   Not only were there many other bug reports about this, and not only has
   it almost certainly been fixed anyway, this one appears to have been
   spuriously reassigned to dpkg-mountable. So I decided to close it,
   rather than reassigning it for somebody else to close ...


IMHO, this is not the best way of dealing with a bug report.
If there are many other bug reports about this, it would have to be
*merged*, so that I will know when it is fixed. Bugs are not closed when
they have "almost certainly been fixed" but when they are *really* fixed.

I'm running unstable, and this bug is still *not* fixed.

I have traced the problem and I think that the error is in line 432
of /usr/lib/dpkg/methods/disk/setup. This file belongs to dpkg, so I'm
reassigning this bug to dpkg again.

Thanks.



Bug reopened, originator not changed. Request was from Santiago Vila Doncel <sanvila@unex.es> to control@bugs.debian.org. (full text, mbox, link).


Bug reassigned from package `dpkg-mountable' to `dpkg'. Request was from Santiago Vila Doncel <sanvila@unex.es> to control@bugs.debian.org. (full text, mbox, link).


Merged 10111 10131. Request was from Santiago Vila Doncel <sanvila@unex.es> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Klee Dienes and Ian Jackson <dpkg-maint@chiark.greenend.org.uk>:
Bug#10111; Package dpkg. (full text, mbox, link).


Acknowledgement sent to Guy Maor <maor@ece.utexas.edu>:
Extra info received and forwarded to list. Copy sent to Klee Dienes and Ian Jackson <dpkg-maint@chiark.greenend.org.uk>. (full text, mbox, link).


Message #28 received at 10111@bugs.debian.org (full text, mbox, reply):

From: Guy Maor <maor@ece.utexas.edu>
To: Santiago Vila Doncel <sanvila@unex.es>, 10111@bugs.debian.org
Subject: Re: Bug#10111: broken pipe in .../methods/disk/setup)
Date: 06 Dec 1997 11:55:32 -0800
Santiago Vila Doncel <sanvila@unex.es> writes:

> I have traced the problem and I think that the error is in line 432
> of /usr/lib/dpkg/methods/disk/setup. This file belongs to dpkg, so I'm
> reassigning this bug to dpkg again.

Ian has seen fit to assign these bugs to bash.  I don't disagree with
him that bash probably is misdesigned in this respect, though I think
his chances of getting bash to change are small indeed.  I've
communicated the issues to Chet several times, but haven't received
much of a reply.

Ian, I'll keep the bugs open against bash, but just to be practical,
you ought to add a few lines to disk/setup to prevent these warning
lines.


Guy


Severity set to `fixed'. Request was from Joel Klecker <jk@espy.org> to control@bugs.debian.org. (full text, mbox, link).


Severity set to `fixed'. Request was from Joel Klecker <jk@espy.org> to control@bugs.debian.org. (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Ian Jackson and others <dpkg-maint@chiark.greenend.org.uk>:
Bug#10111; Package dpkg. (full text, mbox, link).


Acknowledgement sent to Ian Jackson <ian@davenant.greenend.org.uk>:
Extra info received and forwarded to list. Copy sent to Ian Jackson and others <dpkg-maint@chiark.greenend.org.uk>. (full text, mbox, link).


Message #37 received at 10111@bugs.debian.org (full text, mbox, reply):

From: Ian Jackson <ian@davenant.greenend.org.uk>
To: 10111@bugs.debian.org, bash@packages.debian.org
Subject: `broken pipe in .../methods/disk/setup'
Date: Tue, 2 Mar 1999 23:01:13 +0000 (GMT)
Guy, are you still the bash maintainer ?  This bug report relates to:

line 8:  8531 Broken pipe             
 find "$mountpoint$2" -follow -name '*.deb' -print 2>/dev/null
      8532 Done                    | head -1
      8533 Done                    | grep . >/dev/null

I still think this is a bug in bash.  I've incorporated the workaround
from the NMU dpkg series into my tree, so it will stay, but the
workaround has undesirable side-effects so I'd like to get rid of it
some day.

Would you accept a patch to bash to fix the behaviour ?  Ie, to not
produce a message to stderr if a non-final process in a pipe dies with
SIGPIPE ?

Ian.


Severity set to `wishlist'. Request was from Ian Jackson <ian@davenant.greenend.org.uk> to control@bugs.debian.org. (full text, mbox, link).


Changed bug title. Request was from Ian Jackson <ian@davenant.greenend.org.uk> to control@bugs.debian.org. (full text, mbox, link).


Bug closed, send any further explanations to leutloff@sundancer.oche.de Request was from Wichert Akkerman <wichert@cistron.nl> to control@bugs.debian.org. (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 19 00:16:04 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.