Bug 102042
Summary: | process stops when backgrounding | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michael Redinger <michael.redinger> |
Component: | zsh | Assignee: | Jens Petersen <petersen> |
Status: | CLOSED RAWHIDE | QA Contact: | Mike McLean <mikem> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 1 | CC: | roland |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2004-01-13 06:25:46 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Michael Redinger
2003-08-09 15:54:24 UTC
*** Bug 102033 has been marked as a duplicate of this bug. *** The kernel is behaving correctly. The zsh configure script runs a program that does tcsetpgrp on fd 0 (stdin), which is broken in multiple ways. If the input were redirected then the test would give a false negative. Since the input is your terminal and the job is in the background, it rightly gets SIGTTOU for trying to perform tcsetpgrp. The only way a test of this nature can be safe is if it's done on a specially created pty, e.g. in the child of a forkpty call, but using ptys is not fully portable so zsh is kind of stuck here. If you would like to see this addressed, file a bug against zsh. Reopening and changing to zsh then. (I suppose it is something similar with coreutils, therefore changing that one from duplicate to reopen) Reproduced. Mailed zsh-users for input. Patch from http://www.zsh.org/mla/workers/2003/msg00896.html unfortunately breaks build in buildsystem ("no tty"). Adding weaker patch from http://www.zsh.org/mla/workers/2003/msg00895.html in zsh-4.0.7-2. Updating to better patch from upstream in 4.0.9-1. |