RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1276078 - RHEL7 ksvalidator command map for RHEL6 validation missing the 'key' command
Summary: RHEL7 ksvalidator command map for RHEL6 validation missing the 'key' command
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: pykickstart
Version: 7.1
Hardware: All
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: Chris Lumens
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-28 15:49 UTC by Jon McKenzie
Modified: 2016-11-04 00:11 UTC (History)
2 users (show)

Fixed In Version: pykickstart-1.99.66.7-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-04 00:11:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2184 0 normal SHIPPED_LIVE pykickstart bug fix update 2016-11-03 13:18:08 UTC

Description Jon McKenzie 2015-10-28 15:49:09 UTC
Description of problem:

The 'ksvalidator utility, when run using the RHEL6 version (e.g. 'ksvalidator -v RHEL6') throws an error when the 'key' kickstart command is present. This differs from the behavior of 'ksvalidator' in RHEL6, which does not error on this command.

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

For RHEL7:  pykickstart-1.99.43.17-1.el7.noarch
Comparing to RHEL6 version: pykickstart-1.74.20-1.el6.noarch

How reproducible:

Consistently.

Steps to Reproduce:
1. Create a RHEL6 kickstart file using the 'key' command in the kickstart header (e.g. 'key --skip')
2. Execute 'ksvalidator -v RHEL6 /path/to/kickstart-file.cfg'

Actual results:

An error is thrown, e.g.

The following problem occurred on line 8 of the kickstart file:

Unknown command: key


Expected results:

No errors are thrown (similar to the behavior in RHEL6).

Comment 2 Chris Lumens 2016-01-27 18:22:42 UTC
Just needs a cherry-pick of 142c9b021f60ff00d63e855cd02dc951ee96c8f0.

Comment 3 Chris Lumens 2016-01-27 19:09:05 UTC
Whoops, I should have run tests before pushing.  This actually needs a cherry-pick of c6252828993b9c34e4fac123196605c368fa0601.

Comment 5 Michal Kovarik 2016-07-26 14:01:10 UTC
Verified on pykickstart-1.99.66.9-1.el7.noarch, 'key' command is accepted for RHEL6.

Comment 7 errata-xmlrpc 2016-11-04 00:11:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2016-2184.html


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