Bug 681813 - Race condition when creating multiple X sandboxes
Summary: Race condition when creating multiple X sandboxes
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: policycoreutils
Version: 15
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Daniel Walsh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-03 11:01 UTC by Robin Green
Modified: 2011-03-03 14:48 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-03-03 14:48:27 UTC
Type: ---


Attachments (Terms of Use)

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.


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