Bug 433540 - debuginfo-install doesn't grab yum lock
Summary: debuginfo-install doesn't grab yum lock
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-utils
Version: 8
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-02-19 21:55 UTC by Bradley
Modified: 2008-02-21 04:02 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-02-21 04:02:56 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bradley 2008-02-19 21:55:25 UTC
Description of problem:

A lockfile normally stops two yum instances running in parallel.
debuginfo-install doesn't grab this lock

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

yum-utils-1.1.11-1.fc8
yum-3.2.8-2.fc8

How reproducible: Always


Steps to Reproduce:
1. Run yum install <some large package>
2. While that runs, run debuginfo-install <some large package>
  
Actual results:

Both run simultaneously. When the second one goes to install, it pauses with:

warning: waiting for transaction lock on /var/lib/rpm/__db.000

Expected results: Second command pauses with:

Existing lock /var/run/yum.pid: another copy is running as pid 6402.
Another app is currently holding the yum lock; waiting for it to exit...

Additional info: Both runs were downloading the metadata at the same time,
although for different repos. Not sure if theres an extra lock stopping those
two downloads from clobbering each other

Comment 1 Seth Vidal 2008-02-21 04:02:56 UTC
this is fixed in upstream and will be fixed in the next release of yum-utils, thanks



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