Bug 502224

Summary: Eliminate race in Unix socket creation / use 'server' option
Product: [Community] Virtualization Tools Reporter: Richard W.M. Jones <rjones>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: markmc, mbooth, rjones, virt-maint
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: 2009-09-22 14:28:13 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 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.