Bug 681813

Summary: Race condition when creating multiple X sandboxes
Product: [Fedora] Fedora Reporter: Robin Green <greenrd>
Component: policycoreutilsAssignee: Daniel Walsh <dwalsh>
Status: CLOSED WORKSFORME QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 15CC: dwalsh, mgrepl
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: 2011-03-03 14:48:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Robin Green 2011-03-03 11:01:01 UTC
Description of problem:
The same filename, ~/seremote, is used by each X sandbox, so theoretically if two sandboxes were started at the same time, there could be a race condition. Maybe create a secure temporary file instead?

Version-Release number of selected component (if applicable):
policycoreutils-sandbox-2.0.85-12.fc15.x86_64

How reproducible:
Haven't tried

Comment 1 Daniel Walsh 2011-03-03 14:06:33 UTC
~/seremote is copied into the different TEMPHOMEDIR so it is not the same seremote.

Comment 2 Robin Green 2011-03-03 14:48:27 UTC
Ah yes. Silly me.