Red Hat Bugzilla – Bug 1270676
koan incorrectly parses s390x kernel command-line parameters whose value contains "=" sign
Last modified: 2015-12-10 08:22:29 EST
Description of problem:
koan incorrectly parses s390x kernel command-line parameters whose value contains "equals" sign and creates invalid entry in /etc/zipl.conf.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create KS profile with "Kernel Options" containing something like:
2. Attempt to reprovision a system and before system goes down, check
content of /etc/zipl.conf
On "parameters" line, item "rd.znet" is truncated to "qeth,0.0.8000,0.0.8001,0.0.8002,layer2" (notice that it is truncated on first "=" sign appearance)
Should not be truncated because that option seems to be required for RHEL7 provisioning.
This was found by jdobes when working on bug 1199214
Verified with koan-2.0.7-65 on s390x client with RHEL7.
Only works for sat5.7; in sat5.6, it is impossible to even fill the fields with some s390x parameters which is a separate bug.
1) Install koan-2.0.7-65 on the client
2) Register the system to a satellite
3) Assign a system a provisioning entitlement
4) Create a s390x kickstart (in my case RHEL7.1)
5) Set kernel options field to the correct parameters, including some with a "=" symbol in value.
6) Schedule a kickstart to the client
7) On client, run "rhn_check -vv && shutdown -c && vim /etc/zipl.conf" and confirm the parameters (particularly the one with "=") were parsed correctly (no part of the value is missing)
8) Reboot the client and verify it kickstarted properly
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.