OpenSolaris

Printable Version Enter a New Search
Bug ID 6669832
Synopsis SUNWcsr produces awk errors on upgrade
State 10-Fix Delivered (Fix available in build)
Category:Subcategory database:mysql
Keywords WebRTI:321478
Responsible Engineer Sunanda Menon
Reported Against snv_84
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_86
Fixed In snv_86
Release Fixed solaris_nevada(snv_86)
Related Bugs 6636848 , 6670863
Submit Date 29-February-2008
Last Update Date 28-March-2008
Description
Doing pkgadd of SUNWcsr to /
6588 blocks
awk: syntax error near line 1
awk: bailing out near line 1

Installation of <SUNWcsr> was successful.

This is due to the change for CR 6636848 -- it has an obvious syntax
error in i.group; a missing space between the -F option and the script:

		MYSQLGROUP_LINE="mysql::70:"
                cur_name=`awk -F: '$3 == 70 {print $1}' $dest`
-->             cur_id=`awk -F:'$1 == "mysql" {print $3}' $dest`

That could not have been tested.
Work Around
N/A
Comments
N/A