Bug 860776 - Incorrect interpreter used in rhts-* scripts
Summary: Incorrect interpreter used in rhts-* scripts
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: beah
Version: 0.9
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: 0.10.0
Assignee: Dan Callaghan
QA Contact:
URL:
Whiteboard: Misc
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-09-26 16:57 UTC by Nikolai Kondrashov
Modified: 2018-02-06 00:41 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-10-18 05:59:51 UTC
Embargoed:


Attachments (Terms of Use)
Patch fixing the problem. (3.28 KB, patch)
2012-09-26 16:57 UTC, Nikolai Kondrashov
no flags Details | Diff

Description Nikolai Kondrashov 2012-09-26 16:57:39 UTC
Created attachment 617668 [details]
Patch fixing the problem.

Despite using bash'isms some rhts-* scripts use /bin/sh in the shebang line.
On systems, where /bin/sh is not bash these scripts fail to run because of syntax errors.

The attached patch fixes the problem.

Comment 1 Min Shin 2012-10-17 11:17:05 UTC
Does this need to be in a customer only hot-fix release along with 866507?

Comment 2 Nikolai Kondrashov 2012-10-17 11:22:44 UTC
This is not urgent from my point.

Comment 3 Dan Callaghan 2012-10-17 22:11:55 UTC
Right, this is not too serious since on all conventional RHEL and Fedora systems /bin/sh will be bash and the rhts scripts work fine in bash's POSIX mode as far as I know.

Comment 4 Dan Callaghan 2012-10-18 05:59:51 UTC
Fixed in rhts-4.52-3.

Comment 5 Raymond Mancy 2012-11-22 06:42:35 UTC
This has now been released


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