Bug 452910

Summary: libpciaccess-fd-cache.patch bugged
Product: [Fedora] Fedora Reporter: Yannick Heneault <yheneaul>
Component: libpciaccessAssignee: Adam Jackson <ajax>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: low    
Version: rawhide   
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: 2008-07-02 19:20:05 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 Yannick Heneault 2008-06-25 20:15:34 UTC
libpciaccess-fd-cache.patch is not making sense because it caches the open flag
(read only or write only). If your first call is a read to the config space, it
creates a fd with rdeadonly flag and cache it. Then if you try to write to
config space of the same device, it reuses the same fd and the write call fail
with a EBADF. If you want to cache fd handle, it should be easier to open with
both read and write flags.

Comment 1 Adam Jackson 2008-07-02 19:20:05 UTC
Right you are.  Fixed in 0.10.3-2, thanks.

Comment 2 Fedora Update System 2008-07-02 19:26:31 UTC
libpciaccess-0.10.3-2.fc9 has been submitted as an update for Fedora 9

Comment 3 Fedora Update System 2008-07-09 02:41:59 UTC
libpciaccess-0.10.3-2.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 4 Fedora Update System 2008-07-26 06:07:44 UTC
libpciaccess-0.10.3-2.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.