From owner-freebsd-ports@FreeBSD.ORG Thu Jul 24 14:49:08 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 E080937B401 for ; Thu, 24 Jul 2003 14:49:08 -0700 (PDT) Received: from lakemtao05.cox.net (lakemtao05.cox.net [68.1.17.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0583343F3F for ; Thu, 24 Jul 2003 14:49:06 -0700 (PDT) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([68.103.32.11]) by lakemtao05.cox.net (InterMail vM.5.01.04.05 201-253-122-122-105-20011231) with ESMTP id <20030724214905.KRWT20948.lakemtao05.cox.net@mezz.mezzweb.com>; Thu, 24 Jul 2003 17:49:05 -0400 Date: Thu, 24 Jul 2003 16:48:57 -0500 To: Ryan Thompson Content-Type: text/plain; charset=utf-8; format=flowed References: <20030724151823.T620@stimpy.sasknow.net> From: Jeremy Messenger MIME-Version: 1.0 Message-ID: In-Reply-To: <20030724151823.T620@stimpy.sasknow.net> User-Agent: Opera7.11/Linux M2 build 406 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: Thu, 24 Jul 2003 21:49:09 -0000 On Thu, 24 Jul 2003 15:34:15 -0600 (CST), 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... When, you are doing the upgrade often and you find out that you have 10 lines of 'linux_enable="YES"' in the /etc/rc.conf. You will need to do something different to check if it exists then don't add it. My thought, the ports shouldn't touch the system configure by automatic, unless you are told them to. Cheers, Mezz > Maybe there's a general principle I'm missing... :-) > > - Ryan -- bsdforums.org 's moderator, mezz.