RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 952291 - --distro param truncates tag string
Summary: --distro param truncates tag string
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: yum
Version: 6.4
Hardware: All
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: Valentina Mukhamedzhanova
QA Contact: Marek Marusic
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-15 15:13 UTC by jcpunk
Modified: 2015-07-22 07:21 UTC (History)
15 users (show)

Fixed In Version: yum-3.2.29-63.el6
Doc Type: Bug Fix
Doc Text:
Clone Of: 848065
Environment:
Last Closed: 2015-07-22 07:21:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
backported patch (903 bytes, patch)
2014-11-28 11:29 UTC, Valentina Mukhamedzhanova
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1384 0 normal SHIPPED_LIVE yum bug fix and enhancement update 2015-07-20 18:07:41 UTC

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


Note You need to log in before you can comment on or make changes to this bug.