Package: bash Version: 4.2-1 Severity: critical Justification: breaks unrelated software
E.g.: $ dash -c 'while read line ; do echo $line ; done < /proc/net/dev' Inter-| Receive | Transmit face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed eth0.6: 128 1 0 0 0 0 0 1 9447 34 0 0 0 0 0 0 lo: 1160 20 0 0 0 0 0 0 1160 20 0 0 0 0 0 0 eth0: 544591 566 0 0 0 0 0 0 88849 553 0 0 0 0 0 0 eth0.3: 533751 526 0 0 0 0 0 3 69559 482 0 0 0 0 0 0 $ ksh -c 'while read line ; do echo $line ; done < /proc/net/dev' Inter-| Receive | Transmit face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed eth0.6: 174 2 0 0 0 0 0 1 9649 36 0 0 0 0 0 0 lo: 1760 32 0 0 0 0 0 0 1760 32 0 0 0 0 0 0 eth0: 559215 630 0 0 0 0 0 0 96559 609 0 0 0 0 0 0 eth0.3: 547433 589 0 0 0 0 0 3 74163 527 0 0 0 0 0 0 $ bash -c 'while read line ; do echo $line ; done < /proc/net/dev' Inter-| Receive | Transmit face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed lo: 1160 20 0 0 0 0 0 0 1160 20 0 0 0 0 0 0 Note that the output from bash is missing several lines that are in the output from dash. I've also seen cases where bogus output is added. This only seems to affect cases where input is redirected from a /proc file; if I cat the procfile and pipe into the while loop it isn't an issue. Problem presents with kernel 3.2.0; the problem does not appear if booted with an older kernel (tested with 2.6.32). OTOH, all other tested shells do not exhibit the problem. -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-1-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages bash depends on: ii base-files 6.5 ii dash 0.5.7-2 ii debianutils 4.2.1 ii libc6 2.13-26 ii libtinfo5 5.9-4 Versions of packages bash recommends: ii bash-completion 1:1.99-3 Versions of packages bash suggests: pn bash-doc <none> -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org