Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Dec 2005 05:44:19 +0300
From:      Andrey Chernov <ache@FreeBSD.ORG>
To:        Doug Barton <dougb@FreeBSD.ORG>, 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
Message-ID:  <20051203024419.GA36817@nagual.pp.ru>
In-Reply-To: <20051203023304.GA34859@nagual.pp.ru>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051203024419.GA36817>