Bug 708909 - ksh doesn't correctly resume a suspended process when using a pipe
Summary: ksh doesn't correctly resume a suspended process when using a pipe
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: ksh
Version: 14
Hardware: i686
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Michal Hlavinka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-30 05:51 UTC by Stefan Krüger
Modified: 2011-06-21 23:52 UTC (History)
1 user (show)

Fixed In Version: ksh-20110505-2.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-06-21 23:52:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Stefan Krüger 2011-05-30 05:51:38 UTC
Description of problem:
Ksh doesn't seem to correctly resume a suspended process that pipes into another.

Version-Release number of selected component (if applicable):
ksh-20110505-1.fc14.i686

How reproducible:
Happens every time.

Steps to Reproduce:
1. diff /etc/services /etc/inittab | less
2. Press '^Z'
3. Type 'fg' to resume
  
Actual results:
"diff /etc/services /etc/inittab | less"
And then nothing more, no output from diff, pressing 'q' to exit less doesn't work, ^C just sends a SIGSTOP?! You have to kill diff/less (kill pid or kill %1) to get rid of it.

Expected results:
The output from the diff inside less once resumed via 'fg'

Additional info:

Comment 1 Michal Hlavinka 2011-05-31 07:22:23 UTC
Thanks for reporting this, I'm able to reproduce it

Comment 2 Fedora Update System 2011-06-09 13:16:57 UTC
ksh-20110505-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/ksh-20110505-2.fc15

Comment 3 Fedora Update System 2011-06-09 13:17:12 UTC
ksh-20110505-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/ksh-20110505-2.fc14

Comment 4 Fedora Update System 2011-06-11 04:27:29 UTC
Package ksh-20110505-2.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ksh-20110505-2.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/ksh-20110505-2.fc15
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2011-06-21 23:52:20 UTC
ksh-20110505-2.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2011-06-21 23:52:42 UTC
ksh-20110505-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.