From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Aug 3 20:50:07 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E5AB1065677 for ; Tue, 3 Aug 2010 20:50:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 402BF8FC14 for ; Tue, 3 Aug 2010 20:50:07 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o73Ko7jZ026577 for ; Tue, 3 Aug 2010 20:50:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o73Ko7gH026576; Tue, 3 Aug 2010 20:50:07 GMT (envelope-from gnats) Resent-Date: Tue, 3 Aug 2010 20:50:07 GMT Resent-Message-Id: <201008032050.o73Ko7gH026576@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Noritoshi Demizu Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9EF61065675 for ; Tue, 3 Aug 2010 20:49:25 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 3B7878FC14 for ; Tue, 3 Aug 2010 20:49:24 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o73KnNTi065221 for ; Tue, 3 Aug 2010 20:49:23 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o73KnN3h065220; Tue, 3 Aug 2010 20:49:23 GMT (envelope-from nobody) Message-Id: <201008032049.o73KnN3h065220@www.freebsd.org> Date: Tue, 3 Aug 2010 20:49:23 GMT From: Noritoshi Demizu To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/149250: /etc/rc: WARNING: $wnn_enable is not set properly - see rc.conf(5). X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Aug 2010 20:50:07 -0000 >Number: 149250 >Category: ports >Synopsis: /etc/rc: WARNING: $wnn_enable is not set properly - see rc.conf(5). >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Aug 03 20:50:06 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Noritoshi Demizu >Release: FreeBSD 8.1R >Organization: >Environment: FreeBSD lotus 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: I installed ja-FreeWnn-server-1.1.1.a021_8 with some other ports software using sysinstall. After they are installed successfuly, I rebooted the machine without modifying /etc/rc.conf. (I don't remember the reason why I rebooted the machine.) Then, I saw the following message. /etc/rc: WARNING: $wnn_enable is not set properly - see rc.conf(5). After I added wnn_enable="YES" into /etc/rc.conf, the message disappeared. But I think the message should not be shown when wnn_enable is not set in /etc/rc.conf because I think the message makes people confused. >How-To-Repeat: Install ja-FreeWnn-server-1.1.1.a021_8 from ports. Then just reboot the machine. >Fix: The attached patch fixes this problem. Patch attached with submission follows: --- ../wnn-ORG 2010-06-08 01:30:54.000000000 +0900 +++ wnn 2010-08-04 04:31:51.000000000 +0900 @@ -31,4 +31,7 @@ } load_rc_config ${name} + +: ${wnn_enable:=NO} + run_rc_command $1 >Release-Note: >Audit-Trail: >Unformatted: