Bug 744056

Summary: rhnsd supplied in Solaris/sparc bootstrap distributions is i386
Product: [Community] Spacewalk Reporter: peter.clark
Component: ClientsAssignee: Michael Mráka <mmraka>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 1.5CC: slukasik
Target Milestone: ---   
Target Release: ---   
Hardware: sparc   
OS: Other   
Whiteboard:
Fixed In Version: rhn-solaris-bootstrap-5.4.1-7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 744222 (view as bug list) Environment:
Last Closed: 2011-12-22 16:49:23 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:
Bug Depends On:    
Bug Blocks: 723481, 744222    

Description peter.clark 2011-10-06 20:42:28 UTC
Description of problem:

The distribution for Solaris 10/sparc and Solaris 9/sparc both contain i386 binary packages of rhnsd:

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

5.3.0

How reproducible:
Every time

Steps to Reproduce:

1. Download rhn-solaris-bootstrap-5.4.1-5-sparc-sol10.tar.gz or rhn-solaris-bootstrap-5.4.1-5-sparc-sol9.tar.gz from http://spacewalk.redhat.com/solaris/

2. Examine the RHATrhnc package under Solaris:

# pkginfo -d RHATrhnc-5.3.0-21.pkg -l
   PKGINST:  RHATrhnc
      NAME:  rhnclient 5.3.0
  CATEGORY:  utility
      ARCH:  i386
   VERSION:  5.3.0,REV=21
    VENDOR:  Red Hat
      DESC:  Red Hat Network Client Utilities and Libraries
    PSTAMP:  RHAT_RHN
    STATUS:  spooled
     FILES:       72 spooled pathnames
                  23 directories
                  40 executables
                  21 setuid/setgid executables
                   4 package information files
                 449 blocks used (approx)

3. If the package is installed, file identifies it as an i386 binary:

# file /opt/redhat/rhn/solaris/usr/sbin/rhnsd
/opt/redhat/rhn/solaris/usr/sbin/rhnsd: ELF 32-bit LSB executable 80386 Version 1, dynamically linked, not stripped
  
Actual results:
The RHATrhnc package is an ARCH: i386 package and 
/opt/redhat/rhn/solaris/usr/sbin/rhnsd is an i386 binary

Expected results:
The RHATrhnc package is an ARCH: sparc package and 
/opt/redhat/rhn/solaris/usr/sbin/rhnsd is an sparc binary

Additional info:

Comment 2 Michael Mráka 2011-10-07 13:49:14 UTC
It's been fixed and built internally and new packages has been uploaded to http://spacewalk.redhat.com/solaris/.

rhn-solaris-bootstrap-5.4.1-7-i386-sol10.tar.gz
rhn-solaris-bootstrap-5.4.1-7-i386-sol9.tar.gz
rhn-solaris-bootstrap-5.4.1-7-sparc-sol10.tar.gz
rhn-solaris-bootstrap-5.4.1-7-sparc-sol8.tar.gz
rhn-solaris-bootstrap-5.4.1-7-sparc-sol9.tar.gz

Comment 3 peter.clark 2011-10-07 18:19:54 UTC
Thanks! I have installed the new packages and rhnsd is running and checking on both Solaris 9 and Solaris 10.

Comment 4 Milan Zázrivec 2011-12-22 16:49:23 UTC
Spacewalk 1.6 has been released.