| Summary: | yum-builddep doesn't check the return code from doUtilBuildTransaction ... mock failures | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Clint Savage <herlo1> |
| Component: | yum-utils | Assignee: | James Antill <james.antill> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | BaseOS QE Security Team <qe-baseos-security> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.0 | CC: | bochecha, ebenes, ksrot, zpavlas |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-03-06 11:24:08 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Clint Savage
2011-12-12 03:44:07 UTC
This seems to work here, my guess is that it's this change to yum-builddep:
--- yum-utils-1.1.30/yum-builddep.py 2011-09-01 14:58:03.099739374 -0400
+++ /usr/bin/yum-builddep 2011-08-13 10:23:17.000000000 -0400
@@ -99,7 +98,9 @@
sys.exit(1)
if hasattr(self, 'doUtilBuildTransaction'):
- self.doUtilBuildTransaction()
+ errc = self.doUtilBuildTransaction()
+ if errc:
+ sys.exit(errc)
else:
try:
self.buildTransaction()
Hi Clint, this should be already fixed in yum-utils-1.1.30-10.el6 from RHEL-6.2. Can you confirm that? Checked that BZ-709043-check-doutilbuildtransaction.patch has fixed all 5 callers of doUtilBuildTransaction. |