On Wed, Apr 30, 2014 at 1:49 AM, Michael Vogt <m...@ubuntu.com> wrote:
>
> I can reproduce this and bisected it to commit 872816. The attached
> diff fixes it for me, would be great if you could confirm.
>

I can confirm it's fixed, thanks.

Two notes:

1) Despite the right behavior, I now get an error on screen, not sure
it's what you wanted:

# cat test.sh | bash
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  git git-man libbind9-80 libclass-isa-perl libdns88 liberror-perl libffi5
  libisc84 libisccc80 libisccfg82 liblwres80 libmpc2 librtmp0 libswitch-perl
  openssh-blacklist openssh-blacklist-extra
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  iftop
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/41.1 kB of archives.
After this operation, 120 kB of additional disk space will be used.
E: Can not write log (Is stdout a terminal?) - tcgetattr (22: Invalid argument)
Selecting previously unselected package iftop.
(Reading database ... 48089 files and directories currently installed.)
Preparing to unpack .../iftop_1.0~pre4-2_i386.deb ...
Unpacking iftop (1.0~pre4-2) ...
Processing triggers for man-db (2.6.7.1-1) ...
Setting up iftop (1.0~pre4-2) ...
bash: line 4: neverexecuted: command not found

Notice "E: Can not write log (Is stdout a terminal?) - tcgetattr (22:
Invalid argument)"

I'm sure this never happened before.

2) I'm less worried about Debian since wheezy still works and I'm sure
the next stable will contain the fix, but actually I have an important
script that my customers are using that is broken on Ubuntu 14.04
because of this bug. It gets piped to bash by design, so everything
after the first apt-get is never executed. Do you happen to know how
long it will take for this to get to Ubuntu?


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to