Bug 620150 - pki-java-tools batch files fails to start on non RedHat-based distributives
Summary: pki-java-tools batch files fails to start on non RedHat-based distributives
Keywords:
Status: CLOSED EOL
Alias: None
Product: Dogtag Certificate System
Classification: Retired
Component: Infrastructure
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Matthew Harmsen
QA Contact: Ben Levenson
URL:
Whiteboard:
Depends On:
Blocks: 530474
TreeView+ depends on / blocked
 
Reported: 2010-08-01 09:31 UTC by Alexander Vershilov
Modified: 2020-03-27 18:38 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-27 18:38:10 UTC
Embargoed:


Attachments (Terms of Use)

Description Alexander Vershilov 2010-08-01 09:31:22 UTC
Description of problem:

In all bash files in pki-java tools 'uname -i' is used for testing system architecture. While on many linux system there is other behavior, for example:
------
Red Hat & Cent OS
[root@base /]# uname -i                                         
x86_64
[root@base /]# uname -m 
x86_64
------
Mandriva Linux:
# uname -i
unknown
# uname -m
x86_64
------
# uname -i
unknown
uname -m
i686
------
Gentoo
# uname -i
GenuineIntel
# uname -m
x86_64
------
FreeBSD:
# uname -i
hostname
# uname -m
i386
------

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


How reproducible:
Always

Steps to Reproduce:
1. install pki-java-tools on any debian-,mandriva-,gentoo- based distributive
2. try to use any batch file from package

  
Actual results:
Program fails because it didn't know such an architecture

Expected results:
Prorgram should start

Additional info:
Changing `uname -i` to `uname -m` will help in most cases.


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