From owner-freebsd-ports@FreeBSD.ORG Thu Jul 24 17:42:23 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CE7A37B401; Thu, 24 Jul 2003 17:42:23 -0700 (PDT) Received: from ren.sasknow.com (ren.sasknow.com [207.195.92.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1174B43F3F; Thu, 24 Jul 2003 17:42:22 -0700 (PDT) (envelope-from ryan@sasknow.com) Received: from ren (ren [207.195.92.131]) by ren.sasknow.com (8.12.6p2/8.12.6) with ESMTP id h6P0gL1N041491; Thu, 24 Jul 2003 18:42:21 -0600 (CST) (envelope-from ryan@sasknow.com) Date: Thu, 24 Jul 2003 18:42:21 -0600 (CST) From: Ryan Thompson To: "Simon L. Nielsen" In-Reply-To: <20030724214457.GE2349@FreeBSD.org> Message-ID: <20030724183954.N35258-100000@ren.sasknow.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: ports@freebsd.org Subject: Re: rc.conf variables required by ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jul 2003 00:42:23 -0000 Simon L. Nielsen wrote to Ryan Thompson: > On 2003.07.24 15:34:15 -0600, Ryan Thompson wrote: > > > > Hi all, > > > > Installation of the Linux base system is finished. The Linux > > kernel mode, which must be enabled for Linux binaries to run, is > > now enabled. Linux mode can be enabled permanently with the > > linux_enable variable of rc.conf(5). > > > > Since it would be so trivial, is there a good reason why we don't > > automate (echo "linux_enable=\"YES\"" >> /etc/rc.conf), and similar > > additions from other ports? Checking a few other ports, none of them > > that I found do this either... > > > > Maybe there's a general principle I'm missing... :-) > > "Don't mess with peoples config files without asking them" :-) Agreed. :-) > If just the port asks the user, I think it would be OK. Unless > somebody else thinks it is a bad idea, I would suggest making a patch > and submitting it via a PR. I'd certainly be OK with that. I don't think this is applicable for any of my ports, but maybe, if there's consensus that this would be a Good Thing(TM), I'll see what I can do about coming up with a consistent and elegant approach that I can send to the affected maintainers. - Ryan -- Ryan Thompson SaskNow Technologies - http://www.sasknow.com 901-1st Avenue North - Saskatoon, SK - S7K 1Y4 Tel: 306-664-3600 Fax: 306-244-7037 Saskatoon Toll-Free: 877-727-5669 (877-SASKNOW) North America