From owner-freebsd-current@FreeBSD.ORG Sat Dec 3 02:44:23 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 A408D16A41F; Sat, 3 Dec 2005 02:44:23 +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 AED4C43D64; Sat, 3 Dec 2005 02:44:20 +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 jB32iJ66037115; Sat, 3 Dec 2005 05:44:19 +0300 (MSK) (envelope-from ache@nagual.pp.ru) Received: (from ache@localhost) by nagual.pp.ru (8.13.4/8.13.4/Submit) id jB32iJxX037114; Sat, 3 Dec 2005 05:44:19 +0300 (MSK) (envelope-from ache) Date: Sat, 3 Dec 2005 05:44:19 +0300 From: Andrey Chernov To: Doug Barton , freebsd-current@FreeBSD.ORG Message-ID: <20051203024419.GA36817@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> <20051203012324.GA34147@nagual.pp.ru> <4390F9A2.208@FreeBSD.org> <20051203020831.GA34619@nagual.pp.ru> <43910010.2050702@FreeBSD.org> <20051203023304.GA34859@nagual.pp.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051203023304.GA34859@nagual.pp.ru> User-Agent: Mutt/1.5.11 Cc: 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 02:44:23 -0000 On Sat, Dec 03, 2005 at 05:33:04AM +0300, Andrey Chernov wrote: > /usr/bin/limits is the problem there because it change limits for whole > shell, not for command which just invoked. If all scripts runs in the same > shell, all subsequential of them will be affected. It may be not obvious, but it is because of 'eval' way rc.subr likes to execute things. I.e. 'eval limits' happens. -- http://ache.pp.ru/