Bug 736269 - Kickstart script ordering - incorrect instructions in kickstart/KickstartScriptEdit.do
Summary: Kickstart script ordering - incorrect instructions in kickstart/KickstartScri...
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: Server
Version: 541
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Jan Pazdziora
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: 462714
TreeView+ depends on / blocked
 
Reported: 2011-09-07 08:42 UTC by Tim Jackson
Modified: 2015-05-29 20:10 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-29 20:10:06 UTC


Attachments (Terms of Use)

Description Tim Jackson 2011-09-07 08:42:30 UTC
Description of problem:
Quoting from kickstart/KickstartScriptEdit.do:

"First, commands related to RHN Satellite will automatically be performed (for example, esystem registration to RHN Satellite). Next, the non-chroot post script will be executed, and finally the post script will be executed"

This does not match reality. A user-created non-chroot post script gets executed *before* the built-in Satellite registration (via the cobbler snippet redhat_register).

There is also a typo in the above, as it says "...esystem registration" instead of "...system registration"

Version-Release number of selected component (if applicable):
Satellite 5.4.1

How reproducible:
Always

Steps to Reproduce:
1. Set up a kickstart profile
2. create a non-chroot post script containing "# TEST-NONCHROOT-POST"
3. view the resulting kickstart file
  
Actual results:
Observe that "# TEST-NONCHROOT-POST" is shown *before* the section which says:

"# begin cobbler snippet
# begin Red Hat management server registration"


Expected results (if the documentation was right):
"# TEST-NONCHROOT-POST" is shown *after* the section which says:

"# begin cobbler snippet
# begin Red Hat management server registration"

Additional info:
It's a good thing that non-chroot post runs before the Satellite built-in stuff, so IMO it's better to change the instructions to match the functionality rather than the other way around.


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