From owner-freebsd-ports@FreeBSD.ORG Mon Dec 26 22:19:55 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org 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 4637D16A41F for ; Mon, 26 Dec 2005 22:19:55 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mail2.fluidhosting.com [204.14.90.12]) by mx1.FreeBSD.org (Postfix) with SMTP id A7BB743D46 for ; Mon, 26 Dec 2005 22:19:54 +0000 (GMT) (envelope-from dougb@FreeBSD.org) Received: (qmail 55344 invoked by uid 399); 26 Dec 2005 22:19:53 -0000 Received: from localhost (HELO ?192.168.1.101?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 26 Dec 2005 22:19:53 -0000 Message-ID: <43B06C88.1050403@FreeBSD.org> Date: Mon, 26 Dec 2005 14:19:52 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 1.5 (X11/20051203) MIME-Version: 1.0 To: RW References: <20051226112327.G68523@lexi.siliconlandmark.com> <200512262101.59895.list-freebsd-2004@morbius.sent.com> In-Reply-To: <200512262101.59895.list-freebsd-2004@morbius.sent.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org Subject: Re: [PATCH] /etc/rc: WARNING: $compat5x_enable is not set properly - see rc.conf(5). X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2005 22:19:55 -0000 RW wrote: > On Monday 26 December 2005 17:14, Andre Guibert de Bruet wrote: >> During startup, I am now seeing the following message: >> /etc/rc: WARNING: $compat5x_enable is not set properly - see rc.conf(5). >> >> I believe this message is saying that the compat5x-i386 package now >> requires a value to be set in the compat5x_enable variable. >> >> I attached a patch that fixes the lack of a default value for this >> variable Lack of a default value is a feature, as it draws attention to the problem, and suggests the correct solution. > Should this not default to "YES"? > > compat5x is a library dependence, why should a library dependence need to be > turned-on in rc.conf? We are actually changing the way that library dependencies are handled, so this will not be an issue going forward. In general, it is bad form for any boot script to enable itself without user interaction. Doug -- This .signature sanitized for your protection