Bug 598862 - spice-usb-redirector needs to cleanup nicely its named semaphore
Summary: spice-usb-redirector needs to cleanup nicely its named semaphore
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: spice-usb-redirector   
(Show other bugs)
Version: 5.6
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Gal Hammer
QA Contact: Desktop QE
Depends On:
TreeView+ depends on / blocked
Reported: 2010-06-02 08:44 UTC by Uri Lublin
Modified: 2011-06-15 14:43 UTC (History)
4 users (show)

Fixed In Version: spice-usb-share-4.5-3.el5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2011-01-13 23:47:19 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
usbrdr: unlink semaphore file name on close. (1.48 KB, patch)
2010-09-15 14:52 UTC, Uri Lublin
no flags Details | Diff

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0122 normal SHIPPED_LIVE spice-usb-share and kspiceusb-kmod bug fix update (was spice-usb-redirector) 2011-01-12 17:28:42 UTC

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.


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