From owner-freebsd-current@FreeBSD.ORG Sat Jul 24 17:26:48 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 60BC516A4CE; Sat, 24 Jul 2004 17:26:48 +0000 (GMT) Received: from vvs01.agava.net (vvs01.agava.net [195.161.118.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73AE143D39; Sat, 24 Jul 2004 17:26:47 +0000 (GMT) (envelope-from kappa@rambler-co.ru) Received: from [10.3.8.104] (alt2.pss-msk.ru [217.25.84.90]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by vvs01.agava.net (Postfix) with ESMTP id 33E5514409; Sat, 24 Jul 2004 21:26:45 +0400 (MSD) Message-ID: <41029BBC.3090405@rambler-co.ru> Date: Sat, 24 Jul 2004 21:26:20 +0400 From: Alex Kapranoff User-Agent: Mozilla Thunderbird 0.7 (Windows/20040616) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Mike Makonnen References: <20040724150905.GA998@rogue.acs-et.com> In-Reply-To: <20040724150905.GA998@rogue.acs-et.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org cc: freebsd-ports@freebsd.org Subject: Re: HEADS UP: change in ports rc.d script behaviour X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jul 2004 17:26:48 -0000 Mike Makonnen wrote: >20040724: > The rc.d/loclpkg script now "does the right thing" with respect > to ports rc.d scripts. The most disruptive change is that scripts > ending in *.sh are sourced in the same shell as rc.d/localpkg (as > opposed to a subshell) and may cause the script to end prematurely > if a script calls exit. Some broken scripts may not recognize the > 'fast' prefix to a command. The first problem can be fixed by simply > renaming the script so that it doesn't have a '.sh' ending. Another > temporary work-arround is to completely remove the 'PROVIDE' line > from the script. If you notice a broken ports rc.d script please > notify the maintainer. Legacy scripts should not be affected. > __FreeBSD_version bumped to 502124. > > >This update to the rc.d/localpkg attempts to normalize the behaviour >or ports rc.d scripts with that of the base system scripts. This may >break your ports scripts. Please report any breakage to the port's >maintainer so the script can be fixed. > What's the point of this change? What benefits do we get? Sorry for ignorance. I can only see that from now on, if any of the startup scripts terminates abnormally, we'll get a half-started system which in some cases could be extremely hard to repair.