Subject: Re: pkg/32017
To: None <solaris-pkg-people@netbsd.org, gnats-admin@netbsd.org,>
From: Jonathan Perkin <jonathan@perkin.org.uk>
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 <jonathan@perkin.org.uk>
To: NAKAJI Hiroyuki <nakaji@jp.freebsd.org>
Cc: "Jeremy C. Reed" <reed@reedmedia.net>, wiz@netbsd.org,
	solaris-pkg-people@netbsd.org, gnats-bugs@netbsd.org
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
 http://www.perkin.org.uk/                       http://www.netbsd.org/