Bug 481180 - Unspecified interpreter causes invalid kickstart scripts
Summary: Unspecified interpreter causes invalid kickstart scripts
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: WebUI
Version: 0.5
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Brad Buckingham
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space05 swcobbler05
TreeView+ depends on / blocked
 
Reported: 2009-01-22 16:28 UTC by Mike McCune
Modified: 2012-03-06 08:59 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-17 07:09:32 UTC
Embargoed:


Attachments (Terms of Use)
Prevent spaces in the interpreter field breaking ks.cfg (1.85 KB, patch)
2009-02-11 11:27 UTC, Colin Coe
no flags Details | Diff

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.


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