Subject: Re: pkg/32017
To: None <,,>
From: Jonathan Perkin <>
List: pkgsrc-bugs
Date: 11/10/2005 10:53:01
The following reply was made to PR pkg/32017; it has been noted by GNATS.

From: Jonathan Perkin <>
To: NAKAJI Hiroyuki <>
Cc: "Jeremy C. Reed" <>,,,
Subject: Re: pkg/32017
Date: Thu, 10 Nov 2005 10:52:09 +0000

 * On 2005-11-10 at 03:31 GMT, NAKAJI Hiroyuki wrote:
 > In addition, rc.subr script in pkgtools/rc.subr seems not compatible
 > with /bin/sh (==/sbin/sh) of Solaris 10 and later, because it is
 > using /bin/ksh (or recent /bin/sh) syntax in some part but Solaris
 > 10 executes /etc/rcN.d/* script with /bin/sh via
 > /lib/svc/bin/lsvcrun.
 > I read a source of lsvcrun in OpenSolaris and found that "/bin/sh"
 > is hard-coded in it.
 ..and via /sbin/rc2 on older Solaris.
 > I made a patch to fix this. Please test it, too.
 I'd much rather we simply installed rc.d stuff on Solaris under
 ${LOCALBASE}/etc/rc.d, which would solve all these issues.  When I
 started work on a similar patch to yours, I seem to remember an awful
 lot more stuff needed patching.
 Jonathan Perkin                                     The NetBSD Project