Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

--no-warn-on-lock doesn't work #7

Open
GoogleCodeExporter opened this issue Mar 21, 2015 · 6 comments
Open

--no-warn-on-lock doesn't work #7

GoogleCodeExporter opened this issue Mar 21, 2015 · 6 comments

Comments

@GoogleCodeExporter
Copy link

It seems that --no-warn-on-lock doesn't work in YUM versions of RHEL 5 and 6.

Original issue reported on code.google.com by [email protected] on 13 Sep 2012 at 11:09

@GoogleCodeExporter
Copy link
Author

The reason seems to be that YUM itself never exits when another instance of it 
has the lock, but rather waits infinitely for the lock to be released.

Eventually check_yum runs into its timeout then.

Original comment by [email protected] on 13 Sep 2012 at 11:23

  • Changed state: New

@GoogleCodeExporter
Copy link
Author

I started a thread on yum-devel about this:
http://lists.baseurl.org/pipermail/yum-devel/2012-September/009641.html

Likely I'll drop the current (non-working) code from check_yum and just add 
exit_on_lock = true .


This will however only work in newer yum versions.... maybe I'll add some code 
to support olders, too,... will see.

Original comment by [email protected] on 27 Sep 2012 at 11:26

  • Changed state: Started

@GoogleCodeExporter
Copy link
Author

Reported:
https://bugzilla.redhat.com/show_bug.cgi?id=861250
https://bugzilla.redhat.com/show_bug.cgi?id=861251
asking for exit_on_lock to be backported to RHEL 5 and 6.

Original comment by [email protected] on 27 Sep 2012 at 11:37

@GoogleCodeExporter
Copy link
Author

RHEL6 already has exit_on_lock (--setopt=exit_on_lock=true) - Is a release 
(v1.0.1) coming - which uses this, if the yum version is new enough?

Original comment by [email protected] on 1 Jul 2013 at 10:59

@GoogleCodeExporter
Copy link
Author

yum v3.2.29 (el6) has support. yum v3.2.22 (el5) does not.

Original comment by [email protected] on 1 Jul 2013 at 11:04

@GoogleCodeExporter
Copy link
Author

Hi.

I know about the support for --setopt=exit_on_lock=true, actually I lobbied RH 
for backporting it to RH6 ;-)

But to be honest, I'm very busy with other stuff right now (and probably for 
quite some time)... so it's uncertain when I have more time again to take care 
on check_yum... so (clean) patches would be welcomed.

Cheers,
Chris.

Original comment by [email protected] on 1 Jul 2013 at 11:19

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant