Bug 816445
Summary: | Registration fails on kickstart process due a code error in redhat_register snippet | ||||||
---|---|---|---|---|---|---|---|
Product: | [Community] Spacewalk | Reporter: | Marcelo Moreira de Mello <mmello> | ||||
Component: | Server | Assignee: | Marcelo Moreira de Mello <mmello> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Satellite QA List <satqe-list> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 1.7 | CC: | jpazdziora, mmello | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | spacewalk-java-1.8.55-1 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2012-11-01 16:21:43 UTC | Type: | Bug | ||||
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: | 871344 | ||||||
Attachments: |
|
Description
Marcelo Moreira de Mello
2012-04-26 05:21:17 UTC
Executing the script manually after kickstart the box bash -x /tmp/ks-script-hIABqo {..SNIP..} + perl -npe s/RHNS-CA-CERT/RHN-ORG-TRUSTED-SSL-CERT/g -i /etc/sysconfig/rhn/allowed-actions /etc/sysconfig/rhn/clientCaps.d /etc/sysconfig/rhn/osad-auth.conf /etc/sysconfig/rhn/osad.conf /etc/sysconfig/rhn/rhnsd /etc/sysconfig/rhn/up2date Can't do inplace edit: /etc/sysconfig/rhn/allowed-actions is not a regular file. Can't do inplace edit: /etc/sysconfig/rhn/clientCaps.d is not a regular file. ks-script-hIABqo: line 272: syntax error near unexpected token `fi' ks-script-hIABqo: line 272: `fi' Created attachment 580352 [details]
Patch proposed
Patch already submitted to approval on spacewalk-devel mailing list.
Best,
mmello
Committed to Spacewalk master, 1e417be3c38abb1f9d5768b5124079a44402e2f1. Moving ON_QA. Packages that address this bugzilla should now be available in yum repos at http://yum.spacewalkproject.org/nightly/ Spacewalk 1.8 has been released: https://fedorahosted.org/spacewalk/wiki/ReleaseNotes18 |