Bug 598527 - [RFE] option to exit if the yum lock is taken
Summary: [RFE] option to exit if the yum lock is taken
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-01 15:02 UTC by Jiri Moskovcak
Modified: 2015-02-01 22:52 UTC (History)
6 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 2010-06-01 19:24:27 UTC


Attachments (Terms of Use)

Description Jiri Moskovcak 2010-06-01 15:02:01 UTC
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 19:24:27 UTC
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.