Bug 728268
Summary: | koan artificially limits kernel command line length when installing RHEL5.2+ | ||
---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | David Swegen <dswegen> |
Component: | Provisioning | Assignee: | Milan Zázrivec <mzazrivec> |
Status: | CLOSED ERRATA | QA Contact: | Pavel Studeník <pstudeni> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 541 | CC: | cperry, gasmith, jwest, lzap, pstudeni, xdmoon |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | cobbler-2.0.7-12 | Doc Type: | Bug Fix |
Doc Text: |
On x86 architectures, previous versions of koan did not allow kernel boot parameters to be longer than 256 bytes, even though the kernel itself supports it. Consequent to this, it was impossible to provision or re-provision a machine if its kernel boot parameters exceeded this limit. This update adapts koan to increase this limit to 2048 bytes, resolving this issue.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2011-09-22 10:35:00 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 715348 |
Description
David Swegen
2011-08-04 14:39:12 UTC
thirdparty.git SATELLITE-5.4: 23dee6c89eb16085fdccaf681915483a98b91073 Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Cause: Koan wouldn't allow kernel boot arguments on x86* architectures to be longer than 256 bytes. Consequence: Impossible to (re)provision a machine in case the length of kernel boot arguments used was longer than 256 bytes (although technically the kernel would allow it). Fix: Updated kernel boot argument lengths. Result: On x86* architectures, the allowed kernel boot arguments are now set to 2048 bytes, provisioning in these situations is possible. Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1,7 +1 @@ -Cause: Koan wouldn't allow kernel boot arguments on x86* architectures to be longer than 256 bytes. +On x86 architectures, previous versions of koan did not allow kernel boot parameters to be longer than 256 bytes, even though the kernel itself supports it. Consequent to this, it was impossible to provision or re-provision a machine if its kernel boot parameters exceeded this limit. This update adapts koan to increase this limit to 2048 bytes, resolving this issue.- -Consequence: Impossible to (re)provision a machine in case the length of kernel boot arguments used was longer than 256 bytes (although technically the kernel would allow it). - -Fix: Updated kernel boot argument lengths. - -Result: On x86* architectures, the allowed kernel boot arguments are now set to 2048 bytes, provisioning in these situations is possible. 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. http://rhn.redhat.com/errata/RHBA-2011-1331.html For the record, it looks like in RHEL 7 it is back to 512 bytes: grep COMMAND_LINE_SIZE /usr/include/asm-generic/setup.h #define COMMAND_LINE_SIZE 512 Correction, that was a wrong file, its 2048 in RHEL 7. No surprise. |