Bug 693732 - imount.c: in mountCommandWrapper() we close the pipe descriptors too soon
Summary: imount.c: in mountCommandWrapper() we close the pipe descriptors too soon
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: anaconda
Version: 6.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Ales Kozumplik
QA Contact: Release Test Team
URL:
Whiteboard: patch
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-05 13:11 UTC by Ales Kozumplik
Modified: 2014-09-30 23:40 UTC (History)
3 users (show)

Fixed In Version: anaconda-13.21.118-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-12-06 10:31:16 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1565 0 normal SHIPPED_LIVE anaconda bug fix and enhancement update 2011-12-06 00:39:12 UTC

Description Ales Kozumplik 2011-04-05 13:11:17 UTC
this code: 
    close(pipefd[0]);
    waitpid(child, &status, 0);

should read the other way round, else mount can get signalled with a SIGPIPE. 

Also see:
https://bugzilla.redhat.com/show_bug.cgi?id=558256#c62

There is a similar problem on the rawhide anaconda.

Comment 1 RHEL Program Management 2011-05-13 23:09:21 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux maintenance release. Product Management has 
requested further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed 
products. This request is not yet committed for inclusion in an Update release.

Comment 2 Ales Kozumplik 2011-05-26 09:42:23 UTC
A patch for master is awaiting review: 

https://www.redhat.com/archives/anaconda-devel-list/2011-May/msg00240.html

Comment 3 Ales Kozumplik 2011-06-01 07:50:02 UTC
Fixed on master: 1e3840bd0cb83a2c62cf13bc34dbbaadc89a755a

Comment 4 Ales Kozumplik 2011-06-10 08:24:15 UTC
Fixed by bb481ce05a3e91bbbc448eb57c1c034b5488b6a2.

Comment 7 Alexander Todorov 2011-08-09 12:05:50 UTC
Patch from comment #4 is present in anaconda-13.21.126

Comment 8 errata-xmlrpc 2011-12-06 10:31:16 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2011-1565.html


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