pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/29576: pkgtools/rc.subr breaks on Solaris 9
>Number: 29576
>Category: pkg
>Synopsis: pkgtools/rc.subr breaks on Solaris 9
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Mar 02 14:54:00 +0000 2005
>Originator: Hauke Fath <hf%spg.tu-darmstadt.de@localhost>
>Release: Solaris 9 (SPARC), current pkgsrc
>Organization:
--
/~\ The ASCII Ribbon Campaign Hauke Fath
\ / No HTML/RTF in email Institut für Nachrichtentechnik
X No Word docs in email TU Darmstadt
/ \ Respect for open standards Ruf +49-6151-16-3281
>Environment:
SunOS sunchen 5.9 Generic_112233-12 sun4u sparc SUNW,Ultra-1
>Description:
It appears to be a general trend in pkgsrc to replace a
back-tick evaluation of commands `echo foo` with $(echo
foo). Unfortunately, the SunOS /usr/bin/sh doesn't know the
latter expression. And since rc.subr is only sourced by the
rc.d scripts, there is nothing the script itself can do about
the issue - other than change the $(...)s back to `...`s.
>How-To-Repeat:
Build wip/isc_dhcpd on Solaris 9. Find that its rc.d script
wants rc.subr, install the package, see a
[hf@sunchen] /etc # rc.d/isc_dhcpd start
rc.d/isc_dhcpd: syntax error at line 66: `_osname=$' unexpected
>Fix:
(1) Change the $(...)s back to `...`s.
Or
(2) Make sure that _all_ rc.d scripts installed use
/usr/xpg4/bin/sh on Solaris.
>Unformatted:
Home |
Main Index |
Thread Index |
Old Index