Bug 860776

Summary: Incorrect interpreter used in rhts-* scripts
Product: [Retired] Beaker Reporter: Nikolai Kondrashov <nikolai.kondrashov>
Component: beahAssignee: Dan Callaghan <dcallagh>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: 0.9CC: asaha, dcallagh, mishin, rglasz, rmancy
Target Milestone: 0.10.0Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: Misc
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-10-18 05:59:51 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch fixing the problem. none

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