Bug 598527 - [RFE] option to exit if the yum lock is taken
[RFE] option to exit if the yum lock is taken
Status: CLOSED UPSTREAM
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
rawhide
All Linux
low Severity medium
: ---
: ---
Assigned To: Seth Vidal
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-06-01 11:02 EDT by Jiri Moskovcak
Modified: 2015-02-01 17:52 EST (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-06-01 15:24:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jiri Moskovcak 2010-06-01 11:02:01 EDT
Description of problem:
It would be useful to have an option to tell yum to not wait and exit if the lock taken (e.g. if yum is run non-interactive from some script)

Actual results:
yum waits until the lock is freed

Expected results:
yum exits

Thank you,
Jirka
Comment 1 seth vidal 2010-06-01 15:24:27 EDT
patch posted upstream to allow this.

config option is:

exit_on_lock

it would be accessible via setting in yum.conf or via

yum --setopt="exit_on_lock=true" yourcommandhere

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