cvs commit: src/etc rc rc.shutdown rc.subr src/etc/rc.d localpkg src/sys/sys param.h

Andrey Chernov ache at FreeBSD.ORG
Sat Dec 3 00:41:01 GMT 2005


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/


More information about the cvs-src mailing list