[Spacewalk-list] Spacewalk 1.4 RC Kickstart, up2date Perl Script Error

Jan Pazdziora jpazdziora at redhat.com
Fri Apr 22 14:43:09 UTC 2011


On Fri, Apr 22, 2011 at 10:17:31AM -0400, Trevor T Kates wrote:
> List:
> 
> Spacewalk Ver: 1.4 RC
> OS Ver: CentOS 5.6
> 
> When kickstarting a machine using a profile created under Spacewalk 1.4 RC, the
> attached perl error is generated by the following perl program:
> 
> perl -npe 's|^(\s*(noSSLS|s)erverURL\s*=\s*[^:]+://)[^/]*/|${1}spacewalk.example.com/|' -i /etc/sysconfig/rhn/up2date
> 
> It appears that the | in the group match (noSSLS|s) has to be escaped for the
> regex to work. If any additional information is needed, please let me know.

Thank you for finding my sloppy coding.

Fixed in master and in the 1.4 branch.

-- 
Jan Pazdziora
Principal Software Engineer, Satellite Engineering, Red Hat




More information about the Spacewalk-list mailing list