From owner-freebsd-current@FreeBSD.ORG Sat Jul 31 15:06:05 2004 Return-Path: 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 7F3E816A4CE; Sat, 31 Jul 2004 15:06:05 +0000 (GMT) Received: from nagual.pp.ru (pobrecita.freebsd.ru [194.87.13.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id C491B43D7B; Sat, 31 Jul 2004 15:06:04 +0000 (GMT) (envelope-from ache@pobrecita.freebsd.ru) Received: from pobrecita.freebsd.ru (ache@localhost [127.0.0.1]) by nagual.pp.ru (8.12.11/8.12.11) with ESMTP id i6VF5hoL005739; Sat, 31 Jul 2004 19:05:43 +0400 (MSD) (envelope-from ache@pobrecita.freebsd.ru) Received: (from ache@localhost) by pobrecita.freebsd.ru (8.12.11/8.12.11/Submit) id i6VF5ho7005738; Sat, 31 Jul 2004 19:05:43 +0400 (MSD) (envelope-from ache) Date: Sat, 31 Jul 2004 19:05:42 +0400 From: Andrey Chernov To: Mike Makonnen Message-ID: <20040731150542.GA5612@nagual.pp.ru> Mail-Followup-To: Andrey Chernov , Mike Makonnen , Oliver Eikemeier , freebsd-rc@FreeBSD.ORG, current@FreeBSD.ORG References: <20040731104933.GA1312@rogue.acs-et.com> <03C7D82F-E2F5-11D8-9C56-00039312D914@fillmore-labs.com> <20040731145616.GA14576@rogue.acs-et.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040731145616.GA14576@rogue.acs-et.com> User-Agent: Mutt/1.5.6i X-AntiVirus: checked by AntiVir Milter 1.1-beta; AVE 6.26.0.10; VDF 6.26.0.53 (host: pobrecita.freebsd.ru) cc: freebsd-rc@FreeBSD.ORG cc: current@FreeBSD.ORG cc: Oliver Eikemeier Subject: Re: RFC: Alternate patch to have true new-style rc.d scripts in ports (without touching localpkg) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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, 31 Jul 2004 15:06:05 -0000 On Sat, Jul 31, 2004 at 05:56:16PM +0300, Mike Makonnen wrote: > On Sat, Jul 31, 2004 at 03:24:56PM +0200, Oliver Eikemeier wrote: > > Lets be realistic: Nearly nobody wants his scripts to be sourced in the > > startup shell, especially not in /usr/local/etc/rc.d. People who really > > want to do this are experts that exactly know what they are doing, and > > are not easily confused. > > *sigh* You cannot arbitrarily declare that "nearly nobody wants his > scripts to be sourced in the startup shell". You have no idea of knowing > what a user might want to do with his system and what his level of > expertise is. That argument is against your position. If you have no idea, user (i.e. script) can do _anything_, I mean easily damage startup shell even without evil intentions. You know example - apache13. We need minimal protection, separating base scripts level and ports scripts level, I mean executing them in the subshells. There is rc.local (or a like) to do something with startup shell locally, not from inside ports system. -- Andrey Chernov | http://ache.pp.ru/