Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Dec 2005 04:23:24 +0300
From:      Andrey Chernov <ache@FreeBSD.ORG>
To:        Doug Barton <dougb@FreeBSD.ORG>
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
Message-ID:  <20051203012324.GA34147@nagual.pp.ru>
In-Reply-To: <4390EFB6.3090307@FreeBSD.org>
References:  <200512022006.jB2K67AK078509@repoman.freebsd.org> <20051203004057.GA20872@nagual.pp.ru> <4390EFB6.3090307@FreeBSD.org>

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



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