Bug 142254 - Userhelper sometimes terminates before its child - it gets orphaned
Userhelper sometimes terminates before its child - it gets orphaned
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: usermode (Show other bugs)
rawhide
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jindrich Novy
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2004-12-08 11:02 EST by Tomas Mraz
Modified: 2013-07-02 19:03 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-01-27 11:03:49 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Trivial patch (545 bytes, patch)
2004-12-09 15:26 EST, Tomas Mraz
no flags Details | Diff

  None (edit)
Description Tomas Mraz 2004-12-08 11:02:55 EST
Userhelper sometimes terminates before its child - it gets orphaned
and is unable to access it's controlling terminal.

Typically it happens if you run authconfig again just after running it.

It isn't 100% reproducible so you have to try it a few times before it
happens.
Comment 1 Tomas Mraz 2004-12-09 15:24:27 EST
Hmmm a typical race condition. consolehelper thinks that it writes to
a pipe to userhelper but it is already closed if the exec call is fast
enough. So it gets SIGPIPE and exits.
Comment 2 Tomas Mraz 2004-12-09 15:26:29 EST
Created attachment 108256 [details]
Trivial patch

Don't make any response to exec or exec fail messages.
Comment 3 Jindrich Novy 2005-01-27 11:03:49 EST
Tomas, the fix is applied since usermode-1.78-1, thanks.

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