Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Dec 2005 03:40:58 +0300
From:      Andrey Chernov <ache@FreeBSD.ORG>
To:        Doug Barton <dougb@FreeBSD.ORG>
Cc:        cvs-src@FreeBSD.ORG, src-committers@FreeBSD.ORG, cvs-all@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:  <20051203004057.GA20872@nagual.pp.ru>
In-Reply-To: <200512022006.jB2K67AK078509@repoman.freebsd.org>
References:  <200512022006.jB2K67AK078509@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Dec 02, 2005 at 08:06:07PM +0000, Doug Barton wrote:
>   This dramatically changes the behavior of rc.d/localpkg, as
>   all "local" scripts that have the new rc.d semantics are now
>   run in the base rcorder, so only scripts that have not been
>   converted yet will run in rc.d/localpkg.

I don't inspect this changes yet, but please don't forget that even 
converted to rc.d local scripts are not as safe as system ones and must 
run in the subshell to avoid various environment damaging. F.e. apache 
change limits to user www. If it happens in the main rc shell, all 
following scripts will suffer. There are other examples. I remember we 
already hit this problem before, attempting to do similar conversion.

-- 
http://ache.pp.ru/



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