Bug 1089062 - rhq-server.sh script fails to execute on Solaris due to dependency on GNU version of sleep utility
Summary: rhq-server.sh script fails to execute on Solaris due to dependency on GNU ver...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Operations Network
Classification: JBoss
Component: Launch Scripts
Version: JON 3.2
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: DR01
: JON 3.2.2
Assignee: John Mazzitelli
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-17 19:11 UTC by Larry O'Leary
Modified: 2018-12-05 18:14 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-07-29 00:17:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Knowledge Base (Solution) 776073 0 None None None Never

Description Larry O'Leary 2014-04-17 19:11:27 UTC
Description of problem:
The rhq-server.sh script fails to properly execute on Solaris due to the use of time unit being appended to value passed to sleep command:

    sleep 2s

Solaris 10 uses an older version of the utility which only supports seconds. Therefore, this must be:

    sleep 2

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

How reproducible:
Always

Steps to Reproduce:
1. On Solaris 10 machine, run rhqctl install

Actual results:
Install fails and outputs "sleep: bad character in argument" many times.

Expected results:
No mention of "sleep: bad character in argument" and installer completes without error.

Comment 1 John Mazzitelli 2014-04-22 18:48:59 UTC
git commit to master: a776bf0

Comment 2 John Mazzitelli 2014-04-22 18:54:55 UTC
git commit to release/jon3.2.x branch: a7aaa40

Comment 3 Simeon Pinder 2014-05-22 15:15:37 UTC
Via product triage, determined that this bug is to be included for DR01 target milestone.

Comment 4 Simeon Pinder 2014-05-30 02:43:36 UTC
Moving to ON_QA as available for test in latest cumulative patch build(DR01):
http://jon01.mw.lab.eng.bos.redhat.com:8042/dist/release/jon/3.2.2.GA/5-29-2014/

Comment 5 Sunil Kondkar 2014-06-04 15:12:31 UTC
Applied 3.2.0.GA-Update-02 to 3.2.0.GA  and tried 'rhqctl install' on solaris 10 box. The installer completed without error.
Marking this bug as verified.

Comment 6 Larry O'Leary 2014-07-29 00:17:11 UTC
This has been verified and released in Red Hat JBoss Operations Network 3.2 Update 02 (3.2.2) available from the Red Hat Customer Portal[1].



[1]: https://access.redhat.com/jbossnetwork/restricted/softwareDetail.html?softwareId=31783


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