Bug 502224 - Eliminate race in Unix socket creation / use 'server' option
Summary: Eliminate race in Unix socket creation / use 'server' option
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libguestfs
Version: unspecified
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-05-22 16:09 UTC by Richard W.M. Jones
Modified: 2010-03-16 17:20 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-22 14:28:13 UTC
Embargoed:


Attachments (Terms of Use)

Description Richard W.M. Jones 2009-05-22 16:09:32 UTC
Eliminate this race:

http://git.et.redhat.com/?p=libguestfs.git;a=blob;f=src/guestfs.c;h=fb214c535de1a63b2042d22912d6cf2b53664d3d;hb=HEAD#l956

by using "server" on the Unix socket.  See qemu
function qemu_chr_open_tcp [sic] for details.

Comment 1 Mark McLoughlin 2009-05-25 15:01:32 UTC
Note the "nowait" flag too

Moving upstream

Comment 2 Richard W.M. Jones 2009-09-22 14:28:13 UTC
This is long fixed.


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