Bug 701096

Summary: reposync returns 0 even when it encounters a downloading problem.
Product: Red Hat Enterprise Linux 6 Reporter: Kirby Zhou <kirbyzhou>
Component: yum-utilsAssignee: James Antill <james.antill>
Status: CLOSED ERRATA QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: low Docs Contact:
Priority: low    
Version: 6.0CC: dapospis, ksrot, pknirsch, zpavlas
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-20 13:54:11 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 Kirby Zhou 2011-05-01 05:02:11 UTC
Description of problem:


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

yum-utils-1.1.26-11.el6.noarch

How reproducible:

100%

Steps to Reproduce:

]# rhn-channel -c rhel-x86_64-server-v2vwin-6 -a
]# cd /tmp
]# mkdir -p rhel-x86_64-server-v2vwin-6/getPackage
]# dd if=/dev/zero of=rhel-x86_64-server-v2vwin-6/getPackage
/libguestfs-winsupport-1.0-5.el6.x86_64.rpm bs=1k count=2000
]# reposync -n -g -l -r rhel-x86_64-server-v2vwin-6
]# echo $?
]# rpm -K rhel-x86_64-server-v2vwin-6/getPackage
/libguestfs-winsupport-1.0-5.el6.x86_64.rpm 

Actual results:

]# reposync -n -g -l -r rhel-x86_64-server-v2vwin-6
Loaded plugins: rhnplugin
[rhel-x86_64-server-v2vwin-6: 1     of 1     ] Downloading getPackage/libguestfs-winsupport-1.0-5.el6.x86_64.rpm
libguestfs-winsupport-1.0-5.el6.x86_64.rpm                                                                               | 3.4 MB     00:04     
Removing libguestfs-winsupport-1.0-5.el6.x86_64.rpm due to failed signature check.
]# echo $?
0

Expected results:

]# echo $?
1

Additional info:

Comment 2 RHEL Program Management 2011-05-01 06:00:11 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 9 errata-xmlrpc 2012-06-20 13:54:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0858.html