Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 648279

Summary: gpart is not available on x86_64
Product: Red Hat Enterprise Linux 5 Reporter: Trevor Hemsley <trevor.hemsley>
Component: gpartAssignee: Dave Cantrell <dcantrell>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: low    
Version: 5.5CC: ajb, atodorov, pasteur, pkovar
Target Milestone: rcKeywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: gpart-0.1h-6 Doc Type: Bug Fix
Doc Text:
The gpart package was previously only available for the i386 architecture. This update makes the gpart package available for both i386 and 64-bit x86 architectures.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-17 13:09:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Trevor Hemsley 2010-10-31 20:30:43 UTC
Description of problem:
The x86_64 repo seems to be missing the rpm for gpart even though it's built and is part of the i386 build. It seems to install if you use the i386 rpm and also appears to work so not sure why it's not available for 64 bit users. Are we meant to be less error prone that mere 32 bit users? :-)


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

How reproducible:
Always

Steps to Reproduce:
1. su -
2. yum install gpart
3.
  
Actual results:
No package gpart available.

Expected results:
Installs correctly

Additional info:

Comment 1 Dave Cantrell 2010-11-01 19:43:59 UTC
This is intentional.  gpart is:

    ExclusiveArch: %{ix86}

In the spec file.  x86_64 users are expected to use the i386 build, which will work just fine because x86_64 is really a multiarch platform.  On RHEL-5, x86_64 users really should also have an i386 repo enabled because of the number of things that are built i386 only but are intended for x86_64 as well.

Comment 2 Trevor Hemsley 2010-11-01 19:53:10 UTC
But by default there is no i386 repo configured by an install of an x86_64 server and the x86_64 repo contains i[36]86 rpms as well. It should not be necessary to pollute a standard RH yum config by configuring non-standard repos surely?

[root@xxx ~]# yum repolist
Loaded plugins: changelog, dellsysid, downloadonly, protectbase, rhnplugin, security
repo id                             repo name                                                         status
dell-omsa-indep                     Dell OMSA repository - Hardware independent                       enabled:    596
dell-omsa-specific                  Dell OMSA repository - Hardware specific                          enabled:      6
rhel-x86_64-server-5                Red Hat Enterprise Linux (v. 5 for 64-bit x86_64)                 enabled: 10,125
repolist: 10,906
[root@xxx ~]# yum list gpart
Loaded plugins: changelog, dellsysid, downloadonly, protectbase, rhnplugin, security
Finished
0 packages excluded due to repository protections
Error: No matching Packages to list
[root@xxx ~]# yum list firefox
Loaded plugins: changelog, dellsysid, downloadonly, protectbase, rhnplugin, security
Finished
0 packages excluded due to repository protections
Available Packages
firefox.i386                                     3.6.11-2.el5                                    rhel-x86_64-server-5
firefox.x86_64                                   3.6.11-2.el5                                    rhel-x86_64-server-5
[root@xxx ~]#

Comment 3 Alan Bartlett 2010-11-02 15:12:54 UTC
(In reply to comment #1)
> This is intentional.  gpart is:
> 
>     ExclusiveArch: %{ix86}
> 
> In the spec file.  x86_64 users are expected to use the i386 build, which will
> work just fine because x86_64 is really a multiarch platform.  On RHEL-5,
> x86_64 users really should also have an i386 repo enabled because of the number
> of things that are built i386 only but are intended for x86_64 as well.

Huh? A distinctly dubious comment.

Please remember, this is RHEL 5 and not Fedora.

Comment 4 Dave Cantrell 2010-11-02 15:26:24 UTC
I'm well aware that this is RHEL.  As stated, x86_64 users are expected to use the i386 build of the gpart package.  It will work fine, you already have the i386 libraries on your system given the multiarch nature of the x86_64 platform.  gpart is not the only package like this, there are a number of i386-only packages that are usable on x86_64 systems.

That said, this issue has been brought up before for previous RHEL-5 update releases and I have proposed it as an update, but gpart never makes the approved component list for that release, thus the problem persists.  I do not see this changing unless someone escalates the problem through the technical support channels.  In the interim, feel free to use the i386 gpart package.

Comment 9 Petr Kovar 2011-10-05 17:11:07 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
The gpart package was previously only available for the i386 architecture. This update makes the gpart package available for both i386 and 64-bit x86 architectures.

Comment 11 errata-xmlrpc 2011-10-17 13:09:43 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-2011-1376.html