Red Hat Bugzilla – Bug 1276078
RHEL7 ksvalidator command map for RHEL6 validation missing the 'key' command
Last modified: 2016-11-03 20:11:07 EDT
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-184.108.40.206-1.el7.noarch
Comparing to RHEL6 version: pykickstart-1.74.20-1.el6.noarch
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'
An error is thrown, e.g.
The following problem occurred on line 8 of the kickstart file:
Unknown command: key
No errors are thrown (similar to the behavior in RHEL6).
Just needs a cherry-pick of 142c9b021f60ff00d63e855cd02dc951ee96c8f0.
Whoops, I should have run tests before pushing. This actually needs a cherry-pick of c6252828993b9c34e4fac123196605c368fa0601.
Verified on pykickstart-220.127.116.11-1.el7.noarch, 'key' command is accepted for RHEL6.
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.