Bug 481180

Summary: Unspecified interpreter causes invalid kickstart scripts
Product: [Community] Spacewalk Reporter: Mike McCune <mmccune>
Component: WebUIAssignee: Brad Buckingham <bbuckingham>
Status: CLOSED CURRENTRELEASE QA Contact: Red Hat Satellite QA List <satqe-list>
Severity: medium Docs Contact:
Priority: low    
Version: 0.5CC: colin.coe, johnh
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-17 07:09:32 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: 456553, 480094    
Attachments:
Description Flags
Prevent spaces in the interpreter field breaking ks.cfg none

Description Mike McCune 2009-01-22 16:28:40 UTC
From spacewalk-list:

Subject: [Spacewalk-list] Kickstart scripts
Date: Thu, 22 Jan 2009 16:07:21 +0000 (GMT)
From: John Hodrien <J.H.Hodrien.uk>
Reply-To: spacewalk-list
To: spacewalk-list

I set a couple of scripts for the install (one pre, one post), all was well.
I installed from it, all was well.  Then something changed.

Now with an unspecified interpreter it puts --interpreter into the kickstart
file which makes the kickstart fail.  For now I've just stuck /bin/bash in as
the interpreter which I assume will fix it.

jh

Comment 1 John Hodrien 2009-01-23 14:25:17 UTC
Just in case anyone finds this bugzilla entry looking for a workaround, note that the interpreter should be /bin/sh, not /bin/bash, for pre scripts.

Comment 2 Colin Coe 2009-02-11 11:27:24 UTC
Created attachment 331554 [details]
Prevent spaces in the interpreter field breaking ks.cfg

Comment 3 Brad Buckingham 2009-03-11 16:19:52 UTC
git commit: dce5d37f99dc77b8b611be1e62f8653cd322b318

Updated the KickstartFormatter to not include --interpreter in kickstart profiles for pre/post scripts created using the UI Wizard if the Scripting Language is empty.

Comment 4 Jesus M. Rodriguez 2009-04-14 14:12:29 UTC
Spacewalk 0.5 released.

Comment 5 Miroslav Suchý 2009-09-17 07:09:32 UTC
Spacewalk 0.5 has been released for long time ago.