Bug 598862

Summary: spice-usb-redirector needs to cleanup nicely its named semaphore
Product: Red Hat Enterprise Linux 5 Reporter: Uri Lublin <uril>
Component: spice-usb-redirectorAssignee: Gal Hammer <ghammer>
Status: CLOSED ERRATA QA Contact: Desktop QE <desktop-qa-list>
Severity: medium Docs Contact:
Priority: low    
Version: 5.6CC: cmeadors, lkocman, llim, mshao
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: spice-usb-share-4.5-3.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-13 23:47:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Description Flags
usbrdr: unlink semaphore file name on close. none

Description Uri Lublin 2010-06-02 08:44:43 UTC
Description of problem:
spice-usb-redirector uses a named semaphore to get events from the usb-redirector daemon. It creates the semaphore with sem_open but never calls sem_unlink as it should.

Version-Release number of selected component (if applicable):

Additional info:
The leftovers can be seen with 'ls /dev/shm/sem.usbrdr*'

Comment 3 Uri Lublin 2010-09-15 14:52:26 UTC
Created attachment 447494 [details]
usbrdr: unlink semaphore file name on close.

Comment 6 Lubos Kocman 2010-11-02 16:42:33 UTC
Verified on spice-usb-share-4.5-3.el5

unlink is present in the code. spice-usb-share works.

Comment 8 errata-xmlrpc 2011-01-13 23:47:19 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.