[csw-maintainers] i.cswinet install script failing

Darin Perusich Darin.Perusich at cognigencorp.com
Tue Jun 15 20:30:39 CEST 2010



On 06/15/2010 02:08 PM, Ben Walton wrote:
> Excerpts from Darin Perusich's message of Tue Jun 15 09:36:44 -0400 2010:
> 
>> Installing class <cswinetd> ...
>> /opt/csw/etc/pkg/CSWamanda/inetd.conf
>> /usr/sadm/install/scripts/i.cswinetd: test: unknown operator ==
>> pkgadd: ERROR: class action script did not complete successfully
> 
> I did slip this in at one point[1], but that was before the release in
> current.  Looking at the current files that went into the package I
> put in experiemental, I see:
> 
> --snip--
> bwalton @ current9x : ~/packages/cswclassutils/trunk/files
> $ grep '==' *
> CSWcswclassutils.README.CSW:================
> CSWcswclassutils.i.cswetcservices:      exists=`awk "\\\$1 ==
> \"$svcname\" && \\\$2 == \"$port_proto\" { print \"found\" }"
> $svcfile`
> CSWcswclassutils.i.cswinetd:  exists=`awk "\\\$1 == \"$svcname\" &&
> \\\$2 ~ /$proto/ {print \"found\"; exit }" /etc/services`
> CSWcswclassutils.i.cswinitsmf:        set -- `/usr/bin/awk " \\\$1 ==
> \"$1\" { print \\\$2 } " "$SMF_STATE_FILE"`
> CSWcswclassutils.i.cswusergroup:    awk 'BEGIN { FS=":"; OFS=":" } $1
> == "'$user'" { $2 = "NP" } { print }' /etc/shadow >
> /etc/shadow.$PKGINST
> 
> --snip--
> 
> That looks good to me...pkgparam CSWcswclassutils ?
> 

The version I grabbed from
http://mirror.opencsw.org/opencsw/experimental/bwalton/ is
cswclassutils-1.35,REV=2010.05.06.



-- 
Darin Perusich
Unix Systems Administrator
Cognigen Corporation
395 Youngs Rd.
Williamsville, NY 14221
Phone: 716-633-3463
Email: darinper at cognigencorp.com


More information about the maintainers mailing list