Date: Tue, 3 Aug 2010 20:49:23 GMT From: Noritoshi Demizu <demizu@dd.iij4u.or.jp> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/149250: /etc/rc: WARNING: $wnn_enable is not set properly - see rc.conf(5). Message-ID: <201008032049.o73KnN3h065220@www.freebsd.org> Resent-Message-ID: <201008032050.o73Ko7gH026576@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008032049.o73KnN3h065220>