[Userland-team] [OpenIndiana Distribution - Bug #745] subshell redirections which read stdin become unstoppable, interrupts hit the wrong process

illumos project devnull at illumos.org
Sat Sep 10 12:49:16 UTC 2011


Issue #745 has been updated by Ken Mays.

Due date set to 2011-09-14
Assignee changed from OI SFW to OI Userland
Target version set to oi_151_stable
Estimated time set to 8.00


----------------------------------------
Bug #745: subshell redirections which read stdin become unstoppable, interrupts hit the wrong process
https://www.illumos.org/issues/745

Author: Rich Lowe
Status: New
Priority: Normal
Assignee: OI Userland
Category: SFW (Solaris Freeware)
Target version: oi_151_stable
Difficulty: Medium
Tags: bash


<pre>
sellout:~> ssh -t metropolis bash
metropolis:~$ cat <(cat /dev/stdin) | cat
^CConnection to metropolis closed.
zsh: exit 255   ssh -t metropolis bash
sellout:~>
</pre>

A ^D to attempt to get an EOF to the inner-most cat fails too, and I suspect it shouldn't.

The actual command I used was

@metropolis:~$ comm -13 <(sed -e 's,root_i386/,,') wsdiff.log | wc -l@

With which I now find that, without a wsdiff.log, may or may not screw up further input to a shell which may or may not be at the top level (I ended up with the shell only echoing every other character typed, but I'm not sure how/why).



-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://www.illumos.org/my/account



More information about the Userland-team mailing list