Bug 952291

Summary: --distro param truncates tag string
Product: Red Hat Enterprise Linux 6 Reporter: jcpunk
Component: yumAssignee: Valentina Mukhamedzhanova <vmukhame>
Status: CLOSED ERRATA QA Contact: Marek Marusic <mmarusic>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.4CC: csieh, ffesti, james.antill, jzeleny, ksrot, lmacken, maxamillion, misterbonnie, mmarusic, packaging-team, riehecky, tcallawa, tim.lauridsen, tmlcoch, vmukhame
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: yum-3.2.29-63.el6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 848065 Environment:
Last Closed: 2015-07-22 07:21:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
backported patch none

Description jcpunk 2013-04-15 15:13:17 UTC
+++ This bug was initially created as a clone of Bug #848065 +++

Description of problem:
Param "--distro cpeid,tag" truncates the tag (leaves only a first character).

Version-Release number of selected component (if applicable):
createrepo-0.9.9-12.fc18.noarch
yum.noarch 0:3.4.3-30.fc18
yum-utils-1.1.31-6.fc18.noarch

How reproducible:
always

Steps to Reproduce:
createrepo . --distro "foo" --distro "123,abc"
  
Actual results:
In repomd.xml:
...
 <tags>
   <distro>f</distro>
   <distro cpeid="123">a</distro>
 </tags>

...

Expected results:
In repomd.xml:
...
  <tags>
    <distro>foo</distro>
    <distro cpeid="123">abc</distro>
  </tags>
...

--- Additional comment from Zdeněk Pavlas on 2012-08-15 08:30:06 EDT ---

Fixed in HEAD.

--- Additional comment from Fedora Update System on 2012-08-17 16:16:48 EDT ---

yum-3.4.3-32.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/yum-3.4.3-32.fc18

--- Additional comment from Fedora Update System on 2012-08-27 06:52:38 EDT ---

yum-3.4.3-34.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/yum-3.4.3-34.fc18

--- Additional comment from Fedora Update System on 2012-08-27 12:30:21 EDT ---

Package yum-3.4.3-34.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing yum-3.4.3-34.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-12756/yum-3.4.3-34.fc18
then log in and leave karma (feedback).

--- Additional comment from Fedora Update System on 2012-08-28 19:34:48 EDT ---

yum-3.4.3-36.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/yum-3.4.3-36.fc18

--- Additional comment from Fedora End Of Life on 2013-04-03 16:37:31 EDT ---

This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 1 James Antill 2013-04-15 19:57:59 UTC
 This is a simple fix, but it's pretty late in 6.5 now and createrepo often doesn't get an update.

Comment 4 Zdeněk Pavlas 2013-05-14 13:09:07 UTC
Actually, it's a Yum bug.

http://yum.baseurl.org/gitweb?p=yum.git;a=commitdiff;h=9a577352

Comment 5 Karel Srot 2013-05-14 13:40:49 UTC
Switching to yum component.

Comment 6 RHEL Program Management 2013-10-13 23:42:05 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unable to address this
request at this time.

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

Comment 7 Valentina Mukhamedzhanova 2014-11-28 11:29:19 UTC
Created attachment 962431 [details]
backported patch

Comment 11 errata-xmlrpc 2015-07-22 07:21:03 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.

https://rhn.redhat.com/errata/RHBA-2015-1384.html