From owner-freebsd-current@FreeBSD.ORG Sat Dec 3 01:23:29 2005 Return-Path: X-Original-To: freebsd-current@FreeBSD.ORG 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 30A8216A41F; Sat, 3 Dec 2005 01:23:29 +0000 (GMT) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (nagual.pp.ru [194.87.13.69]) by mx1.FreeBSD.org (Postfix) with ESMTP id A2C1F43D5A; Sat, 3 Dec 2005 01:23:26 +0000 (GMT) (envelope-from ache@nagual.pp.ru) Received: from nagual.pp.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.13.4/8.13.4) with ESMTP id jB31NPcA034275; Sat, 3 Dec 2005 04:23:25 +0300 (MSK) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.13.4/8.13.4/Submit) id jB31NPqI034274; Sat, 3 Dec 2005 04:23:25 +0300 (MSK) (envelope-from ache) Date: Sat, 3 Dec 2005 04:23:24 +0300 From: Andrey Chernov To: Doug Barton Message-ID: <20051203012324.GA34147@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Doug Barton , freebsd-current@FreeBSD.ORG References: <200512022006.jB2K67AK078509@repoman.freebsd.org> <20051203004057.GA20872@nagual.pp.ru> <4390EFB6.3090307@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4390EFB6.3090307@FreeBSD.org> User-Agent: Mutt/1.5.11 Cc: freebsd-current@FreeBSD.ORG Subject: Re: cvs commit: src/etc rc rc.shutdown rc.subr src/etc/rc.d localpkg src/sys/sys param.h X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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, 03 Dec 2005 01:23:29 -0000 On Fri, Dec 02, 2005 at 05:07:02PM -0800, Doug Barton wrote: > Yes, I agree that's a problem. However, it's a problem we have to solve, or > else we can't include local scripts in the base rcorder. As I wrote in my What prevents to include them in the base rcorder AND run in the separate subshell (sort of sandbox) in the same time? Perhaps just few variables need to be added. Typical problem for porter (like me) is not knowing deeps of rc.d subsystem. To be more specific, personally me can't make 'apache13' port do its limits without damaging main rc shell in the same time. If you can, please look 'apache13' port and feel free to fix rc script there. I suspect I am not only one with such problem. Lots of environment things can be damaged not running in the subshell: su, environment variables, limits, etc. etc. What you provide as example is simplest case which cause no problems, but I talk about problem cases, not simplest ones. -- http://ache.pp.ru/