pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/32017



The following reply was made to PR pkg/32017; it has been noted by GNATS.

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



Home | Main Index | Thread Index | Old Index